#5A9E17#5A9E17
#5A9E17 is a light, vivid yellow-green. Relative luminance 0.267; OKLCH L 63.0% C 0.172 H 133.9°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #5A9E17 |
|---|---|
| RGB | rgb(90, 158, 23) |
| HSL | hsl(90, 75%, 35%) |
| HSV | hsv(90, 85%, 62%) |
| CMYK | cmyk(43%, 0%, 85.4%, 38%) |
| CIE-LAB | lab(58.68, -42.44, 56.73) |
| CIE-LCH | lch(58.68, 70.85, 126.80°) |
| OKLab | oklab(62.97% -0.1195 0.124) |
| OKLCH | oklch(62.97% 0.172 133.9) |
| XYZ | xyz(16.5977, 26.6883, 5.0873) |
| Luminance | 0.2669 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Lawn Green
#4DA409
ΔE00 2.44
Grassy Green
#419C03
ΔE00 2.90
Grass Green
#3F9B0B
ΔE00 3.26
Leaf Green
#5CA904
ΔE00 3.55
Grass
#5CAC2D
ΔE00 4.46
Leaf
#71AA34
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A9E17 #5B179E
analogous
#9D9E17 #5A9E17 #179E17
triadic
#5A9E17 #175A9E #9E175A
tetradic
#5A9E17 #179D9E #5B179E #9E1717
square
#5A9E17 #179D9E #5B179E #9E1717
split-complementary
#5A9E17 #17179E #9E179D
monochromatic
#1D3307 #3C690F #5A9E17 #78D31F #97E54B
Accessibility & contrast
On white
3.31
#5A9E17 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.34
#5A9E17 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A9E17
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A9E17 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A9E17 | 1.00 | 3.31 | 6.34 | 6.34 |
| #FFFFFF | 3.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A49100
Deuteranopia (green-blind)
#9B8B29
Tritanopia (blue-blind)
#599786
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #5a9e17; /* rgb */ color: rgb(90, 158, 23); /* oklch */ color: oklch(63.0% 0.172 133.9);
Tailwind
colors: {
custom: {
50: '#8fbb63',
500: '#5a9e17',
950: '#000000',
},
}SCSS
$custom: #5a9e17; $custom-light: #8fbb63; $custom-dark: #000000;
JSON
{
"hex": "#5a9e17",
"rgb": {
"r": 90,
"g": 158,
"b": 23
},
"hsl": {
"h": 90.222,
"s": 74.586,
"l": 35.49
},
"oklch": {
"l": 0.6297,
"c": 0.17225,
"h": 133.9
},
"luminance": 0.26689
}Semantic roles & 50–950 ramp
primary
#5A9E17
secondary
#894AC6
accent
#37F195
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1206
muted
#7E817A