#9B7E1D#9B7E1D
#9B7E1D is a mid, moderate yellow. Relative luminance 0.220; OKLCH L 60.4% C 0.114 H 90.9°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #9B7E1D |
|---|---|
| RGB | rgb(155, 126, 29) |
| HSL | hsl(46, 68%, 36%) |
| HSV | hsv(46, 81%, 61%) |
| CMYK | cmyk(0%, 18.7%, 81.3%, 39.2%) |
| CIE-LAB | lab(54.01, 1.48, 52.65) |
| CIE-LCH | lch(54.01, 52.68, 88.39°) |
| OKLab | oklab(60.41% -0.0018 0.114) |
| OKLCH | oklch(60.41% 0.114 90.9) |
| XYZ | xyz(21.2015, 21.9803, 4.2881) |
| Luminance | 0.2198 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Brown
#9B7A01
ΔE00 2.21
Puke Brown
#947706
ΔE00 2.85
Diarrhea
#9F8303
ΔE00 2.88
Baby Poop
#937C00
ΔE00 3.01
Hazel
#8E7618
ΔE00 3.77
Poo
#8F7303
ΔE00 4.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B7E1D #1D3A9B
analogous
#9B3F1D #9B7E1D #799B1D
triadic
#9B7E1D #1D9B7E #7E1D9B
tetradic
#9B7E1D #1D9B3F #1D3A9B #9B1D79
square
#9B7E1D #1D9B3F #1D3A9B #9B1D79
split-complementary
#9B7E1D #1D799B #3F1D9B
monochromatic
#342A0A #675413 #9B7E1D #CFA827 #DFBF53
Accessibility & contrast
On white
3.89
#9B7E1D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.40
#9B7E1D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B7E1D
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B7E1D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B7E1D | 1.00 | 3.89 | 5.40 | 5.40 |
| #FFFFFF | 3.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7C05
Deuteranopia (green-blind)
#948523
Tritanopia (blue-blind)
#A8736C
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #9b7e1d; /* rgb */ color: rgb(155, 126, 29); /* oklch */ color: oklch(60.4% 0.114 90.9);
Tailwind
colors: {
custom: {
50: '#bda362',
500: '#9b7e1d',
950: '#000000',
},
}SCSS
$custom: #9b7e1d; $custom-light: #bda362; $custom-dark: #000000;
JSON
{
"hex": "#9b7e1d",
"rgb": {
"r": 155,
"g": 126,
"b": 29
},
"hsl": {
"h": 46.19,
"s": 68.478,
"l": 36.078
},
"oklch": {
"l": 0.6041,
"c": 0.11402,
"h": 90.9
},
"luminance": 0.21979
}Semantic roles & 50–950 ramp
primary
#9B7E1D
secondary
#526CC2
accent
#65EB3C
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130F06
muted
#827E7A