#5E7D1F#5E7D1F
#5E7D1F is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.7% C 0.124 H 126.3°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #5E7D1F |
|---|---|
| RGB | rgb(94, 125, 31) |
| HSL | hsl(80, 60%, 31%) |
| HSV | hsv(80, 75%, 49%) |
| CMYK | cmyk(24.8%, 0%, 75.2%, 51%) |
| CIE-LAB | lab(48.44, -25.57, 44.83) |
| CIE-LCH | lch(48.44, 51.61, 119.70°) |
| OKLab | oklab(54.69% -0.0737 0.1001) |
| OKLCH | oklch(54.69% 0.124 126.3) |
| XYZ | xyz(12.1971, 17.1456, 3.9629) |
| Luminance | 0.1715 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dirty Green
#667E2C
ΔE00 2.13
Avocado
#568203
ΔE00 3.21
Swamp
#698339
ΔE00 4.13
Olive Green
#677A04
ΔE00 4.17
Murky Green
#6C7A0E
ΔE00 4.92
Mossy Green
#638B27
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E7D1F #3E1F7D
analogous
#7D6D1F #5E7D1F #2F7D1F
triadic
#5E7D1F #1F5E7D #7D1F5E
tetradic
#5E7D1F #1F7D6D #3E1F7D #7D1F2F
square
#5E7D1F #1F7D6D #3E1F7D #7D1F2F
split-complementary
#5E7D1F #1F2F7D #6D1F7D
monochromatic
#141B07 #394C13 #5E7D1F #83AE2B #A3D145
Accessibility & contrast
On white
4.74
#5E7D1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#5E7D1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E7D1F
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E7D1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E7D1F | 1.00 | 4.74 | 4.43 | 4.74 |
| #FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#84740D
Deuteranopia (green-blind)
#807328
Tritanopia (blue-blind)
#62776B
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #5e7d1f; /* rgb */ color: rgb(94, 125, 31); /* oklch */ color: oklch(54.7% 0.124 126.3);
Tailwind
colors: {
custom: {
50: '#8fa262',
500: '#5e7d1f',
950: '#000000',
},
}SCSS
$custom: #5e7d1f; $custom-light: #8fa262; $custom-dark: #000000;
JSON
{
"hex": "#5e7d1f",
"rgb": {
"r": 94,
"g": 125,
"b": 31
},
"hsl": {
"h": 79.787,
"s": 60.256,
"l": 30.588
},
"oklch": {
"l": 0.54686,
"c": 0.12431,
"h": 126.3
},
"luminance": 0.17146
}Semantic roles & 50–950 ramp
primary
#5E7D1F
secondary
#6A48B0
accent
#44E379
background
#F9FAF6
surface
#F1F3EB
border
#CBCDC6
text
#0D0F05
muted
#7E7F7A