#5C8D2D#5C8D2D
#5C8D2D is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 58.8% C 0.137 H 132.5°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #5C8D2D |
|---|---|
| RGB | rgb(92, 141, 45) |
| HSL | hsl(91, 52%, 36%) |
| HSV | hsv(91, 68%, 55%) |
| CMYK | cmyk(34.8%, 0%, 68.1%, 44.7%) |
| CIE-LAB | lab(53.51, -32.98, 44.26) |
| CIE-LCH | lch(53.51, 55.20, 126.69°) |
| OKLab | oklab(58.8% -0.0925 0.1011) |
| OKLCH | oklch(58.8% 0.137 132.5) |
| XYZ | xyz(14.4120, 21.5140, 5.8754) |
| Luminance | 0.2152 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Mossy Green
#638B27
ΔE00 2.02
Moss Green (survey)
#658B38
ΔE00 2.29
Sap Green
#5C8B15
ΔE00 2.78
Olivedrab
#6B8E23
ΔE00 3.74
Fern Green
#548D44
ΔE00 4.63
Avocado
#568203
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C8D2D #5E2D8D
analogous
#8C8D2D #5C8D2D #2D8D2E
triadic
#5C8D2D #2D5C8D #8D2D5C
tetradic
#5C8D2D #2D8C8D #5E2D8D #8D2E2D
square
#5C8D2D #2D8C8D #5E2D8D #8D2E2D
split-complementary
#5C8D2D #2E2D8D #8D2D8C
monochromatic
#1F300F #3E5F1E #5C8D2D #7ABB3C #99CE66
Accessibility & contrast
On white
3.96
#5C8D2D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.30
#5C8D2D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5C8D2D
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C8D2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5C8D2D | 1.00 | 3.96 | 5.30 | 5.30 |
| #FFFFFF | 3.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938220
Deuteranopia (green-blind)
#8C7E35
Tritanopia (blue-blind)
#5D8779
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #5c8d2d; /* rgb */ color: rgb(92, 141, 45); /* oklch */ color: oklch(58.8% 0.137 132.5);
Tailwind
colors: {
custom: {
50: '#8eae6b',
500: '#5c8d2d',
950: '#000000',
},
}SCSS
$custom: #5c8d2d; $custom-light: #8eae6b; $custom-dark: #000000;
JSON
{
"hex": "#5c8d2d",
"rgb": {
"r": 92,
"g": 141,
"b": 45
},
"hsl": {
"h": 90.625,
"s": 51.613,
"l": 36.471
},
"oklch": {
"l": 0.58805,
"c": 0.13708,
"h": 132.5
},
"luminance": 0.21515
}Semantic roles & 50–950 ramp
primary
#5C8D2D
secondary
#8C61B5
accent
#4DDB95
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0D1007
muted
#7D7F7A