#5A975F#5A975F
#5A975F is a mid, moderate green. Relative luminance 0.251; OKLCH L 62.0% C 0.105 H 146.0°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #5A975F |
|---|---|
| RGB | rgb(90, 151, 95) |
| HSL | hsl(125, 25%, 47%) |
| HSV | hsv(125, 40%, 59%) |
| CMYK | cmyk(40.4%, 0%, 37.1%, 40.8%) |
| CIE-LAB | lab(57.20, -31.91, 23.47) |
| CIE-LCH | lch(57.20, 39.62, 143.67°) |
| OKLab | oklab(62% -0.0869 0.0586) |
| OKLCH | oklch(62% 0.105 146) |
| XYZ | xyz(17.3477, 25.1321, 14.7611) |
| Luminance | 0.2513 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Light Forest Green
#4F9153
ΔE00 2.84
Muted Green
#5FA052
ΔE00 5.06
Greenish
#40A368
ΔE00 5.22
Fern Green
#548D44
ΔE00 5.50
Moss
#769958
ΔE00 6.10
Flat Green
#699D4C
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A975F #975A92
analogous
#74975A #5A975F #5A977E
triadic
#5A975F #5F5A97 #975F5A
tetradic
#5A975F #5A7497 #975A92 #977E5A
square
#5A975F #5A7497 #975A92 #977E5A
split-complementary
#5A975F #7E5A97 #975A74
monochromatic
#2C4A2F #437147 #5A975F #7DB181 #A3C8A6
Accessibility & contrast
On white
3.48
#5A975F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.03
#5A975F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A975F
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A975F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A975F | 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)
#998D5B
Deuteranopia (green-blind)
#908762
Tritanopia (blue-blind)
#529489
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #5a975f; /* rgb */ color: rgb(90, 151, 95); /* oklch */ color: oklch(62.0% 0.105 146.0);
Tailwind
colors: {
custom: {
50: '#8bb68d',
500: '#5a975f',
950: '#000000',
},
}SCSS
$custom: #5a975f; $custom-light: #8bb68d; $custom-dark: #000000;
JSON
{
"hex": "#5a975f",
"rgb": {
"r": 90,
"g": 151,
"b": 95
},
"hsl": {
"h": 124.918,
"s": 25.311,
"l": 47.255
},
"oklch": {
"l": 0.61996,
"c": 0.10481,
"h": 146
},
"luminance": 0.25133
}Semantic roles & 50–950 ramp
primary
#5A975F
secondary
#B697B4
accent
#66BAC2
background
#F8FBF8
surface
#F0F6F0
border
#CBD0CB
text
#0C110C
muted
#7D807D