#31791C is a mid-toned, temperate green. On the Color Lab it reads organic and grounded. It carries a legible label as a UI accent and sits well as a supporting tone.
Not just a swatch — here's how #31791C works with other colors. Named schemes with #31791C in its natural role, and a note on why the supporting colors balance it.
Green leads this botanical set among foliage greens and a terracotta accent, softened by cream and grounded in bark brown.
Green plays the worn-leather lead, deepened by saddle brown and an oxblood anchor, softened by aged cream and cooled by a muted forest green.
Green anchors this café scheme as the warm mid-tone, lifted by latte cream and a muted sage accent and grounded by espresso brown and a warm charcoal.
Green sits between cream and a deep berry here, softened by a blush accent and grounded by charcoal.
Green is the single accent in this high-contrast editorial system — set on near-white paper against near-black ink, with a warm grey and a desaturated tint of Green carrying the quiet middle.
How #31791C actually behaves in design work — read from its OKLCH lightness, chroma and hue, not just its raw numbers. Ten signals to help you decide where this color earns its place.
Not a swatch to memorise — a color to build with. Here is #31791C at work across the surfaces designers actually ship.
:root {
--color-base: #31791C;
--color-base-rgb: 49 121 28;
--color-base-oklch: oklch(51.1% 0.145 139.7);
--color-50: #F5FDF2;
--color-100: #E3F8DD;
--color-200: #C9EFBD;
--color-300: #A2E090;
--color-400: #7ECC66;
--color-500: #5DB144;
--color-600: #4C873A;
--color-700: #3A602E;
--color-800: #293F22;
--color-900: #1A2716;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
green: {
50: '#F5FDF2',
100: '#E3F8DD',
200: '#C9EFBD',
300: '#A2E090',
400: '#7ECC66',
500: '#5DB144',
600: '#4C873A',
700: '#3A602E',
800: '#293F22',
900: '#1A2716',
},
}
$base: #31791C; $base-ink: #FFFFFF; $base-50: #F5FDF2; $base-100: #E3F8DD; $base-200: #C9EFBD; $base-300: #A2E090; $base-400: #7ECC66; $base-500: #5DB144; $base-600: #4C873A; $base-700: #3A602E; $base-800: #293F22; $base-900: #1A2716; $base-hover: #286016; $base-subtle: #BBE2AF;
{
"color": {
"base": {
"value": "#31791C",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F5FDF2",
"type": "color"
},
"100": {
"value": "#E3F8DD",
"type": "color"
},
"200": {
"value": "#C9EFBD",
"type": "color"
},
"300": {
"value": "#A2E090",
"type": "color"
},
"400": {
"value": "#7ECC66",
"type": "color"
},
"500": {
"value": "#5DB144",
"type": "color"
},
"600": {
"value": "#4C873A",
"type": "color"
},
"700": {
"value": "#3A602E",
"type": "color"
},
"800": {
"value": "#293F22",
"type": "color"
},
"900": {
"value": "#1A2716",
"type": "color"
}
}
}
}