#5D7D1E#5D7D1E
#5D7D1E is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.6% C 0.125 H 126.7°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #5D7D1E |
|---|---|
| RGB | rgb(93, 125, 30) |
| HSL | hsl(80, 61%, 30%) |
| HSV | hsv(80, 76%, 49%) |
| CMYK | cmyk(25.6%, 0%, 76%, 51%) |
| CIE-LAB | lab(48.37, -26.06, 45.11) |
| CIE-LCH | lch(48.37, 52.10, 120.01°) |
| OKLab | oklab(54.61% -0.075 0.1006) |
| OKLCH | oklch(54.61% 0.125 126.7) |
| XYZ | xyz(12.0822, 17.0879, 3.8898) |
| Luminance | 0.1709 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dirty Green
#667E2C
ΔE00 2.34
Avocado
#568203
ΔE00 3.07
Swamp
#698339
ΔE00 4.27
Olive Green
#677A04
ΔE00 4.28
Murky Green
#6C7A0E
ΔE00 5.06
Mossy Green
#638B27
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D7D1E #3E1E7D
analogous
#7D6E1E #5D7D1E #2D7D1E
triadic
#5D7D1E #1E5D7D #7D1E5D
tetradic
#5D7D1E #1E7D6E #3E1E7D #7D1E2D
square
#5D7D1E #1E7D6E #3E1E7D #7D1E2D
split-complementary
#5D7D1E #1E2D7D #6E1E7D
monochromatic
#141A06 #384C12 #5D7D1E #82AE2A #A2D243
Accessibility & contrast
On white
4.75
#5D7D1E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#5D7D1E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D7D1E
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D7D1E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D7D1E | 1.00 | 4.75 | 4.42 | 4.75 |
| #FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#84740B
Deuteranopia (green-blind)
#7F7227
Tritanopia (blue-blind)
#61776B
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #5d7d1e; /* rgb */ color: rgb(93, 125, 30); /* oklch */ color: oklch(54.6% 0.125 126.7);
Tailwind
colors: {
custom: {
50: '#8ea261',
500: '#5d7d1e',
950: '#000000',
},
}SCSS
$custom: #5d7d1e; $custom-light: #8ea261; $custom-dark: #000000;
JSON
{
"hex": "#5d7d1e",
"rgb": {
"r": 93,
"g": 125,
"b": 30
},
"hsl": {
"h": 80.211,
"s": 61.29,
"l": 30.392
},
"oklch": {
"l": 0.54608,
"c": 0.12548,
"h": 126.7
},
"luminance": 0.17088
}Semantic roles & 50–950 ramp
primary
#5D7D1E
secondary
#6A46B0
accent
#43E47A
background
#F9FAF6
surface
#F1F3EB
border
#CBCDC6
text
#0D0F05
muted
#7E7F7A