#5A9B1E#5A9B1E
#5A9B1E is a light, vivid yellow-green. Relative luminance 0.257; OKLCH L 62.2% C 0.166 H 133.9°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #5A9B1E |
|---|---|
| RGB | rgb(90, 155, 30) |
| HSL | hsl(91, 68%, 36%) |
| HSV | hsv(91, 81%, 61%) |
| CMYK | cmyk(41.9%, 0%, 80.6%, 39.2%) |
| CIE-LAB | lab(57.76, -40.87, 53.97) |
| CIE-LCH | lch(57.76, 67.70, 127.13°) |
| OKLab | oklab(62.22% -0.1149 0.1193) |
| OKLCH | oklch(62.22% 0.166 133.9) |
| XYZ | xyz(16.1718, 25.7092, 5.3383) |
| Luminance | 0.2571 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grassy Green
#419C03
ΔE00 2.92
Grass Green
#3F9B0B
ΔE00 3.09
Lawn Green
#4DA409
ΔE00 3.35
Leaf Green
#5CA904
ΔE00 4.66
Grass
#5CAC2D
ΔE00 5.23
Leaf
#71AA34
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A9B1E #5F1E9B
analogous
#999B1E #5A9B1E #1E9B21
triadic
#5A9B1E #1E5A9B #9B1E5A
tetradic
#5A9B1E #1E999B #5F1E9B #9B211E
square
#5A9B1E #1E999B #5F1E9B #9B211E
split-complementary
#5A9B1E #211E9B #9B1E99
monochromatic
#1E340A #3C6814 #5A9B1E #78CE28 #97DE55
Accessibility & contrast
On white
3.42
#5A9B1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.14
#5A9B1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A9B1E
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A9B1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A9B1E | 1.00 | 3.42 | 6.14 | 6.14 |
| #FFFFFF | 3.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#99892C
Tritanopia (blue-blind)
#599584
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #5a9b1e; /* rgb */ color: rgb(90, 155, 30); /* oklch */ color: oklch(62.2% 0.166 133.9);
Tailwind
colors: {
custom: {
50: '#8fb965',
500: '#5a9b1e',
950: '#000000',
},
}SCSS
$custom: #5a9b1e; $custom-light: #8fb965; $custom-dark: #000000;
JSON
{
"hex": "#5a9b1e",
"rgb": {
"r": 90,
"g": 155,
"b": 30
},
"hsl": {
"h": 91.2,
"s": 67.568,
"l": 36.275
},
"oklch": {
"l": 0.62222,
"c": 0.1656,
"h": 133.9
},
"luminance": 0.2571
}Semantic roles & 50–950 ramp
primary
#5A9B1E
secondary
#8D53C2
accent
#3DEA97
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A