#5B7B14#5B7B14
#5B7B14 is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.9% C 0.129 H 126.3°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #5B7B14 |
|---|---|
| RGB | rgb(91, 123, 20) |
| HSL | hsl(79, 72%, 28%) |
| HSV | hsv(79, 84%, 48%) |
| CMYK | cmyk(26%, 0%, 83.7%, 51.8%) |
| CIE-LAB | lab(47.55, -26.44, 47.66) |
| CIE-LCH | lch(47.55, 54.51, 119.02°) |
| OKLab | oklab(53.89% -0.0767 0.1043) |
| OKLCH | oklch(53.89% 0.129 126.3) |
| XYZ | xyz(11.5237, 16.4404, 3.2279) |
| Luminance | 0.1644 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 3.07
Dirty Green
#667E2C
ΔE00 3.23
Olive Green
#677A04
ΔE00 3.70
Murky Green
#6C7A0E
ΔE00 4.69
Swamp
#698339
ΔE00 5.40
Poop Green
#6F7C00
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B7B14 #34147B
analogous
#7B6714 #5B7B14 #277B14
triadic
#5B7B14 #145B7B #7B145B
tetradic
#5B7B14 #147B67 #34147B #7B1427
square
#5B7B14 #147B67 #34147B #7B1427
split-complementary
#5B7B14 #14277B #67147B
monochromatic
#131A04 #34460B #5B7B14 #82B01D #A6DD2D
Accessibility & contrast
On white
4.90
#5B7B14 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#5B7B14 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B7B14
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B7B14 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B7B14 | 1.00 | 4.90 | 4.29 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#7E701F
Tritanopia (blue-blind)
#5F7568
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #5b7b14; /* rgb */ color: rgb(91, 123, 20); /* oklch */ color: oklch(53.9% 0.129 126.3);
Tailwind
colors: {
custom: {
50: '#8da15c',
500: '#5b7b14',
950: '#000000',
},
}SCSS
$custom: #5b7b14; $custom-light: #8da15c; $custom-dark: #000000;
JSON
{
"hex": "#5b7b14",
"rgb": {
"r": 91,
"g": 123,
"b": 20
},
"hsl": {
"h": 78.641,
"s": 72.028,
"l": 28.039
},
"oklch": {
"l": 0.53889,
"c": 0.12948,
"h": 126.3
},
"luminance": 0.16441
}Semantic roles & 50–950 ramp
primary
#5B7B14
secondary
#5F3AB1
accent
#39EF72
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0D0F04
muted
#7D7E79