#5A9F2F#5A9F2F
#5A9F2F is a light, vivid yellow-green. Relative luminance 0.272; OKLCH L 63.4% C 0.161 H 135.8°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #5A9F2F |
|---|---|
| RGB | rgb(90, 159, 47) |
| HSL | hsl(97, 54%, 40%) |
| HSV | hsv(97, 70%, 62%) |
| CMYK | cmyk(43.4%, 0%, 70.4%, 37.6%) |
| CIE-LAB | lab(59.14, -41.44, 49.30) |
| CIE-LCH | lch(59.14, 64.41, 130.05°) |
| OKLab | oklab(63.38% -0.1153 0.112) |
| OKLCH | oklch(63.38% 0.161 135.8) |
| XYZ | xyz(17.1272, 27.1742, 7.0314) |
| Luminance | 0.2717 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Lawn Green
#4DA409
ΔE00 3.34
Grassy Green
#419C03
ΔE00 3.59
Grass Green
#3F9B0B
ΔE00 3.62
Grass
#5CAC2D
ΔE00 4.01
Mid Green
#50A747
ΔE00 4.39
Flat Green
#699D4C
ΔE00 4.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A9F2F #742F9F
analogous
#929F2F #5A9F2F #2F9F3C
triadic
#5A9F2F #2F5A9F #9F2F5A
tetradic
#5A9F2F #2F929F #742F9F #9F3C2F
square
#5A9F2F #2F929F #742F9F #9F3C2F
split-complementary
#5A9F2F #3C2F9F #9F2F92
monochromatic
#254113 #3F7021 #5A9F2F #76C844 #99D673
Accessibility & contrast
On white
3.26
#5A9F2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.44
#5A9F2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A9F2F
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A9F2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A9F2F | 1.00 | 3.26 | 6.44 | 6.44 |
| #FFFFFF | 3.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A5921E
Deuteranopia (green-blind)
#9B8C39
Tritanopia (blue-blind)
#589989
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #5a9f2f; /* rgb */ color: rgb(90, 159, 47); /* oklch */ color: oklch(63.4% 0.161 135.8);
Tailwind
colors: {
custom: {
50: '#8ebc6e',
500: '#5a9f2f',
950: '#000000',
},
}SCSS
$custom: #5a9f2f; $custom-light: #8ebc6e; $custom-dark: #000000;
JSON
{
"hex": "#5a9f2f",
"rgb": {
"r": 90,
"g": 159,
"b": 47
},
"hsl": {
"h": 96.964,
"s": 54.369,
"l": 40.392
},
"oklch": {
"l": 0.63382,
"c": 0.16074,
"h": 135.8
},
"luminance": 0.27175
}Semantic roles & 50–950 ramp
primary
#5A9F2F
secondary
#9E6DBD
accent
#4ADEA5
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1208
muted
#7E817B