#5B7E16#5B7E16
#5B7E16 is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.7% C 0.132 H 127.3°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #5B7E16 |
|---|---|
| RGB | rgb(91, 126, 22) |
| HSL | hsl(80, 70%, 29%) |
| HSV | hsv(80, 83%, 49%) |
| CMYK | cmyk(27.8%, 0%, 82.5%, 50.6%) |
| CIE-LAB | lab(48.52, -27.81, 47.94) |
| CIE-LCH | lch(48.52, 55.42, 120.12°) |
| OKLab | oklab(54.68% -0.0803 0.1052) |
| OKLCH | oklch(54.68% 0.132 127.3) |
| XYZ | xyz(11.9201, 17.2035, 3.4515) |
| Luminance | 0.1720 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 2.14
Dirty Green
#667E2C
ΔE00 3.15
Olive Green
#677A04
ΔE00 4.25
Sap Green
#5C8B15
ΔE00 4.77
Mossy Green
#638B27
ΔE00 4.87
Swamp
#698339
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B7E16 #39167E
analogous
#7E6D16 #5B7E16 #277E16
triadic
#5B7E16 #165B7E #7E165B
tetradic
#5B7E16 #167E6D #39167E #7E1627
square
#5B7E16 #167E6D #39167E #7E1627
split-complementary
#5B7E16 #16277E #6D167E
monochromatic
#131A05 #354A0D #5B7E16 #81B21F #A3DB33
Accessibility & contrast
On white
4.73
#5B7E16 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.44
#5B7E16 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B7E16
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B7E16 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B7E16 | 1.00 | 4.73 | 4.44 | 4.73 |
| #FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#807321
Tritanopia (blue-blind)
#5F786B
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #5b7e16; /* rgb */ color: rgb(91, 126, 22); /* oklch */ color: oklch(54.7% 0.132 127.3);
Tailwind
colors: {
custom: {
50: '#8da35e',
500: '#5b7e16',
950: '#000000',
},
}SCSS
$custom: #5b7e16; $custom-light: #8da35e; $custom-dark: #000000;
JSON
{
"hex": "#5b7e16",
"rgb": {
"r": 91,
"g": 126,
"b": 22
},
"hsl": {
"h": 80.192,
"s": 70.27,
"l": 29.02
},
"oklch": {
"l": 0.54678,
"c": 0.13236,
"h": 127.3
},
"luminance": 0.17204
}Semantic roles & 50–950 ramp
primary
#5B7E16
secondary
#653DB3
accent
#3BED77
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0D0F05
muted
#7D7F79