#5A9D1B#5A9D1B
#5A9D1B is a light, vivid yellow-green. Relative luminance 0.264; OKLCH L 62.7% C 0.169 H 134.0°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #5A9D1B |
|---|---|
| RGB | rgb(90, 157, 27) |
| HSL | hsl(91, 71%, 36%) |
| HSV | hsv(91, 83%, 62%) |
| CMYK | cmyk(42.7%, 0%, 82.8%, 38.4%) |
| CIE-LAB | lab(58.38, -41.85, 55.42) |
| CIE-LCH | lch(58.38, 69.45, 127.06°) |
| OKLab | oklab(62.73% -0.1177 0.1218) |
| OKLCH | oklch(62.73% 0.169 134) |
| XYZ | xyz(16.4710, 26.3658, 5.2579) |
| Luminance | 0.2637 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Lawn Green
#4DA409
ΔE00 2.74
Grassy Green
#419C03
ΔE00 2.85
Grass Green
#3F9B0B
ΔE00 3.14
Leaf Green
#5CA904
ΔE00 3.96
Grass
#5CAC2D
ΔE00 4.67
Leaf
#71AA34
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A9D1B #5E1B9D
analogous
#9B9D1B #5A9D1B #1B9D1D
triadic
#5A9D1B #1B5A9D #9D1B5A
tetradic
#5A9D1B #1B9B9D #5E1B9D #9D1D1B
square
#5A9D1B #1B9B9D #5E1B9D #9D1D1B
split-complementary
#5A9D1B #1D1B9D #9D1B9B
monochromatic
#1E3509 #3C6912 #5A9D1B #78D124 #97E151
Accessibility & contrast
On white
3.35
#5A9D1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.27
#5A9D1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A9D1B
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A9D1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A9D1B | 1.00 | 3.35 | 6.27 | 6.27 |
| #FFFFFF | 3.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A39000
Deuteranopia (green-blind)
#9A8A2B
Tritanopia (blue-blind)
#599786
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #5a9d1b; /* rgb */ color: rgb(90, 157, 27); /* oklch */ color: oklch(62.7% 0.169 134.0);
Tailwind
colors: {
custom: {
50: '#8fba64',
500: '#5a9d1b',
950: '#000000',
},
}SCSS
$custom: #5a9d1b; $custom-light: #8fba64; $custom-dark: #000000;
JSON
{
"hex": "#5a9d1b",
"rgb": {
"r": 90,
"g": 157,
"b": 27
},
"hsl": {
"h": 90.923,
"s": 70.652,
"l": 36.078
},
"oklch": {
"l": 0.62728,
"c": 0.16943,
"h": 134
},
"luminance": 0.26367
}Semantic roles & 50–950 ramp
primary
#5A9D1B
secondary
#8C50C4
accent
#3AED97
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1206
muted
#7E817A