#9B915A#9B915A
#9B915A is a light, moderate yellow. Relative luminance 0.280; OKLCH L 65.2% C 0.075 H 99.2°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #9B915A |
|---|---|
| RGB | rgb(155, 145, 90) |
| HSL | hsl(51, 27%, 48%) |
| HSV | hsv(51, 42%, 61%) |
| CMYK | cmyk(0%, 6.5%, 41.9%, 39.2%) |
| CIE-LAB | lab(59.85, -4.51, 30.50) |
| CIE-LCH | lch(59.85, 30.83, 98.41°) |
| OKLab | oklab(65.23% -0.012 0.0744) |
| OKLCH | oklch(65.23% 0.075 99.2) |
| XYZ | xyz(25.4890, 27.9583, 13.7247) |
| Luminance | 0.2796 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 1.11
Dark Sand
#A88F59
ΔE00 5.34
Dark Beige
#AC9362
ΔE00 6.05
Khaki (survey)
#AAA662
ΔE00 6.87
Drab
#828344
ΔE00 7.14
Dust
#B2996E
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B915A #5A649B
analogous
#9B705A #9B915A #849B5A
triadic
#9B915A #5A9B91 #915A9B
tetradic
#9B915A #5A9B70 #5A649B #9B5A84
square
#9B915A #5A9B70 #5A649B #9B5A84
split-complementary
#9B915A #5A849B #705A9B
monochromatic
#4E492D #746D44 #9B915A #B4AC7E #CBC5A5
Accessibility & contrast
On white
3.19
#9B915A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.59
#9B915A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B915A
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B915A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B915A | 1.00 | 3.19 | 6.59 | 6.59 |
| #FFFFFF | 3.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8E56
Deuteranopia (green-blind)
#9E925C
Tritanopia (blue-blind)
#A48A83
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #9b915a; /* rgb */ color: rgb(155, 145, 90); /* oklch */ color: oklch(65.2% 0.075 99.2);
Tailwind
colors: {
custom: {
50: '#bab189',
500: '#9b915a',
950: '#000000',
},
}SCSS
$custom: #9b915a; $custom-light: #bab189; $custom-dark: #000000;
JSON
{
"hex": "#9b915a",
"rgb": {
"r": 155,
"g": 145,
"b": 90
},
"hsl": {
"h": 50.769,
"s": 26.531,
"l": 48.039
},
"oklch": {
"l": 0.65233,
"c": 0.07536,
"h": 99.2
},
"luminance": 0.27958
}Semantic roles & 50–950 ramp
primary
#9B915A
secondary
#989DB8
accent
#73C365
background
#FBFAF8
surface
#F6F4F0
border
#D0CECB
text
#12100B
muted
#817F7C