#5A7E19#5A7E19
#5A7E19 is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.6% C 0.131 H 127.9°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #5A7E19 |
|---|---|
| RGB | rgb(90, 126, 25) |
| HSL | hsl(81, 67%, 30%) |
| HSV | hsv(81, 80%, 49%) |
| CMYK | cmyk(28.6%, 0%, 80.2%, 50.6%) |
| CIE-LAB | lab(48.47, -28.07, 46.91) |
| CIE-LCH | lch(48.47, 54.67, 120.90°) |
| OKLab | oklab(54.63% -0.0807 0.1036) |
| OKLCH | oklch(54.63% 0.131 127.9) |
| XYZ | xyz(11.8528, 17.1653, 3.6083) |
| Luminance | 0.1717 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 2.26
Dirty Green
#667E2C
ΔE00 3.11
Olive Green
#677A04
ΔE00 4.64
Swamp
#698339
ΔE00 4.77
Sap Green
#5C8B15
ΔE00 4.80
Mossy Green
#638B27
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A7E19 #3D197E
analogous
#7E7019 #5A7E19 #287E19
triadic
#5A7E19 #195A7E #7E195A
tetradic
#5A7E19 #197E70 #3D197E #7E1928
square
#5A7E19 #197E70 #3D197E #7E1928
split-complementary
#5A7E19 #19287E #70197E
monochromatic
#121A05 #364B0F #5A7E19 #7EB123 #9FD83A
Accessibility & contrast
On white
4.74
#5A7E19 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#5A7E19 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A7E19
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A7E19 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A7E19 | 1.00 | 4.74 | 4.43 | 4.74 |
| #FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#807223
Tritanopia (blue-blind)
#5D786B
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #5a7e19; /* rgb */ color: rgb(90, 126, 25); /* oklch */ color: oklch(54.6% 0.131 127.9);
Tailwind
colors: {
custom: {
50: '#8ca35f',
500: '#5a7e19',
950: '#000000',
},
}SCSS
$custom: #5a7e19; $custom-light: #8ca35f; $custom-dark: #000000;
JSON
{
"hex": "#5a7e19",
"rgb": {
"r": 90,
"g": 126,
"b": 25
},
"hsl": {
"h": 81.386,
"s": 66.887,
"l": 29.608
},
"oklch": {
"l": 0.54627,
"c": 0.13133,
"h": 127.9
},
"luminance": 0.17166
}Semantic roles & 50–950 ramp
primary
#5A7E19
secondary
#6941B2
accent
#3EEA7B
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79