#9B811E#9B811E
#9B811E is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 61.1% C 0.115 H 93.2°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #9B811E |
|---|---|
| RGB | rgb(155, 129, 30) |
| HSL | hsl(48, 68%, 36%) |
| HSV | hsv(48, 81%, 61%) |
| CMYK | cmyk(0%, 16.8%, 80.6%, 39.2%) |
| CIE-LAB | lab(54.83, -0.16, 53.05) |
| CIE-LCH | lch(54.83, 53.05, 90.17°) |
| OKLab | oklab(61.06% -0.0064 0.1151) |
| OKLCH | oklch(61.06% 0.115 93.2) |
| XYZ | xyz(21.6034, 22.7641, 4.4841) |
| Luminance | 0.2276 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.19
Baby Poop
#937C00
ΔE00 2.83
Yellowish Brown
#9B7A01
ΔE00 3.22
Puke Brown
#947706
ΔE00 3.75
Dark Mustard
#A88905
ΔE00 4.11
Hazel
#8E7618
ΔE00 4.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B811E #1E389B
analogous
#9B431E #9B811E #779B1E
triadic
#9B811E #1E9B81 #811E9B
tetradic
#9B811E #1E9B43 #1E389B #9B1E77
square
#9B811E #1E9B43 #1E389B #9B1E77
split-complementary
#9B811E #1E779B #431E9B
monochromatic
#342C0A #685614 #9B811E #CEAC28 #DEC255
Accessibility & contrast
On white
3.78
#9B811E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.55
#9B811E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B811E
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B811E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B811E | 1.00 | 3.78 | 5.55 | 5.55 |
| #FFFFFF | 3.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907F06
Deuteranopia (green-blind)
#968625
Tritanopia (blue-blind)
#A8766E
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #9b811e; /* rgb */ color: rgb(155, 129, 30); /* oklch */ color: oklch(61.1% 0.115 93.2);
Tailwind
colors: {
custom: {
50: '#bda563',
500: '#9b811e',
950: '#000000',
},
}SCSS
$custom: #9b811e; $custom-light: #bda563; $custom-dark: #000000;
JSON
{
"hex": "#9b811e",
"rgb": {
"r": 155,
"g": 129,
"b": 30
},
"hsl": {
"h": 47.52,
"s": 67.568,
"l": 36.275
},
"oklch": {
"l": 0.61061,
"c": 0.11526,
"h": 93.2
},
"luminance": 0.22763
}Semantic roles & 50–950 ramp
primary
#9B811E
secondary
#536AC2
accent
#61EA3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A