#5A8019#5A8019
#5A8019 is a mid, vivid yellow-green. Relative luminance 0.177; OKLCH L 55.1% C 0.134 H 128.5°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #5A8019 |
|---|---|
| RGB | rgb(90, 128, 25) |
| HSL | hsl(82, 67%, 30%) |
| HSV | hsv(82, 80%, 50%) |
| CMYK | cmyk(29.7%, 0%, 80.5%, 49.8%) |
| CIE-LAB | lab(49.11, -29.03, 47.51) |
| CIE-LCH | lch(49.11, 55.68, 121.43°) |
| OKLab | oklab(55.15% -0.0833 0.1049) |
| OKLCH | oklch(55.15% 0.134 128.5) |
| XYZ | xyz(12.1111, 17.6819, 3.6944) |
| Luminance | 0.1768 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 1.77
Dirty Green
#667E2C
ΔE00 3.35
Sap Green
#5C8B15
ΔE00 4.05
Mossy Green
#638B27
ΔE00 4.15
Swamp
#698339
ΔE00 4.67
Olive Green
#677A04
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A8019 #3F1980
analogous
#807219 #5A8019 #278019
triadic
#5A8019 #195A80 #80195A
tetradic
#5A8019 #198072 #3F1980 #801927
square
#5A8019 #198072 #3F1980 #801927
split-complementary
#5A8019 #192780 #721980
monochromatic
#121A05 #364D0F #5A8019 #7EB323 #9ED93B
Accessibility & contrast
On white
4.63
#5A8019 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.54
#5A8019 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #5A8019
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A8019 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A8019 | 1.00 | 4.63 | 4.54 | 4.63 |
| #FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#817424
Tritanopia (blue-blind)
#5D7A6D
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #5a8019; /* rgb */ color: rgb(90, 128, 25); /* oklch */ color: oklch(55.1% 0.134 128.5);
Tailwind
colors: {
custom: {
50: '#8ca55f',
500: '#5a8019',
950: '#000000',
},
}SCSS
$custom: #5a8019; $custom-light: #8ca55f; $custom-dark: #000000;
JSON
{
"hex": "#5a8019",
"rgb": {
"r": 90,
"g": 128,
"b": 25
},
"hsl": {
"h": 82.136,
"s": 67.32,
"l": 30
},
"oklch": {
"l": 0.55148,
"c": 0.13393,
"h": 128.5
},
"luminance": 0.17682
}Semantic roles & 50–950 ramp
primary
#5A8019
secondary
#6B41B4
accent
#3EEA7D
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79