#5A9C1E#5A9C1E
#5A9C1E is a light, vivid yellow-green. Relative luminance 0.260; OKLCH L 62.5% C 0.167 H 134.1°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #5A9C1E |
|---|---|
| RGB | rgb(90, 156, 30) |
| HSL | hsl(91, 68%, 36%) |
| HSV | hsv(91, 81%, 61%) |
| CMYK | cmyk(42.3%, 0%, 80.8%, 38.8%) |
| CIE-LAB | lab(58.08, -41.29, 54.27) |
| CIE-LCH | lch(58.08, 68.19, 127.27°) |
| OKLab | oklab(62.48% -0.116 0.1199) |
| OKLCH | oklch(62.48% 0.167 134.1) |
| XYZ | xyz(16.3390, 26.0435, 5.3940) |
| Luminance | 0.2604 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grassy Green
#419C03
ΔE00 2.87
Lawn Green
#4DA409
ΔE00 3.07
Grass Green
#3F9B0B
ΔE00 3.08
Leaf Green
#5CA904
ΔE00 4.36
Grass
#5CAC2D
ΔE00 4.92
Leaf
#71AA34
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A9C1E #601E9C
analogous
#999C1E #5A9C1E #1E9C21
triadic
#5A9C1E #1E5A9C #9C1E5A
tetradic
#5A9C1E #1E999C #601E9C #9C211E
square
#5A9C1E #1E999C #601E9C #9C211E
split-complementary
#5A9C1E #211E9C #9C1E99
monochromatic
#1F350A #3C6914 #5A9C1E #78CF28 #97DE56
Accessibility & contrast
On white
3.38
#5A9C1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.21
#5A9C1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A9C1E
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A9C1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A9C1E | 1.00 | 3.38 | 6.21 | 6.21 |
| #FFFFFF | 3.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A28F00
Deuteranopia (green-blind)
#998A2C
Tritanopia (blue-blind)
#599685
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #5a9c1e; /* rgb */ color: rgb(90, 156, 30); /* oklch */ color: oklch(62.5% 0.167 134.1);
Tailwind
colors: {
custom: {
50: '#8fba65',
500: '#5a9c1e',
950: '#000000',
},
}SCSS
$custom: #5a9c1e; $custom-light: #8fba65; $custom-dark: #000000;
JSON
{
"hex": "#5a9c1e",
"rgb": {
"r": 90,
"g": 156,
"b": 30
},
"hsl": {
"h": 91.429,
"s": 67.742,
"l": 36.471
},
"oklch": {
"l": 0.62483,
"c": 0.16684,
"h": 134.1
},
"luminance": 0.26044
}Semantic roles & 50–950 ramp
primary
#5A9C1E
secondary
#8E54C2
accent
#3DEB98
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A