#9B995B#9B995B
#9B995B is a light, moderate yellow. Relative luminance 0.305; OKLCH L 67.0% C 0.083 H 106.8°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #9B995B |
|---|---|
| RGB | rgb(155, 153, 91) |
| HSL | hsl(58, 26%, 48%) |
| HSV | hsv(58, 41%, 61%) |
| CMYK | cmyk(0%, 1.3%, 41.3%, 39.2%) |
| CIE-LAB | lab(62.09, -8.73, 32.80) |
| CIE-LCH | lch(62.09, 33.95, 104.90°) |
| OKLab | oklab(67.01% -0.0241 0.0797) |
| OKLCH | oklch(67.01% 0.083 106.8) |
| XYZ | xyz(26.7976, 30.5070, 14.3723) |
| Luminance | 0.3051 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 4.28
Dark Khaki
#9B8F55
ΔE00 4.30
Moss Green
#8A9A5B
ΔE00 5.37
Camo
#7F8F4E
ΔE00 7.01
Drab
#828344
ΔE00 7.96
Dark Sand
#A88F59
ΔE00 8.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B995B #5B5D9B
analogous
#9B795B #9B995B #7D9B5B
triadic
#9B995B #5B9B99 #995B9B
tetradic
#9B995B #5B9B79 #5B5D9B #9B5B7D
square
#9B995B #5B9B79 #5B5D9B #9B5B7D
split-complementary
#9B995B #5B7D9B #795B9B
monochromatic
#4E4D2E #747344 #9B995B #B4B27F #CBC9A6
Accessibility & contrast
On white
2.96
#9B995B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.10
#9B995B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9B995B
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B995B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B995B | 1.00 | 2.96 | 7.10 | 7.10 |
| #FFFFFF | 2.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A39556
Deuteranopia (green-blind)
#A4975E
Tritanopia (blue-blind)
#A3928A
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #9b995b; /* rgb */ color: rgb(155, 153, 91); /* oklch */ color: oklch(67.0% 0.083 106.8);
Tailwind
colors: {
custom: {
50: '#b9b68a',
500: '#9b995b',
950: '#000000',
},
}SCSS
$custom: #9b995b; $custom-light: #b9b68a; $custom-dark: #000000;
JSON
{
"hex": "#9b995b",
"rgb": {
"r": 155,
"g": 153,
"b": 91
},
"hsl": {
"h": 58.125,
"s": 26.016,
"l": 48.235
},
"oklch": {
"l": 0.67013,
"c": 0.08325,
"h": 106.8
},
"luminance": 0.30506
}Semantic roles & 50–950 ramp
primary
#9B995B
secondary
#999AB9
accent
#68C265
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12110C
muted
#81807D