#5A975E#5A975E
#5A975E is a mid, moderate green. Relative luminance 0.251; OKLCH L 62.0% C 0.106 H 145.6°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #5A975E |
|---|---|
| RGB | rgb(90, 151, 94) |
| HSL | hsl(124, 25%, 47%) |
| HSV | hsv(124, 40%, 59%) |
| CMYK | cmyk(40.4%, 0%, 37.7%, 40.8%) |
| CIE-LAB | lab(57.19, -32.08, 24.00) |
| CIE-LCH | lch(57.19, 40.06, 143.21°) |
| OKLab | oklab(61.98% -0.0874 0.0598) |
| OKLCH | oklch(61.98% 0.106 145.6) |
| XYZ | xyz(17.3026, 25.1140, 14.5233) |
| Luminance | 0.2511 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Light Forest Green
#4F9153
ΔE00 2.73
Muted Green
#5FA052
ΔE00 4.87
Greenish
#40A368
ΔE00 5.28
Fern Green
#548D44
ΔE00 5.32
Moss
#769958
ΔE00 5.97
Flat Green
#699D4C
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A975E #975A93
analogous
#75975A #5A975E #5A977C
triadic
#5A975E #5E5A97 #975E5A
tetradic
#5A975E #5A7597 #975A93 #977C5A
square
#5A975E #5A7597 #975A93 #977C5A
split-complementary
#5A975E #7C5A97 #975A75
monochromatic
#2C4A2E #437146 #5A975E #7DB180 #A3C8A6
Accessibility & contrast
On white
3.49
#5A975E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.02
#5A975E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A975E
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A975E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A975E | 1.00 | 3.49 | 6.02 | 6.02 |
| #FFFFFF | 3.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#998D5A
Deuteranopia (green-blind)
#908761
Tritanopia (blue-blind)
#529489
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #5a975e; /* rgb */ color: rgb(90, 151, 94); /* oklch */ color: oklch(62.0% 0.106 145.6);
Tailwind
colors: {
custom: {
50: '#8cb68c',
500: '#5a975e',
950: '#000000',
},
}SCSS
$custom: #5a975e; $custom-light: #8cb68c; $custom-dark: #000000;
JSON
{
"hex": "#5a975e",
"rgb": {
"r": 90,
"g": 151,
"b": 94
},
"hsl": {
"h": 123.934,
"s": 25.311,
"l": 47.255
},
"oklch": {
"l": 0.61976,
"c": 0.10587,
"h": 145.6
},
"luminance": 0.25115
}Semantic roles & 50–950 ramp
primary
#5A975E
secondary
#B697B4
accent
#66BCC2
background
#F8FBF8
surface
#F0F6F0
border
#CBD0CB
text
#0C110C
muted
#7D807D