#5A992E#5A992E
#5A992E is a mid, vivid yellow-green. Relative luminance 0.252; OKLCH L 61.8% C 0.154 H 135.0°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #5A992E |
|---|---|
| RGB | rgb(90, 153, 46) |
| HSL | hsl(95, 54%, 39%) |
| HSV | hsv(95, 70%, 60%) |
| CMYK | cmyk(41.2%, 0%, 69.9%, 40%) |
| CIE-LAB | lab(57.22, -38.97, 47.72) |
| CIE-LCH | lch(57.22, 61.61, 129.23°) |
| OKLab | oklab(61.82% -0.1086 0.1086) |
| OKLCH | oklch(61.82% 0.154 135) |
| XYZ | xyz(16.1005, 25.1525, 6.5908) |
| Luminance | 0.2515 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass Green
#3F9B0B
ΔE00 3.66
Grassy Green
#419C03
ΔE00 3.80
Flat Green
#699D4C
ΔE00 4.32
Lawn Green
#4DA409
ΔE00 4.68
Mossy Green
#638B27
ΔE00 5.30
Sap Green
#5C8B15
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A992E #6D2E99
analogous
#90992E #5A992E #2E9938
triadic
#5A992E #2E5A99 #992E5A
tetradic
#5A992E #2E9099 #6D2E99 #99382E
square
#5A992E #2E9099 #6D2E99 #99382E
split-complementary
#5A992E #382E99 #992E90
monochromatic
#233B12 #3E6A20 #5A992E #76C53F #98D36E
Accessibility & contrast
On white
3.48
#5A992E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.03
#5A992E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A992E
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A992E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A992E | 1.00 | 3.48 | 6.03 | 6.03 |
| #FFFFFF | 3.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9F8D1E
Deuteranopia (green-blind)
#968738
Tritanopia (blue-blind)
#599384
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #5a992e; /* rgb */ color: rgb(90, 153, 46); /* oklch */ color: oklch(61.8% 0.154 135.0);
Tailwind
colors: {
custom: {
50: '#8eb76d',
500: '#5a992e',
950: '#000000',
},
}SCSS
$custom: #5a992e; $custom-light: #8eb76d; $custom-dark: #000000;
JSON
{
"hex": "#5a992e",
"rgb": {
"r": 90,
"g": 153,
"b": 46
},
"hsl": {
"h": 95.327,
"s": 53.769,
"l": 39.02
},
"oklch": {
"l": 0.61815,
"c": 0.15358,
"h": 135
},
"luminance": 0.25153
}Semantic roles & 50–950 ramp
primary
#5A992E
secondary
#9968BB
accent
#4BDDA1
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1107
muted
#7E807A