#5E7B1A#5E7B1A
#5E7B1A is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 54.1% C 0.125 H 125.3°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #5E7B1A |
|---|---|
| RGB | rgb(94, 123, 26) |
| HSL | hsl(78, 65%, 29%) |
| HSV | hsv(78, 79%, 48%) |
| CMYK | cmyk(23.6%, 0%, 78.9%, 51.8%) |
| CIE-LAB | lab(47.78, -24.87, 46.02) |
| CIE-LCH | lch(47.78, 52.31, 118.39°) |
| OKLab | oklab(54.14% -0.0722 0.1018) |
| OKLCH | oklch(54.14% 0.125 125.3) |
| XYZ | xyz(11.8856, 16.6200, 3.5589) |
| Luminance | 0.1662 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dirty Green
#667E2C
ΔE00 2.56
Olive Green
#677A04
ΔE00 3.48
Avocado
#568203
ΔE00 3.55
Murky Green
#6C7A0E
ΔE00 4.31
Swamp
#698339
ΔE00 4.86
Muddy Green
#657432
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E7B1A #371A7B
analogous
#7B681A #5E7B1A #2E7B1A
triadic
#5E7B1A #1A5E7B #7B1A5E
tetradic
#5E7B1A #1A7B68 #371A7B #7B1A2E
square
#5E7B1A #1A7B68 #371A7B #7B1A2E
split-complementary
#5E7B1A #1A2E7B #681A7B
monochromatic
#131905 #37480F #5E7B1A #85AE25 #A7D53A
Accessibility & contrast
On white
4.86
#5E7B1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#5E7B1A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E7B1A
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E7B1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E7B1A | 1.00 | 4.86 | 4.32 | 4.86 |
| #FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827203
Deuteranopia (green-blind)
#7E7123
Tritanopia (blue-blind)
#637569
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #5e7b1a; /* rgb */ color: rgb(94, 123, 26); /* oklch */ color: oklch(54.1% 0.125 125.3);
Tailwind
colors: {
custom: {
50: '#8fa15f',
500: '#5e7b1a',
950: '#000000',
},
}SCSS
$custom: #5e7b1a; $custom-light: #8fa15f; $custom-dark: #000000;
JSON
{
"hex": "#5e7b1a",
"rgb": {
"r": 94,
"g": 123,
"b": 26
},
"hsl": {
"h": 77.938,
"s": 65.101,
"l": 29.216
},
"oklch": {
"l": 0.54137,
"c": 0.12476,
"h": 125.3
},
"luminance": 0.1662
}Semantic roles & 50–950 ramp
primary
#5E7B1A
secondary
#6242AF
accent
#40E872
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0F05
muted
#7E7E79