#5A9F2C#5A9F2C
#5A9F2C is a light, vivid yellow-green. Relative luminance 0.272; OKLCH L 63.4% C 0.163 H 135.5°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #5A9F2C |
|---|---|
| RGB | rgb(90, 159, 44) |
| HSL | hsl(96, 57%, 40%) |
| HSV | hsv(96, 72%, 62%) |
| CMYK | cmyk(43.4%, 0%, 72.3%, 37.6%) |
| CIE-LAB | lab(59.11, -41.67, 50.45) |
| CIE-LCH | lch(59.11, 65.44, 129.56°) |
| OKLab | oklab(63.36% -0.1161 0.114) |
| OKLCH | oklch(63.36% 0.163 135.5) |
| XYZ | xyz(17.0688, 27.1508, 6.7236) |
| Luminance | 0.2715 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Lawn Green
#4DA409
ΔE00 3.07
Grassy Green
#419C03
ΔE00 3.39
Grass Green
#3F9B0B
ΔE00 3.48
Grass
#5CAC2D
ΔE00 3.94
Leaf Green
#5CA904
ΔE00 4.39
Leaf
#71AA34
ΔE00 4.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A9F2C #712C9F
analogous
#949F2C #5A9F2C #2C9F38
triadic
#5A9F2C #2C5A9F #9F2C5A
tetradic
#5A9F2C #2C949F #712C9F #9F382C
square
#5A9F2C #2C949F #712C9F #9F382C
split-complementary
#5A9F2C #382C9F #9F2C94
monochromatic
#243F11 #3F6F1F #5A9F2C #76CA3E #98D76E
Accessibility & contrast
On white
3.27
#5A9F2C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.43
#5A9F2C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A9F2C
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A9F2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A9F2C | 1.00 | 3.27 | 6.43 | 6.43 |
| #FFFFFF | 3.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A59218
Deuteranopia (green-blind)
#9C8C37
Tritanopia (blue-blind)
#589988
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #5a9f2c; /* rgb */ color: rgb(90, 159, 44); /* oklch */ color: oklch(63.4% 0.163 135.5);
Tailwind
colors: {
custom: {
50: '#8ebc6c',
500: '#5a9f2c',
950: '#000000',
},
}SCSS
$custom: #5a9f2c; $custom-light: #8ebc6c; $custom-dark: #000000;
JSON
{
"hex": "#5a9f2c",
"rgb": {
"r": 90,
"g": 159,
"b": 44
},
"hsl": {
"h": 96,
"s": 56.65,
"l": 39.804
},
"oklch": {
"l": 0.63358,
"c": 0.16273,
"h": 135.5
},
"luminance": 0.27152
}Semantic roles & 50–950 ramp
primary
#5A9F2C
secondary
#9C69BE
accent
#48E0A3
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1207
muted
#7E817A