#5A9F19#5A9F19
#5A9F19 is a light, vivid yellow-green. Relative luminance 0.270; OKLCH L 63.2% C 0.173 H 134.2°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #5A9F19 |
|---|---|
| RGB | rgb(90, 159, 25) |
| HSL | hsl(91, 73%, 36%) |
| HSV | hsv(91, 84%, 62%) |
| CMYK | cmyk(43.4%, 0%, 84.3%, 37.6%) |
| CIE-LAB | lab(59.01, -42.77, 56.52) |
| CIE-LCH | lch(59.01, 70.88, 127.12°) |
| OKLab | oklab(63.24% -0.1203 0.1239) |
| OKLCH | oklch(63.24% 0.173 134.2) |
| XYZ | xyz(16.7897, 27.0392, 5.2539) |
| Luminance | 0.2704 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Lawn Green
#4DA409
ΔE00 2.21
Grassy Green
#419C03
ΔE00 2.95
Leaf Green
#5CA904
ΔE00 3.31
Grass Green
#3F9B0B
ΔE00 3.31
Grass
#5CAC2D
ΔE00 4.12
Leaf
#71AA34
ΔE00 4.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A9F19 #5E199F
analogous
#9D9F19 #5A9F19 #199F1B
triadic
#5A9F19 #195A9F #9F195A
tetradic
#5A9F19 #199D9F #5E199F #9F1B19
square
#5A9F19 #199D9F #5E199F #9F1B19
split-complementary
#5A9F19 #1B199F #9F199D
monochromatic
#1E3508 #3C6A11 #5A9F19 #78D421 #97E34F
Accessibility & contrast
On white
3.28
#5A9F19 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.41
#5A9F19 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A9F19
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A9F19 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A9F19 | 1.00 | 3.28 | 6.41 | 6.41 |
| #FFFFFF | 3.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#9C8C2A
Tritanopia (blue-blind)
#599887
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #5a9f19; /* rgb */ color: rgb(90, 159, 25); /* oklch */ color: oklch(63.2% 0.173 134.2);
Tailwind
colors: {
custom: {
50: '#8fbc64',
500: '#5a9f19',
950: '#000000',
},
}SCSS
$custom: #5a9f19; $custom-light: #8fbc64; $custom-dark: #000000;
JSON
{
"hex": "#5a9f19",
"rgb": {
"r": 90,
"g": 159,
"b": 25
},
"hsl": {
"h": 90.896,
"s": 72.826,
"l": 36.078
},
"oklch": {
"l": 0.6324,
"c": 0.17268,
"h": 134.2
},
"luminance": 0.2704
}Semantic roles & 50–950 ramp
primary
#5A9F19
secondary
#8C4EC6
accent
#38F097
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1206
muted
#7E817A