#9B8747#9B8747
#9B8747 is a light, moderate yellow. Relative luminance 0.248; OKLCH L 62.8% C 0.087 H 92.4°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #9B8747 |
|---|---|
| RGB | rgb(155, 135, 71) |
| HSL | hsl(46, 37%, 44%) |
| HSV | hsv(46, 54%, 61%) |
| CMYK | cmyk(0%, 12.9%, 54.2%, 39.2%) |
| CIE-LAB | lab(56.83, -0.92, 36.84) |
| CIE-LCH | lch(56.83, 36.85, 91.43°) |
| OKLab | oklab(62.76% -0.0036 0.0872) |
| OKLCH | oklch(62.76% 0.087 92.4) |
| XYZ | xyz(23.3197, 24.7525, 9.5094) |
| Luminance | 0.2475 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 3.73
Dark Sand
#A88F59
ΔE00 4.44
Dark Beige
#AC9362
ΔE00 6.21
Dark Tan
#AF884A
ΔE00 6.68
Coffee
#A6814C
ΔE00 6.92
Diarrhea
#9F8303
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B8747 #475B9B
analogous
#9B5D47 #9B8747 #859B47
triadic
#9B8747 #479B87 #87479B
tetradic
#9B8747 #479B5D #475B9B #9B4785
square
#9B8747 #479B5D #475B9B #9B4785
split-complementary
#9B8747 #47859B #5D479B
monochromatic
#473E21 #716234 #9B8747 #B9A566 #CCBE90
Accessibility & contrast
On white
3.53
#9B8747 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.95
#9B8747 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B8747
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B8747 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B8747 | 1.00 | 3.53 | 5.95 | 5.95 |
| #FFFFFF | 3.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938541
Deuteranopia (green-blind)
#988B4A
Tritanopia (blue-blind)
#A67E78
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #9b8747; /* rgb */ color: rgb(155, 135, 71); /* oklch */ color: oklch(62.8% 0.087 92.4);
Tailwind
colors: {
custom: {
50: '#baa97c',
500: '#9b8747',
950: '#000000',
},
}SCSS
$custom: #9b8747; $custom-light: #baa97c; $custom-dark: #000000;
JSON
{
"hex": "#9b8747",
"rgb": {
"r": 155,
"g": 135,
"b": 71
},
"hsl": {
"h": 45.714,
"s": 37.168,
"l": 44.314
},
"oklch": {
"l": 0.62761,
"c": 0.08723,
"h": 92.4
},
"luminance": 0.24751
}Semantic roles & 50–950 ramp
primary
#9B8747
secondary
#8692B8
accent
#76CD5B
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#120F09
muted
#817F7B