#9C811D#9C811D
#9C811D is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 61.2% C 0.116 H 92.6°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #9C811D |
|---|---|
| RGB | rgb(156, 129, 29) |
| HSL | hsl(47, 69%, 36%) |
| HSV | hsv(47, 81%, 61%) |
| CMYK | cmyk(0%, 17.3%, 81.4%, 38.8%) |
| CIE-LAB | lab(54.93, 0.27, 53.52) |
| CIE-LCH | lch(54.93, 53.52, 89.71°) |
| OKLab | oklab(61.16% -0.0053 0.1158) |
| OKLCH | oklch(61.16% 0.116 92.6) |
| XYZ | xyz(21.7836, 22.8585, 4.4269) |
| Luminance | 0.2286 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.04
Baby Poop
#937C00
ΔE00 2.96
Yellowish Brown
#9B7A01
ΔE00 3.03
Puke Brown
#947706
ΔE00 3.73
Dark Mustard
#A88905
ΔE00 3.92
Hazel
#8E7618
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C811D #1D389C
analogous
#9C421D #9C811D #789C1D
triadic
#9C811D #1D9C81 #811D9C
tetradic
#9C811D #1D9C42 #1D389C #9C1D78
square
#9C811D #1D9C42 #1D389C #9C1D78
split-complementary
#9C811D #1D789C #421D9C
monochromatic
#352C0A #685613 #9C811D #D0AC27 #DFC254
Accessibility & contrast
On white
3.77
#9C811D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.57
#9C811D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C811D
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C811D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C811D | 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)
#907F04
Deuteranopia (green-blind)
#978724
Tritanopia (blue-blind)
#A9766E
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #9c811d; /* rgb */ color: rgb(156, 129, 29); /* oklch */ color: oklch(61.2% 0.116 92.6);
Tailwind
colors: {
custom: {
50: '#bda563',
500: '#9c811d',
950: '#000000',
},
}SCSS
$custom: #9c811d; $custom-light: #bda563; $custom-dark: #000000;
JSON
{
"hex": "#9c811d",
"rgb": {
"r": 156,
"g": 129,
"b": 29
},
"hsl": {
"h": 47.244,
"s": 68.649,
"l": 36.275
},
"oklch": {
"l": 0.61161,
"c": 0.11593,
"h": 92.6
},
"luminance": 0.22857
}Semantic roles & 50–950 ramp
primary
#9C811D
secondary
#526AC2
accent
#62EB3C
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A