#508228 is a mid-toned, temperate green. On the Color Lab it reads organic and grounded, with a faded, vintage edge. It carries a legible label as a UI accent and sits well as a supporting tone.
Not just a swatch — here's how #508228 works with other colors. Named schemes with #508228 in its natural role, and a note on why the supporting colors balance it.
Avocado leads this botanical set among foliage greens and a terracotta accent, softened by cream and grounded in bark brown.
Avocado plays the worn-leather lead, deepened by saddle brown and an oxblood anchor, softened by aged cream and cooled by a muted forest green.
Avocado 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.
Avocado sits between cream and a deep berry here, softened by a blush accent and grounded by charcoal.
Avocado 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 Avocado carrying the quiet middle.
How #508228 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 #508228 at work across the surfaces designers actually ship.
:root {
--color-base: #508228;
--color-base-rgb: 80 130 40;
--color-base-oklch: oklch(55.2% 0.132 133.9);
--color-50: #F7FCF3;
--color-100: #E9F6DF;
--color-200: #D4ECC1;
--color-300: #B4DA95;
--color-400: #95C56D;
--color-500: #76A94C;
--color-600: #5E8240;
--color-700: #455D32;
--color-800: #2F3D24;
--color-900: #1E2617;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
avocado: {
50: '#F7FCF3',
100: '#E9F6DF',
200: '#D4ECC1',
300: '#B4DA95',
400: '#95C56D',
500: '#76A94C',
600: '#5E8240',
700: '#455D32',
800: '#2F3D24',
900: '#1E2617',
},
}
$base: #508228; $base-ink: #FFFFFF; $base-50: #F7FCF3; $base-100: #E9F6DF; $base-200: #D4ECC1; $base-300: #B4DA95; $base-400: #95C56D; $base-500: #76A94C; $base-600: #5E8240; $base-700: #455D32; $base-800: #2F3D24; $base-900: #1E2617; $base-hover: #406720; $base-subtle: #CAE0B7;
{
"color": {
"base": {
"value": "#508228",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F7FCF3",
"type": "color"
},
"100": {
"value": "#E9F6DF",
"type": "color"
},
"200": {
"value": "#D4ECC1",
"type": "color"
},
"300": {
"value": "#B4DA95",
"type": "color"
},
"400": {
"value": "#95C56D",
"type": "color"
},
"500": {
"value": "#76A94C",
"type": "color"
},
"600": {
"value": "#5E8240",
"type": "color"
},
"700": {
"value": "#455D32",
"type": "color"
},
"800": {
"value": "#2F3D24",
"type": "color"
},
"900": {
"value": "#1E2617",
"type": "color"
}
}
}
}