#5A9E18#5A9E18
#5A9E18 is a light, vivid yellow-green. Relative luminance 0.267; OKLCH L 63.0% C 0.172 H 134.0°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #5A9E18 |
|---|---|
| RGB | rgb(90, 158, 24) |
| HSL | hsl(90, 74%, 36%) |
| HSV | hsv(90, 85%, 62%) |
| CMYK | cmyk(43%, 0%, 84.8%, 38%) |
| CIE-LAB | lab(58.69, -42.40, 56.49) |
| CIE-LCH | lch(58.69, 70.63, 126.89°) |
| OKLab | oklab(62.98% -0.1194 0.1237) |
| OKLCH | oklch(62.98% 0.172 134) |
| XYZ | xyz(16.6079, 26.6924, 5.1410) |
| Luminance | 0.2669 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Lawn Green
#4DA409
ΔE00 2.45
Grassy Green
#419C03
ΔE00 2.89
Grass Green
#3F9B0B
ΔE00 3.24
Leaf Green
#5CA904
ΔE00 3.57
Grass
#5CAC2D
ΔE00 4.43
Leaf
#71AA34
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A9E18 #5C189E
analogous
#9D9E18 #5A9E18 #189E19
triadic
#5A9E18 #185A9E #9E185A
tetradic
#5A9E18 #189D9E #5C189E #9E1918
square
#5A9E18 #189D9E #5C189E #9E1918
split-complementary
#5A9E18 #19189E #9E189D
monochromatic
#1D3408 #3C6910 #5A9E18 #78D320 #97E44D
Accessibility & contrast
On white
3.31
#5A9E18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.34
#5A9E18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A9E18
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A9E18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A9E18 | 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: #5a9e18; /* rgb */ color: rgb(90, 158, 24); /* oklch */ color: oklch(63.0% 0.172 134.0);
Tailwind
colors: {
custom: {
50: '#8fbb63',
500: '#5a9e18',
950: '#000000',
},
}SCSS
$custom: #5a9e18; $custom-light: #8fbb63; $custom-dark: #000000;
JSON
{
"hex": "#5a9e18",
"rgb": {
"r": 90,
"g": 158,
"b": 24
},
"hsl": {
"h": 90.448,
"s": 73.626,
"l": 35.686
},
"oklch": {
"l": 0.62975,
"c": 0.17187,
"h": 134
},
"luminance": 0.26693
}Semantic roles & 50–950 ramp
primary
#5A9E18
secondary
#8A4CC6
accent
#38F095
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1206
muted
#7E817A