#5D8D2D#5D8D2D
#5D8D2D is a mid, vivid yellow-green. Relative luminance 0.216; OKLCH L 58.9% C 0.137 H 132.1°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #5D8D2D |
|---|---|
| RGB | rgb(93, 141, 45) |
| HSL | hsl(90, 52%, 36%) |
| HSV | hsv(90, 68%, 55%) |
| CMYK | cmyk(34%, 0%, 68.1%, 44.7%) |
| CIE-LAB | lab(53.56, -32.60, 44.34) |
| CIE-LCH | lch(53.56, 55.03, 126.32°) |
| OKLab | oklab(58.87% -0.0916 0.1013) |
| OKLCH | oklch(58.87% 0.137 132.1) |
| XYZ | xyz(14.5125, 21.5658, 5.8801) |
| Luminance | 0.2157 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Mossy Green
#638B27
ΔE00 1.85
Moss Green (survey)
#658B38
ΔE00 2.19
Sap Green
#5C8B15
ΔE00 2.71
Olivedrab
#6B8E23
ΔE00 3.56
Fern Green
#548D44
ΔE00 4.75
Swamp
#698339
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D8D2D #5D2D8D
analogous
#8D8D2D #5D8D2D #2D8D2D
triadic
#5D8D2D #2D5D8D #8D2D5D
tetradic
#5D8D2D #2D8D8D #5D2D8D #8D2D2D
square
#5D8D2D #2D8D8D #5D2D8D #8D2D2D
split-complementary
#5D8D2D #2D2D8D #8D2D8D
monochromatic
#20300F #3E5F1E #5D8D2D #7CBB3C #9ACE66
Accessibility & contrast
On white
3.95
#5D8D2D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.31
#5D8D2D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5D8D2D
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D8D2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5D8D2D | 1.00 | 3.95 | 5.31 | 5.31 |
| #FFFFFF | 3.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938220
Deuteranopia (green-blind)
#8C7F35
Tritanopia (blue-blind)
#5E8779
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #5d8d2d; /* rgb */ color: rgb(93, 141, 45); /* oklch */ color: oklch(58.9% 0.137 132.1);
Tailwind
colors: {
custom: {
50: '#8fae6b',
500: '#5d8d2d',
950: '#000000',
},
}SCSS
$custom: #5d8d2d; $custom-light: #8fae6b; $custom-dark: #000000;
JSON
{
"hex": "#5d8d2d",
"rgb": {
"r": 93,
"g": 141,
"b": 45
},
"hsl": {
"h": 90,
"s": 51.613,
"l": 36.471
},
"oklch": {
"l": 0.58865,
"c": 0.13654,
"h": 132.1
},
"luminance": 0.21566
}Semantic roles & 50–950 ramp
primary
#5D8D2D
secondary
#8B61B5
accent
#4DDB94
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1007
muted
#7E7F7A