#5A9E1E#5A9E1E
#5A9E1E is a light, vivid yellow-green. Relative luminance 0.267; OKLCH L 63.0% C 0.169 H 134.3°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #5A9E1E |
|---|---|
| RGB | rgb(90, 158, 30) |
| HSL | hsl(92, 68%, 37%) |
| HSV | hsv(92, 81%, 62%) |
| CMYK | cmyk(43%, 0%, 81%, 38%) |
| CIE-LAB | lab(58.71, -42.13, 54.86) |
| CIE-LCH | lch(58.71, 69.16, 127.52°) |
| OKLab | oklab(63% -0.1183 0.1211) |
| OKLCH | oklch(63% 0.169 134.3) |
| XYZ | xyz(16.6773, 26.7202, 5.5068) |
| Luminance | 0.2672 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Lawn Green
#4DA409
ΔE00 2.54
Grassy Green
#419C03
ΔE00 2.89
Grass Green
#3F9B0B
ΔE00 3.17
Leaf Green
#5CA904
ΔE00 3.78
Grass
#5CAC2D
ΔE00 4.31
Leaf
#71AA34
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A9E1E #621E9E
analogous
#9A9E1E #5A9E1E #1E9E22
triadic
#5A9E1E #1E5A9E #9E1E5A
tetradic
#5A9E1E #1E9A9E #621E9E #9E221E
square
#5A9E1E #1E9A9E #621E9E #9E221E
split-complementary
#5A9E1E #221E9E #9E1E9A
monochromatic
#1F370A #3D6B14 #5A9E1E #77D128 #97DF57
Accessibility & contrast
On white
3.31
#5A9E1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.34
#5A9E1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A9E1E
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A9E1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A9E1E | 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)
#9B8B2D
Tritanopia (blue-blind)
#599887
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #5a9e1e; /* rgb */ color: rgb(90, 158, 30); /* oklch */ color: oklch(63.0% 0.169 134.3);
Tailwind
colors: {
custom: {
50: '#8fbb66',
500: '#5a9e1e',
950: '#000000',
},
}SCSS
$custom: #5a9e1e; $custom-light: #8fbb66; $custom-dark: #000000;
JSON
{
"hex": "#5a9e1e",
"rgb": {
"r": 90,
"g": 158,
"b": 30
},
"hsl": {
"h": 91.875,
"s": 68.085,
"l": 36.863
},
"oklch": {
"l": 0.63004,
"c": 0.16929,
"h": 134.3
},
"luminance": 0.26721
}Semantic roles & 50–950 ramp
primary
#5A9E1E
secondary
#8F55C3
accent
#3DEB99
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1206
muted
#7E817A