#5B7F16#5B7F16
#5B7F16 is a mid, vivid yellow-green. Relative luminance 0.175; OKLCH L 54.9% C 0.134 H 127.6°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #5B7F16 |
|---|---|
| RGB | rgb(91, 127, 22) |
| HSL | hsl(81, 70%, 29%) |
| HSV | hsv(81, 83%, 50%) |
| CMYK | cmyk(28.3%, 0%, 82.7%, 50.2%) |
| CIE-LAB | lab(48.84, -28.29, 48.23) |
| CIE-LCH | lch(48.84, 55.91, 120.40°) |
| OKLab | oklab(54.94% -0.0816 0.1058) |
| OKLCH | oklch(54.94% 0.134 127.6) |
| XYZ | xyz(12.0486, 17.4605, 3.4943) |
| Luminance | 0.1746 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 1.86
Dirty Green
#667E2C
ΔE00 3.25
Sap Green
#5C8B15
ΔE00 4.39
Olive Green
#677A04
ΔE00 4.44
Mossy Green
#638B27
ΔE00 4.53
Swamp
#698339
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B7F16 #3A167F
analogous
#7F6F16 #5B7F16 #277F16
triadic
#5B7F16 #165B7F #7F165B
tetradic
#5B7F16 #167F6F #3A167F #7F1627
square
#5B7F16 #167F6F #3A167F #7F1627
split-complementary
#5B7F16 #16277F #6F167F
monochromatic
#131A05 #364B0D #5B7F16 #80B31F #A2DC34
Accessibility & contrast
On white
4.67
#5B7F16 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.49
#5B7F16 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B7F16
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B7F16 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B7F16 | 1.00 | 4.67 | 4.49 | 4.67 |
| #FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#817322
Tritanopia (blue-blind)
#5F796C
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #5b7f16; /* rgb */ color: rgb(91, 127, 22); /* oklch */ color: oklch(54.9% 0.134 127.6);
Tailwind
colors: {
custom: {
50: '#8da45e',
500: '#5b7f16',
950: '#000000',
},
}SCSS
$custom: #5b7f16; $custom-light: #8da45e; $custom-dark: #000000;
JSON
{
"hex": "#5b7f16",
"rgb": {
"r": 91,
"g": 127,
"b": 22
},
"hsl": {
"h": 80.571,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.54938,
"c": 0.13363,
"h": 127.6
},
"luminance": 0.17461
}Semantic roles & 50–950 ramp
primary
#5B7F16
secondary
#663DB4
accent
#3BED78
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0D0F05
muted
#7D7F79