#9A996E#9A996E
#9A996E is a light, muted yellow. Relative luminance 0.308; OKLCH L 67.3% C 0.060 H 106.8°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #9A996E |
|---|---|
| RGB | rgb(154, 153, 110) |
| HSL | hsl(59, 18%, 52%) |
| HSV | hsv(59, 29%, 60%) |
| CMYK | cmyk(0%, 0.6%, 28.6%, 39.6%) |
| CIE-LAB | lab(62.32, -6.76, 22.81) |
| CIE-LCH | lch(62.32, 23.79, 106.51°) |
| OKLab | oklab(67.28% -0.0173 0.0572) |
| OKLCH | oklch(67.28% 0.06 106.8) |
| XYZ | xyz(27.5322, 30.7787, 19.2393) |
| Luminance | 0.3078 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 6.02
Moss Green
#8A9A5B
ΔE00 6.59
Stone (survey)
#ADA587
ΔE00 6.75
Khaki (survey)
#AAA662
ΔE00 6.81
Bland
#AFA88B
ΔE00 7.34
Camo
#7F8F4E
ΔE00 8.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A996E #6E6F9A
analogous
#9A836E #9A996E #859A6E
triadic
#9A996E #6E9A99 #996E9A
tetradic
#9A996E #6E9A83 #6E6F9A #9A6E85
square
#9A996E #6E9A83 #6E6F9A #9A6E85
split-complementary
#9A996E #6E859A #836E9A
monochromatic
#53533A #787753 #9A996E #B3B292 #CCCCB6
Accessibility & contrast
On white
2.93
#9A996E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.16
#9A996E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9A996E
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A996E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9A996E | 1.00 | 2.93 | 7.16 | 7.16 |
| #FFFFFF | 2.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A0966B
Deuteranopia (green-blind)
#A19870
Tritanopia (blue-blind)
#A0948E
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #9a996e; /* rgb */ color: rgb(154, 153, 110); /* oklch */ color: oklch(67.3% 0.060 106.8);
Tailwind
colors: {
custom: {
50: '#b8b798',
500: '#9a996e',
950: '#000000',
},
}SCSS
$custom: #9a996e; $custom-light: #b8b798; $custom-dark: #000000;
JSON
{
"hex": "#9a996e",
"rgb": {
"r": 154,
"g": 153,
"b": 110
},
"hsl": {
"h": 58.636,
"s": 17.886,
"l": 51.765
},
"oklch": {
"l": 0.67279,
"c": 0.05973,
"h": 106.8
},
"luminance": 0.30778
}Semantic roles & 50–950 ramp
primary
#9A996E
secondary
#A8A9BC
accent
#6FBB6D
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#11110D
muted
#80807E