#9B975F#9B975F
#9B975F is a light, moderate yellow. Relative luminance 0.299; OKLCH L 66.6% C 0.076 H 104.8°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).
Color values
| HEX | #9B975F |
|---|---|
| RGB | rgb(155, 151, 95) |
| HSL | hsl(56, 24%, 49%) |
| HSV | hsv(56, 39%, 61%) |
| CMYK | cmyk(0%, 2.6%, 38.7%, 39.2%) |
| CIE-LAB | lab(61.59, -7.19, 30.04) |
| CIE-LCH | lch(61.59, 30.89, 103.47°) |
| OKLab | oklab(66.64% -0.0194 0.0736) |
| OKLCH | oklch(66.64% 0.076 104.8) |
| XYZ | xyz(26.6501, 29.9286, 15.1972) |
| Luminance | 0.2993 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 3.53
Khaki (survey)
#AAA662
ΔE00 5.08
Moss Green
#8A9A5B
ΔE00 6.02
Camo
#7F8F4E
ΔE00 7.39
Dark Sand
#A88F59
ΔE00 7.50
Drab
#828344
ΔE00 7.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B975F #5F639B
analogous
#9B795F #9B975F #819B5F
triadic
#9B975F #5F9B97 #975F9B
tetradic
#9B975F #5F9B79 #5F639B #9B5F81
square
#9B975F #5F9B79 #5F639B #9B5F81
split-complementary
#9B975F #5F819B #795F9B
monochromatic
#4F4D30 #757248 #9B975F #B3B084 #CBC9AA
Accessibility & contrast
On white
3.01
#9B975F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.99
#9B975F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B975F
6.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B975F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B975F | 1.00 | 3.01 | 6.99 | 6.99 |
| #FFFFFF | 3.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A0935B
Deuteranopia (green-blind)
#A29661
Tritanopia (blue-blind)
#A39089
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #9b975f; /* rgb */ color: rgb(155, 151, 95); /* oklch */ color: oklch(66.6% 0.076 104.8);
Tailwind
colors: {
custom: {
50: '#b9b58d',
500: '#9b975f',
950: '#000000',
},
}SCSS
$custom: #9b975f; $custom-light: #b9b58d; $custom-dark: #000000;
JSON
{
"hex": "#9b975f",
"rgb": {
"r": 155,
"g": 151,
"b": 95
},
"hsl": {
"h": 56,
"s": 24,
"l": 49.02
},
"oklch": {
"l": 0.66639,
"c": 0.07609,
"h": 104.8
},
"luminance": 0.29928
}Semantic roles & 50–950 ramp
primary
#9B975F
secondary
#9D9FB9
accent
#6DC067
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12110C
muted
#81807D