#5B7D1E#5B7D1E
#5B7D1E is a mid, vivid yellow-green. Relative luminance 0.170; OKLCH L 54.5% C 0.127 H 127.6°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #5B7D1E |
|---|---|
| RGB | rgb(91, 125, 30) |
| HSL | hsl(81, 61%, 30%) |
| HSV | hsv(81, 76%, 49%) |
| CMYK | cmyk(27.2%, 0%, 76%, 51%) |
| CIE-LAB | lab(48.24, -26.89, 44.94) |
| CIE-LCH | lch(48.24, 52.37, 120.89°) |
| OKLab | oklab(54.47% -0.0771 0.1003) |
| OKLCH | oklch(54.47% 0.127 127.6) |
| XYZ | xyz(11.8824, 16.9849, 3.8804) |
| Luminance | 0.1699 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dirty Green
#667E2C
ΔE00 2.64
Avocado
#568203
ΔE00 2.96
Swamp
#698339
ΔE00 4.40
Olive Green
#677A04
ΔE00 4.68
Mossy Green
#638B27
ΔE00 5.13
Sap Green
#5C8B15
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B7D1E #401E7D
analogous
#7D6F1E #5B7D1E #2B7D1E
triadic
#5B7D1E #1E5B7D #7D1E5B
tetradic
#5B7D1E #1E7D6F #401E7D #7D1E2B
square
#5B7D1E #1E7D6F #401E7D #7D1E2B
split-complementary
#5B7D1E #1E2B7D #6F1E7D
monochromatic
#131A06 #374C12 #5B7D1E #7FAE2A #9FD243
Accessibility & contrast
On white
4.78
#5B7D1E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.40
#5B7D1E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B7D1E
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B7D1E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B7D1E | 1.00 | 4.78 | 4.40 | 4.78 |
| #FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#84740B
Deuteranopia (green-blind)
#7F7227
Tritanopia (blue-blind)
#5F776B
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #5b7d1e; /* rgb */ color: rgb(91, 125, 30); /* oklch */ color: oklch(54.5% 0.127 127.6);
Tailwind
colors: {
custom: {
50: '#8da261',
500: '#5b7d1e',
950: '#000000',
},
}SCSS
$custom: #5b7d1e; $custom-light: #8da261; $custom-dark: #000000;
JSON
{
"hex": "#5b7d1e",
"rgb": {
"r": 91,
"g": 125,
"b": 30
},
"hsl": {
"h": 81.474,
"s": 61.29,
"l": 30.392
},
"oklch": {
"l": 0.54469,
"c": 0.12653,
"h": 127.6
},
"luminance": 0.16985
}Semantic roles & 50–950 ramp
primary
#5B7D1E
secondary
#6C46B0
accent
#43E47D
background
#F8FAF6
surface
#F0F3EB
border
#CBCDC6
text
#0C0F05
muted
#7D7F7A