#5A905C#5A905C
#5A905C is a mid, moderate green. Relative luminance 0.229; OKLCH L 60.2% C 0.097 H 145.1°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #5A905C |
|---|---|
| RGB | rgb(90, 144, 92) |
| HSL | hsl(122, 23%, 46%) |
| HSV | hsv(122, 38%, 56%) |
| CMYK | cmyk(37.5%, 0%, 36.1%, 43.5%) |
| CIE-LAB | lab(54.96, -29.10, 22.15) |
| CIE-LCH | lch(54.96, 36.57, 142.72°) |
| OKLab | oklab(60.16% -0.0793 0.0554) |
| OKLCH | oklch(60.16% 0.097 145.1) |
| XYZ | xyz(16.1207, 22.8920, 13.6923) |
| Luminance | 0.2289 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Light Forest Green
#4F9153
ΔE00 2.54
Dark Sage
#598556
ΔE00 3.95
Fern Green
#548D44
ΔE00 4.84
Slate Green
#658D6D
ΔE00 5.50
Sea Green
#2E8B57
ΔE00 5.93
Moss
#769958
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A905C #905A8E
analogous
#73905A #5A905C #5A9077
triadic
#5A905C #5C5A90 #905C5A
tetradic
#5A905C #5A7390 #905A8E #90775A
square
#5A905C #5A7390 #905A8E #90775A
split-complementary
#5A905C #775A90 #905A73
monochromatic
#2B452C #426A44 #5A905C #7BAC7D #A0C4A2
Accessibility & contrast
On white
3.76
#5A905C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.58
#5A905C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A905C
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A905C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A905C | 1.00 | 3.76 | 5.58 | 5.58 |
| #FFFFFF | 3.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928759
Deuteranopia (green-blind)
#8A815F
Tritanopia (blue-blind)
#548D83
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #5a905c; /* rgb */ color: rgb(90, 144, 92); /* oklch */ color: oklch(60.2% 0.097 145.1);
Tailwind
colors: {
custom: {
50: '#8bb18a',
500: '#5a905c',
950: '#000000',
},
}SCSS
$custom: #5a905c; $custom-light: #8bb18a; $custom-dark: #000000;
JSON
{
"hex": "#5a905c",
"rgb": {
"r": 90,
"g": 144,
"b": 92
},
"hsl": {
"h": 122.222,
"s": 23.077,
"l": 45.882
},
"oklch": {
"l": 0.60158,
"c": 0.09671,
"h": 145.1
},
"luminance": 0.22893
}Semantic roles & 50–950 ramp
primary
#5A905C
secondary
#B294B1
accent
#68BCC0
background
#F8FAF8
surface
#F0F5F0
border
#CBCFCB
text
#0C100C
muted
#7D7F7D