#5E7E1F#5E7E1F
#5E7E1F is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.9% C 0.126 H 126.7°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #5E7E1F |
|---|---|
| RGB | rgb(94, 126, 31) |
| HSL | hsl(80, 61%, 31%) |
| HSV | hsv(80, 75%, 49%) |
| CMYK | cmyk(25.4%, 0%, 75.4%, 50.6%) |
| CIE-LAB | lab(48.76, -26.07, 45.14) |
| CIE-LCH | lch(48.76, 52.13, 120.00°) |
| OKLab | oklab(54.94% -0.075 0.1008) |
| OKLCH | oklch(54.94% 0.126 126.7) |
| XYZ | xyz(12.3243, 17.4001, 4.0053) |
| Luminance | 0.1740 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dirty Green
#667E2C
ΔE00 2.20
Avocado
#568203
ΔE00 2.95
Swamp
#698339
ΔE00 4.02
Olive Green
#677A04
ΔE00 4.32
Mossy Green
#638B27
ΔE00 4.73
Sap Green
#5C8B15
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E7E1F #3F1F7E
analogous
#7E6E1F #5E7E1F #2E7E1F
triadic
#5E7E1F #1F5E7E #7E1F5E
tetradic
#5E7E1F #1F7E6E #3F1F7E #7E1F2E
square
#5E7E1F #1F7E6E #3F1F7E #7E1F2E
split-complementary
#5E7E1F #1F2E7E #6E1F7E
monochromatic
#151C07 #394D13 #5E7E1F #83AF2B #A2D146
Accessibility & contrast
On white
4.69
#5E7E1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.48
#5E7E1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E7E1F
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E7E1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E7E1F | 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)
#85750D
Deuteranopia (green-blind)
#807328
Tritanopia (blue-blind)
#62786C
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #5e7e1f; /* rgb */ color: rgb(94, 126, 31); /* oklch */ color: oklch(54.9% 0.126 126.7);
Tailwind
colors: {
custom: {
50: '#8fa362',
500: '#5e7e1f',
950: '#000000',
},
}SCSS
$custom: #5e7e1f; $custom-light: #8fa362; $custom-dark: #000000;
JSON
{
"hex": "#5e7e1f",
"rgb": {
"r": 94,
"g": 126,
"b": 31
},
"hsl": {
"h": 80.211,
"s": 60.51,
"l": 30.784
},
"oklch": {
"l": 0.54944,
"c": 0.12565,
"h": 126.7
},
"luminance": 0.174
}Semantic roles & 50–950 ramp
primary
#5E7E1F
secondary
#6B48B1
accent
#44E47A
background
#F9FAF6
surface
#F1F3EB
border
#CBCDC6
text
#0D0F05
muted
#7E7F7A