#5E7E1E#5E7E1E
#5E7E1E is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.9% C 0.126 H 126.6°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #5E7E1E |
|---|---|
| RGB | rgb(94, 126, 30) |
| HSL | hsl(80, 62%, 31%) |
| HSV | hsv(80, 76%, 49%) |
| CMYK | cmyk(25.4%, 0%, 76.2%, 50.6%) |
| CIE-LAB | lab(48.75, -26.13, 45.51) |
| CIE-LCH | lch(48.75, 52.48, 119.86°) |
| OKLab | oklab(54.94% -0.0753 0.1014) |
| OKLCH | oklch(54.94% 0.126 126.6) |
| XYZ | xyz(12.3113, 17.3949, 3.9370) |
| Luminance | 0.1739 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dirty Green
#667E2C
ΔE00 2.27
Avocado
#568203
ΔE00 2.87
Swamp
#698339
ΔE00 4.11
Olive Green
#677A04
ΔE00 4.23
Mossy Green
#638B27
ΔE00 4.74
Sap Green
#5C8B15
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E7E1E #3E1E7E
analogous
#7E6E1E #5E7E1E #2E7E1E
triadic
#5E7E1E #1E5E7E #7E1E5E
tetradic
#5E7E1E #1E7E6E #3E1E7E #7E1E2E
square
#5E7E1E #1E7E6E #3E1E7E #7E1E2E
split-complementary
#5E7E1E #1E2E7E #6E1E7E
monochromatic
#141B06 #394D12 #5E7E1E #83AF2A #A3D244
Accessibility & contrast
On white
4.69
#5E7E1E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.48
#5E7E1E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E7E1E
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E7E1E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E7E1E | 1.00 | 4.69 | 4.48 | 4.69 |
| #FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#85750A
Deuteranopia (green-blind)
#817327
Tritanopia (blue-blind)
#62786C
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #5e7e1e; /* rgb */ color: rgb(94, 126, 30); /* oklch */ color: oklch(54.9% 0.126 126.6);
Tailwind
colors: {
custom: {
50: '#8fa361',
500: '#5e7e1e',
950: '#000000',
},
}SCSS
$custom: #5e7e1e; $custom-light: #8fa361; $custom-dark: #000000;
JSON
{
"hex": "#5e7e1e",
"rgb": {
"r": 94,
"g": 126,
"b": 30
},
"hsl": {
"h": 80,
"s": 61.538,
"l": 30.588
},
"oklch": {
"l": 0.54936,
"c": 0.12628,
"h": 126.6
},
"luminance": 0.17395
}Semantic roles & 50–950 ramp
primary
#5E7E1E
secondary
#6A47B1
accent
#43E579
background
#F9FAF6
surface
#F1F3EB
border
#CBCDC6
text
#0D0F05
muted
#7E7F7A