#5B7C1A#5B7C1A
#5B7C1A is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 54.2% C 0.128 H 127.0°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #5B7C1A |
|---|---|
| RGB | rgb(91, 124, 26) |
| HSL | hsl(80, 65%, 29%) |
| HSV | hsv(80, 79%, 49%) |
| CMYK | cmyk(26.6%, 0%, 79%, 51.4%) |
| CIE-LAB | lab(47.90, -26.63, 46.06) |
| CIE-LCH | lch(47.90, 53.20, 120.04°) |
| OKLab | oklab(54.18% -0.0768 0.102) |
| OKLCH | oklch(54.18% 0.128 127) |
| XYZ | xyz(11.7085, 16.7138, 3.5863) |
| Luminance | 0.1671 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dirty Green
#667E2C
ΔE00 2.84
Avocado
#568203
ΔE00 2.98
Olive Green
#677A04
ΔE00 4.22
Swamp
#698339
ΔE00 4.83
Murky Green
#6C7A0E
ΔE00 5.11
Mossy Green
#638B27
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B7C1A #3B1A7C
analogous
#7C6C1A #5B7C1A #2A7C1A
triadic
#5B7C1A #1A5B7C #7C1A5B
tetradic
#5B7C1A #1A7C6C #3B1A7C #7C1A2A
square
#5B7C1A #1A7C6C #3B1A7C #7C1A2A
split-complementary
#5B7C1A #1A2A7C #6C1A7C
monochromatic
#131905 #36490F #5B7C1A #80AF25 #A2D63B
Accessibility & contrast
On white
4.84
#5B7C1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#5B7C1A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B7C1A
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B7C1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B7C1A | 1.00 | 4.84 | 4.34 | 4.84 |
| #FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837303
Deuteranopia (green-blind)
#7E7124
Tritanopia (blue-blind)
#5F766A
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #5b7c1a; /* rgb */ color: rgb(91, 124, 26); /* oklch */ color: oklch(54.2% 0.128 127.0);
Tailwind
colors: {
custom: {
50: '#8da25f',
500: '#5b7c1a',
950: '#000000',
},
}SCSS
$custom: #5b7c1a; $custom-light: #8da25f; $custom-dark: #000000;
JSON
{
"hex": "#5b7c1a",
"rgb": {
"r": 91,
"g": 124,
"b": 26
},
"hsl": {
"h": 80.204,
"s": 65.333,
"l": 29.412
},
"oklch": {
"l": 0.54183,
"c": 0.12763,
"h": 127
},
"luminance": 0.16714
}Semantic roles & 50–950 ramp
primary
#5B7C1A
secondary
#6742B0
accent
#40E878
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0F05
muted
#7D7E79