#5A9F16#5A9F16
#5A9F16 is a light, vivid yellow-green. Relative luminance 0.270; OKLCH L 63.2% C 0.174 H 134.0°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #5A9F16 |
|---|---|
| RGB | rgb(90, 159, 22) |
| HSL | hsl(90, 76%, 35%) |
| HSV | hsv(90, 86%, 62%) |
| CMYK | cmyk(43.4%, 0%, 86.2%, 37.6%) |
| CIE-LAB | lab(59.00, -42.90, 57.25) |
| CIE-LCH | lch(59.00, 71.54, 126.84°) |
| OKLab | oklab(63.23% -0.1208 0.125) |
| OKLCH | oklch(63.23% 0.174 134) |
| XYZ | xyz(16.7591, 27.0269, 5.0926) |
| Luminance | 0.2703 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Lawn Green
#4DA409
ΔE00 2.20
Grassy Green
#419C03
ΔE00 2.97
Leaf Green
#5CA904
ΔE00 3.22
Grass Green
#3F9B0B
ΔE00 3.36
Grass
#5CAC2D
ΔE00 4.20
Leaf
#71AA34
ΔE00 4.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A9F16 #5B169F
analogous
#9E9F16 #5A9F16 #169F16
triadic
#5A9F16 #165A9F #9F165A
tetradic
#5A9F16 #169E9F #5B169F #9F1616
square
#5A9F16 #169E9F #5B169F #9F1616
split-complementary
#5A9F16 #16169F #9F169E
monochromatic
#1D3307 #3C690F #5A9F16 #78D51D #97E64A
Accessibility & contrast
On white
3.28
#5A9F16 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.41
#5A9F16 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A9F16
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A9F16 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A9F16 | 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)
#A69100
Deuteranopia (green-blind)
#9C8C28
Tritanopia (blue-blind)
#599887
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #5a9f16; /* rgb */ color: rgb(90, 159, 22); /* oklch */ color: oklch(63.2% 0.174 134.0);
Tailwind
colors: {
custom: {
50: '#8fbc63',
500: '#5a9f16',
950: '#000000',
},
}SCSS
$custom: #5a9f16; $custom-light: #8fbc63; $custom-dark: #000000;
JSON
{
"hex": "#5a9f16",
"rgb": {
"r": 90,
"g": 159,
"b": 22
},
"hsl": {
"h": 90.219,
"s": 75.691,
"l": 35.49
},
"oklch": {
"l": 0.63227,
"c": 0.17382,
"h": 134
},
"luminance": 0.27028
}Semantic roles & 50–950 ramp
primary
#5A9F16
secondary
#894AC7
accent
#36F295
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1206
muted
#7E817A