#989C5B#989C5B
#989C5B is a light, moderate yellow. Relative luminance 0.312; OKLCH L 67.4% C 0.087 H 111.6°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).
Color values
| HEX | #989C5B |
|---|---|
| RGB | rgb(152, 156, 91) |
| HSL | hsl(64, 26%, 48%) |
| HSV | hsv(64, 42%, 61%) |
| CMYK | cmyk(2.6%, 0%, 41.7%, 38.8%) |
| CIE-LAB | lab(62.68, -11.58, 33.50) |
| CIE-LCH | lch(62.68, 35.45, 109.07°) |
| OKLab | oklab(67.43% -0.0321 0.0813) |
| OKLCH | oklch(67.43% 0.087 111.6) |
| XYZ | xyz(26.7260, 31.2081, 14.5114) |
| Luminance | 0.3121 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Moss Green
#8A9A5B
ΔE00 3.80
Khaki (survey)
#AAA662
ΔE00 4.36
Dark Khaki
#9B8F55
ΔE00 6.17
Camo
#7F8F4E
ΔE00 6.20
Drab
#828344
ΔE00 8.49
Moss
#769958
ΔE00 8.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#989C5B #5F5B9C
analogous
#9C7F5B #989C5B #779C5B
triadic
#989C5B #5B989C #9C5B98
tetradic
#989C5B #5B9C7F #5F5B9C #9C5B77
square
#989C5B #5B9C7F #5F5B9C #9C5B77
split-complementary
#989C5B #5B779C #7F5B9C
monochromatic
#4D4F2E #727544 #989C5B #B1B580 #C9CBA6
Accessibility & contrast
On white
2.90
#989C5B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.24
#989C5B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #989C5B
7.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##989C5B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##989C5B | 1.00 | 2.90 | 7.24 | 7.24 |
| #FFFFFF | 2.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A59756
Deuteranopia (green-blind)
#A5995E
Tritanopia (blue-blind)
#A0958C
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #989c5b; /* rgb */ color: rgb(152, 156, 91); /* oklch */ color: oklch(67.4% 0.087 111.6);
Tailwind
colors: {
custom: {
50: '#b7b98a',
500: '#989c5b',
950: '#000000',
},
}SCSS
$custom: #989c5b; $custom-light: #b7b98a; $custom-dark: #000000;
JSON
{
"hex": "#989c5b",
"rgb": {
"r": 152,
"g": 156,
"b": 91
},
"hsl": {
"h": 63.692,
"s": 26.316,
"l": 48.431
},
"oklch": {
"l": 0.67425,
"c": 0.0874,
"h": 111.6
},
"luminance": 0.31208
}Semantic roles & 50–950 ramp
primary
#989C5B
secondary
#9C9AB9
accent
#65C36B
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#11110C
muted
#80807D