#5A975C#5A975C
#5A975C is a mid, moderate green. Relative luminance 0.251; OKLCH L 61.9% C 0.108 H 144.8°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #5A975C |
|---|---|
| RGB | rgb(90, 151, 92) |
| HSL | hsl(122, 25%, 47%) |
| HSV | hsv(122, 40%, 59%) |
| CMYK | cmyk(40.4%, 0%, 39.1%, 40.8%) |
| CIE-LAB | lab(57.15, -32.42, 25.04) |
| CIE-LCH | lch(57.15, 40.97, 142.32°) |
| OKLab | oklab(61.94% -0.0883 0.0622) |
| OKLCH | oklch(61.94% 0.108 144.8) |
| XYZ | xyz(17.2140, 25.0786, 14.0567) |
| Luminance | 0.2508 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Light Forest Green
#4F9153
ΔE00 2.56
Muted Green
#5FA052
ΔE00 4.50
Fern Green
#548D44
ΔE00 4.97
Greenish
#40A368
ΔE00 5.41
Flat Green
#699D4C
ΔE00 5.59
Moss
#769958
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A975C #975A95
analogous
#77975A #5A975C #5A977B
triadic
#5A975C #5C5A97 #975C5A
tetradic
#5A975C #5A7797 #975A95 #977B5A
square
#5A975C #5A7797 #975A95 #977B5A
split-complementary
#5A975C #7B5A97 #975A77
monochromatic
#2C4A2D #437145 #5A975C #7DB17F #A3C8A4
Accessibility & contrast
On white
3.49
#5A975C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.02
#5A975C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A975C
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A975C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A975C | 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)
#998D58
Deuteranopia (green-blind)
#908760
Tritanopia (blue-blind)
#539488
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #5a975c; /* rgb */ color: rgb(90, 151, 92); /* oklch */ color: oklch(61.9% 0.108 144.8);
Tailwind
colors: {
custom: {
50: '#8cb68b',
500: '#5a975c',
950: '#000000',
},
}SCSS
$custom: #5a975c; $custom-light: #8cb68b; $custom-dark: #000000;
JSON
{
"hex": "#5a975c",
"rgb": {
"r": 90,
"g": 151,
"b": 92
},
"hsl": {
"h": 121.967,
"s": 25.311,
"l": 47.255
},
"oklch": {
"l": 0.61937,
"c": 0.10799,
"h": 144.8
},
"luminance": 0.2508
}Semantic roles & 50–950 ramp
primary
#5A975C
secondary
#B697B5
accent
#66BFC2
background
#F8FBF8
surface
#F0F6F0
border
#CBD0CB
text
#0C110C
muted
#7D807D