#5A9F18#5A9F18
#5A9F18 is a light, vivid yellow-green. Relative luminance 0.270; OKLCH L 63.2% C 0.173 H 134.1°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #5A9F18 |
|---|---|
| RGB | rgb(90, 159, 24) |
| HSL | hsl(91, 74%, 36%) |
| HSV | hsv(91, 85%, 62%) |
| CMYK | cmyk(43.4%, 0%, 84.9%, 37.6%) |
| CIE-LAB | lab(59.01, -42.82, 56.77) |
| CIE-LCH | lch(59.01, 71.11, 127.03°) |
| OKLab | oklab(63.24% -0.1205 0.1242) |
| OKLCH | oklch(63.24% 0.173 134.1) |
| XYZ | xyz(16.7791, 27.0349, 5.1981) |
| Luminance | 0.2704 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Lawn Green
#4DA409
ΔE00 2.20
Grassy Green
#419C03
ΔE00 2.95
Leaf Green
#5CA904
ΔE00 3.28
Grass Green
#3F9B0B
ΔE00 3.33
Grass
#5CAC2D
ΔE00 4.15
Leaf
#71AA34
ΔE00 4.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A9F18 #5D189F
analogous
#9D9F18 #5A9F18 #189F1A
triadic
#5A9F18 #185A9F #9F185A
tetradic
#5A9F18 #189D9F #5D189F #9F1A18
square
#5A9F18 #189D9F #5D189F #9F1A18
split-complementary
#5A9F18 #1A189F #9F189D
monochromatic
#1E3508 #3C6A10 #5A9F18 #78D420 #97E44D
Accessibility & contrast
On white
3.28
#5A9F18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.41
#5A9F18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A9F18
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A9F18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A9F18 | 1.00 | 3.28 | 6.41 | 6.41 |
| #FFFFFF | 3.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#9C8C29
Tritanopia (blue-blind)
#599887
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #5a9f18; /* rgb */ color: rgb(90, 159, 24); /* oklch */ color: oklch(63.2% 0.173 134.1);
Tailwind
colors: {
custom: {
50: '#8fbc64',
500: '#5a9f18',
950: '#000000',
},
}SCSS
$custom: #5a9f18; $custom-light: #8fbc64; $custom-dark: #000000;
JSON
{
"hex": "#5a9f18",
"rgb": {
"r": 90,
"g": 159,
"b": 24
},
"hsl": {
"h": 90.667,
"s": 73.77,
"l": 35.882
},
"oklch": {
"l": 0.63236,
"c": 0.17307,
"h": 134.1
},
"luminance": 0.27036
}Semantic roles & 50–950 ramp
primary
#5A9F18
secondary
#8B4DC6
accent
#37F096
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1206
muted
#7E817A