#5A9E1A#5A9E1A
#5A9E1A is a light, vivid yellow-green. Relative luminance 0.267; OKLCH L 63.0% C 0.171 H 134.1°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #5A9E1A |
|---|---|
| RGB | rgb(90, 158, 26) |
| HSL | hsl(91, 72%, 36%) |
| HSV | hsv(91, 84%, 62%) |
| CMYK | cmyk(43%, 0%, 83.5%, 38%) |
| CIE-LAB | lab(58.70, -42.32, 55.97) |
| CIE-LCH | lch(58.70, 70.17, 127.09°) |
| OKLab | oklab(62.98% -0.119 0.1229) |
| OKLCH | oklch(62.98% 0.171 134.1) |
| XYZ | xyz(16.6295, 26.7010, 5.2547) |
| Luminance | 0.2670 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Lawn Green
#4DA409
ΔE00 2.47
Grassy Green
#419C03
ΔE00 2.88
Grass Green
#3F9B0B
ΔE00 3.21
Leaf Green
#5CA904
ΔE00 3.63
Grass
#5CAC2D
ΔE00 4.39
Leaf
#71AA34
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A9E1A #5E1A9E
analogous
#9C9E1A #5A9E1A #1A9E1C
triadic
#5A9E1A #1A5A9E #9E1A5A
tetradic
#5A9E1A #1A9C9E #5E1A9E #9E1C1A
square
#5A9E1A #1A9C9E #5E1A9E #9E1C1A
split-complementary
#5A9E1A #1C1A9E #9E1A9C
monochromatic
#1E3509 #3C6911 #5A9E1A #78D323 #97E250
Accessibility & contrast
On white
3.31
#5A9E1A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.34
#5A9E1A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A9E1A
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A9E1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A9E1A | 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)
#9B8B2A
Tritanopia (blue-blind)
#599886
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #5a9e1a; /* rgb */ color: rgb(90, 158, 26); /* oklch */ color: oklch(63.0% 0.171 134.1);
Tailwind
colors: {
custom: {
50: '#8fbb64',
500: '#5a9e1a',
950: '#000000',
},
}SCSS
$custom: #5a9e1a; $custom-light: #8fbb64; $custom-dark: #000000;
JSON
{
"hex": "#5a9e1a",
"rgb": {
"r": 90,
"g": 158,
"b": 26
},
"hsl": {
"h": 90.909,
"s": 71.739,
"l": 36.078
},
"oklch": {
"l": 0.62984,
"c": 0.17106,
"h": 134.1
},
"luminance": 0.26702
}Semantic roles & 50–950 ramp
primary
#5A9E1A
secondary
#8C4FC5
accent
#39EE97
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1206
muted
#7E817A