#5E7F1F#5E7F1F
#5E7F1F is a mid, vivid yellow-green. Relative luminance 0.177; OKLCH L 55.2% C 0.127 H 127.0°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #5E7F1F |
|---|---|
| RGB | rgb(94, 127, 31) |
| HSL | hsl(81, 61%, 31%) |
| HSV | hsv(81, 76%, 50%) |
| CMYK | cmyk(26%, 0%, 75.6%, 50.2%) |
| CIE-LAB | lab(49.08, -26.56, 45.45) |
| CIE-LCH | lch(49.08, 52.64, 120.30°) |
| OKLab | oklab(55.2% -0.0763 0.1015) |
| OKLCH | oklch(55.2% 0.127 127) |
| XYZ | xyz(12.4528, 17.6571, 4.0481) |
| Luminance | 0.1766 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dirty Green
#667E2C
ΔE00 2.32
Avocado
#568203
ΔE00 2.71
Swamp
#698339
ΔE00 3.94
Mossy Green
#638B27
ΔE00 4.36
Olive Green
#677A04
ΔE00 4.50
Sap Green
#5C8B15
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E7F1F #401F7F
analogous
#7F701F #5E7F1F #2E7F1F
triadic
#5E7F1F #1F5E7F #7F1F5E
tetradic
#5E7F1F #1F7F70 #401F7F #7F1F2E
square
#5E7F1F #1F7F70 #401F7F #7F1F2E
split-complementary
#5E7F1F #1F2E7F #701F7F
monochromatic
#151D07 #3A4E13 #5E7F1F #82B02B #A2D246
Accessibility & contrast
On white
4.63
#5E7F1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.53
#5E7F1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #5E7F1F
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E7F1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E7F1F | 1.00 | 4.63 | 4.53 | 4.63 |
| #FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#86760C
Deuteranopia (green-blind)
#817428
Tritanopia (blue-blind)
#62796C
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #5e7f1f; /* rgb */ color: rgb(94, 127, 31); /* oklch */ color: oklch(55.2% 0.127 127.0);
Tailwind
colors: {
custom: {
50: '#8fa462',
500: '#5e7f1f',
950: '#000000',
},
}SCSS
$custom: #5e7f1f; $custom-light: #8fa462; $custom-dark: #000000;
JSON
{
"hex": "#5e7f1f",
"rgb": {
"r": 94,
"g": 127,
"b": 31
},
"hsl": {
"h": 80.625,
"s": 60.759,
"l": 30.98
},
"oklch": {
"l": 0.55201,
"c": 0.12697,
"h": 127
},
"luminance": 0.17657
}Semantic roles & 50–950 ramp
primary
#5E7F1F
secondary
#6C48B2
accent
#44E47B
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F05
muted
#7E7F7A