#9C811E#9C811E
#9C811E is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 61.2% C 0.115 H 92.6°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #9C811E |
|---|---|
| RGB | rgb(156, 129, 30) |
| HSL | hsl(47, 68%, 36%) |
| HSV | hsv(47, 81%, 61%) |
| CMYK | cmyk(0%, 17.3%, 80.8%, 38.8%) |
| CIE-LAB | lab(54.93, 0.31, 53.18) |
| CIE-LCH | lch(54.93, 53.18, 89.67°) |
| OKLab | oklab(61.17% -0.0051 0.1153) |
| OKLCH | oklch(61.17% 0.115 92.6) |
| XYZ | xyz(21.7962, 22.8635, 4.4931) |
| Luminance | 0.2286 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.13
Baby Poop
#937C00
ΔE00 3.01
Yellowish Brown
#9B7A01
ΔE00 3.07
Puke Brown
#947706
ΔE00 3.75
Dark Mustard
#A88905
ΔE00 3.97
Hazel
#8E7618
ΔE00 4.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C811E #1E399C
analogous
#9C421E #9C811E #789C1E
triadic
#9C811E #1E9C81 #811E9C
tetradic
#9C811E #1E9C42 #1E399C #9C1E78
square
#9C811E #1E9C42 #1E399C #9C1E78
split-complementary
#9C811E #1E789C #421E9C
monochromatic
#352C0A #695714 #9C811E #CFAB28 #DEC156
Accessibility & contrast
On white
3.77
#9C811E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.57
#9C811E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C811E
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C811E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C811E | 1.00 | 3.77 | 5.57 | 5.57 |
| #FFFFFF | 3.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907F06
Deuteranopia (green-blind)
#978725
Tritanopia (blue-blind)
#A9766E
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #9c811e; /* rgb */ color: rgb(156, 129, 30); /* oklch */ color: oklch(61.2% 0.115 92.6);
Tailwind
colors: {
custom: {
50: '#bda563',
500: '#9c811e',
950: '#000000',
},
}SCSS
$custom: #9c811e; $custom-light: #bda563; $custom-dark: #000000;
JSON
{
"hex": "#9c811e",
"rgb": {
"r": 156,
"g": 129,
"b": 30
},
"hsl": {
"h": 47.143,
"s": 67.742,
"l": 36.471
},
"oklch": {
"l": 0.61166,
"c": 0.11542,
"h": 92.6
},
"luminance": 0.22862
}Semantic roles & 50–950 ramp
primary
#9C811E
secondary
#546BC2
accent
#62EB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A