#5A9F1D#5A9F1D
#5A9F1D is a light, vivid yellow-green. Relative luminance 0.271; OKLCH L 63.3% C 0.171 H 134.4°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #5A9F1D |
|---|---|
| RGB | rgb(90, 159, 29) |
| HSL | hsl(92, 69%, 37%) |
| HSV | hsv(92, 82%, 62%) |
| CMYK | cmyk(43.4%, 0%, 81.8%, 37.6%) |
| CIE-LAB | lab(59.03, -42.59, 55.44) |
| CIE-LCH | lch(59.03, 69.91, 127.53°) |
| OKLab | oklab(63.26% -0.1196 0.1222) |
| OKLCH | oklch(63.26% 0.171 134.4) |
| XYZ | xyz(16.8360, 27.0577, 5.4977) |
| Luminance | 0.2706 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Lawn Green
#4DA409
ΔE00 2.27
Grassy Green
#419C03
ΔE00 2.94
Grass Green
#3F9B0B
ΔE00 3.26
Leaf Green
#5CA904
ΔE00 3.45
Grass
#5CAC2D
ΔE00 4.03
Leaf
#71AA34
ΔE00 4.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A9F1D #621D9F
analogous
#9B9F1D #5A9F1D #1D9F21
triadic
#5A9F1D #1D5A9F #9F1D5A
tetradic
#5A9F1D #1D9B9F #621D9F #9F211D
square
#5A9F1D #1D9B9F #621D9F #9F211D
split-complementary
#5A9F1D #211D9F #9F1D9B
monochromatic
#1F370A #3D6B14 #5A9F1D #77D326 #97E056
Accessibility & contrast
On white
3.28
#5A9F1D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.41
#5A9F1D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A9F1D
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A9F1D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A9F1D | 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)
#A59200
Deuteranopia (green-blind)
#9C8C2C
Tritanopia (blue-blind)
#599987
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #5a9f1d; /* rgb */ color: rgb(90, 159, 29); /* oklch */ color: oklch(63.3% 0.171 134.4);
Tailwind
colors: {
custom: {
50: '#8fbc65',
500: '#5a9f1d',
950: '#000000',
},
}SCSS
$custom: #5a9f1d; $custom-light: #8fbc65; $custom-dark: #000000;
JSON
{
"hex": "#5a9f1d",
"rgb": {
"r": 90,
"g": 159,
"b": 29
},
"hsl": {
"h": 91.846,
"s": 69.149,
"l": 36.863
},
"oklch": {
"l": 0.6326,
"c": 0.17097,
"h": 134.4
},
"luminance": 0.27059
}Semantic roles & 50–950 ramp
primary
#5A9F1D
secondary
#8F54C4
accent
#3CEC99
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1206
muted
#7E817A