#5A7A19#5A7A19
#5A7A19 is a mid, vivid yellow-green. Relative luminance 0.162; OKLCH L 53.6% C 0.126 H 126.7°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #5A7A19 |
|---|---|
| RGB | rgb(90, 122, 25) |
| HSL | hsl(80, 66%, 29%) |
| HSV | hsv(80, 80%, 48%) |
| CMYK | cmyk(26.2%, 0%, 79.5%, 52.2%) |
| CIE-LAB | lab(47.19, -26.13, 45.71) |
| CIE-LCH | lch(47.19, 52.65, 119.75°) |
| OKLab | oklab(53.59% -0.0754 0.1011) |
| OKLCH | oklch(53.59% 0.126 126.7) |
| XYZ | xyz(11.3515, 16.1627, 3.4412) |
| Luminance | 0.1616 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dirty Green
#667E2C
ΔE00 3.12
Avocado
#568203
ΔE00 3.55
Olive Green
#677A04
ΔE00 4.19
Murky Green
#6C7A0E
ΔE00 5.09
Swamp
#698339
ΔE00 5.26
Muddy Green
#657432
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A7A19 #39197A
analogous
#7A6A19 #5A7A19 #2A7A19
triadic
#5A7A19 #195A7A #7A195A
tetradic
#5A7A19 #197A6A #39197A #7A192A
square
#5A7A19 #197A6A #39197A #7A192A
split-complementary
#5A7A19 #192A7A #6A197A
monochromatic
#131905 #35470F #5A7A19 #7FAD23 #A2D637
Accessibility & contrast
On white
4.96
#5A7A19 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#5A7A19 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A7A19
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A7A19 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A7A19 | 1.00 | 4.96 | 4.23 | 4.96 |
| #FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817102
Deuteranopia (green-blind)
#7C6F23
Tritanopia (blue-blind)
#5E7468
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #5a7a19; /* rgb */ color: rgb(90, 122, 25); /* oklch */ color: oklch(53.6% 0.126 126.7);
Tailwind
colors: {
custom: {
50: '#8ca05e',
500: '#5a7a19',
950: '#000000',
},
}SCSS
$custom: #5a7a19; $custom-light: #8ca05e; $custom-dark: #000000;
JSON
{
"hex": "#5a7a19",
"rgb": {
"r": 90,
"g": 122,
"b": 25
},
"hsl": {
"h": 79.794,
"s": 65.986,
"l": 28.824
},
"oklch": {
"l": 0.53588,
"c": 0.12611,
"h": 126.7
},
"luminance": 0.16163
}Semantic roles & 50–950 ramp
primary
#5A7A19
secondary
#6540AF
accent
#3FE977
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E05
muted
#7D7E79