#9B915F#9B915F
#9B915F is a light, moderate yellow. Relative luminance 0.280; OKLCH L 65.3% C 0.069 H 98.3°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #9B915F |
|---|---|
| RGB | rgb(155, 145, 95) |
| HSL | hsl(50, 24%, 49%) |
| HSV | hsv(50, 39%, 61%) |
| CMYK | cmyk(0%, 6.5%, 38.7%, 39.2%) |
| CIE-LAB | lab(59.93, -3.93, 27.89) |
| CIE-LCH | lch(59.93, 28.16, 98.02°) |
| OKLab | oklab(65.32% -0.01 0.0686) |
| OKLCH | oklch(65.32% 0.069 98.3) |
| XYZ | xyz(25.7090, 28.0463, 14.8835) |
| Luminance | 0.2805 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 2.03
Dark Sand
#A88F59
ΔE00 5.30
Dark Beige
#AC9362
ΔE00 5.77
Dust
#B2996E
ΔE00 7.27
Khaki (survey)
#AAA662
ΔE00 7.32
Brown Grey
#8D8468
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B915F #5F699B
analogous
#9B735F #9B915F #879B5F
triadic
#9B915F #5F9B91 #915F9B
tetradic
#9B915F #5F9B73 #5F699B #9B5F87
square
#9B915F #5F9B73 #5F699B #9B5F87
split-complementary
#9B915F #5F879B #735F9B
monochromatic
#4F4A30 #756E48 #9B915F #B3AC84 #CBC5AA
Accessibility & contrast
On white
3.18
#9B915F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.61
#9B915F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B915F
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B915F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B915F | 1.00 | 3.18 | 6.61 | 6.61 |
| #FFFFFF | 3.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8E5B
Deuteranopia (green-blind)
#9D9261
Tritanopia (blue-blind)
#A48A84
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #9b915f; /* rgb */ color: rgb(155, 145, 95); /* oklch */ color: oklch(65.3% 0.069 98.3);
Tailwind
colors: {
custom: {
50: '#b9b18d',
500: '#9b915f',
950: '#000000',
},
}SCSS
$custom: #9b915f; $custom-light: #b9b18d; $custom-dark: #000000;
JSON
{
"hex": "#9b915f",
"rgb": {
"r": 155,
"g": 145,
"b": 95
},
"hsl": {
"h": 50,
"s": 24,
"l": 49.02
},
"oklch": {
"l": 0.65322,
"c": 0.06936,
"h": 98.3
},
"luminance": 0.28046
}Semantic roles & 50–950 ramp
primary
#9B915F
secondary
#9DA1B9
accent
#76C067
background
#FBFAF8
surface
#F6F4F0
border
#D0CECB
text
#12100C
muted
#817F7D