#5B7919#5B7919
#5B7919 is a mid, vivid yellow-green. Relative luminance 0.160; OKLCH L 53.4% C 0.124 H 126.0°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #5B7919 |
|---|---|
| RGB | rgb(91, 121, 25) |
| HSL | hsl(79, 66%, 29%) |
| HSV | hsv(79, 79%, 47%) |
| CMYK | cmyk(24.8%, 0%, 79.3%, 52.5%) |
| CIE-LAB | lab(46.93, -25.21, 45.50) |
| CIE-LCH | lch(46.93, 52.01, 118.99°) |
| OKLab | oklab(53.4% -0.073 0.1006) |
| OKLCH | oklch(53.4% 0.124 126) |
| XYZ | xyz(11.3273, 15.9689, 3.4050) |
| Luminance | 0.1597 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dirty Green
#667E2C
ΔE00 3.11
Olive Green
#677A04
ΔE00 3.93
Avocado
#568203
ΔE00 3.95
Murky Green
#6C7A0E
ΔE00 4.80
Muddy Green
#657432
ΔE00 4.98
Swamp
#698339
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B7919 #371979
analogous
#796719 #5B7919 #2B7919
triadic
#5B7919 #195B79 #79195B
tetradic
#5B7919 #197967 #371979 #79192B
square
#5B7919 #197967 #371979 #79192B
split-complementary
#5B7919 #192B79 #671979
monochromatic
#131905 #35460F #5B7919 #81AC23 #A4D637
Accessibility & contrast
On white
5.01
#5B7919 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#5B7919 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B7919
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B7919 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B7919 | 1.00 | 5.01 | 4.19 | 5.01 |
| #FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807002
Deuteranopia (green-blind)
#7C6F22
Tritanopia (blue-blind)
#5F7367
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #5b7919; /* rgb */ color: rgb(91, 121, 25); /* oklch */ color: oklch(53.4% 0.124 126.0);
Tailwind
colors: {
custom: {
50: '#8d9f5e',
500: '#5b7919',
950: '#000000',
},
}SCSS
$custom: #5b7919; $custom-light: #8d9f5e; $custom-dark: #000000;
JSON
{
"hex": "#5b7919",
"rgb": {
"r": 91,
"g": 121,
"b": 25
},
"hsl": {
"h": 78.75,
"s": 65.753,
"l": 28.627
},
"oklch": {
"l": 0.53399,
"c": 0.12428,
"h": 126
},
"luminance": 0.15969
}Semantic roles & 50–950 ramp
primary
#5B7919
secondary
#6240AE
accent
#3FE974
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E05
muted
#7D7E79