#5A975B#5A975B
#5A975B is a mid, moderate green. Relative luminance 0.251; OKLCH L 61.9% C 0.109 H 144.5°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #5A975B |
|---|---|
| RGB | rgb(90, 151, 91) |
| HSL | hsl(121, 25%, 47%) |
| HSV | hsv(121, 40%, 59%) |
| CMYK | cmyk(40.4%, 0%, 39.7%, 40.8%) |
| CIE-LAB | lab(57.13, -32.58, 25.56) |
| CIE-LCH | lch(57.13, 41.42, 141.88°) |
| OKLab | oklab(61.92% -0.0887 0.0634) |
| OKLCH | oklch(61.92% 0.109 144.5) |
| XYZ | xyz(17.1706, 25.0612, 13.8280) |
| Luminance | 0.2506 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Light Forest Green
#4F9153
ΔE00 2.51
Muted Green
#5FA052
ΔE00 4.33
Fern Green
#548D44
ΔE00 4.81
Flat Green
#699D4C
ΔE00 5.40
Greenish
#40A368
ΔE00 5.50
Moss
#769958
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A975B #975A96
analogous
#77975A #5A975B #5A977A
triadic
#5A975B #5B5A97 #975B5A
tetradic
#5A975B #5A7797 #975A96 #977A5A
square
#5A975B #5A7797 #975A96 #977A5A
split-complementary
#5A975B #7A5A97 #975A77
monochromatic
#2C4A2D #437144 #5A975B #7DB17E #A3C8A4
Accessibility & contrast
On white
3.49
#5A975B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.01
#5A975B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A975B
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A975B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A975B | 1.00 | 3.49 | 6.01 | 6.01 |
| #FFFFFF | 3.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#998D57
Deuteranopia (green-blind)
#90875F
Tritanopia (blue-blind)
#539488
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #5a975b; /* rgb */ color: rgb(90, 151, 91); /* oklch */ color: oklch(61.9% 0.109 144.5);
Tailwind
colors: {
custom: {
50: '#8cb68a',
500: '#5a975b',
950: '#000000',
},
}SCSS
$custom: #5a975b; $custom-light: #8cb68a; $custom-dark: #000000;
JSON
{
"hex": "#5a975b",
"rgb": {
"r": 90,
"g": 151,
"b": 91
},
"hsl": {
"h": 120.984,
"s": 25.311,
"l": 47.255
},
"oklch": {
"l": 0.61918,
"c": 0.10906,
"h": 144.5
},
"luminance": 0.25062
}Semantic roles & 50–950 ramp
primary
#5A975B
secondary
#B697B6
accent
#66C0C2
background
#F8FBF8
surface
#F0F6F0
border
#CBD0CB
text
#0C110C
muted
#7D807D