#9C7E1D#9C7E1D
#9C7E1D is a mid, moderate yellow. Relative luminance 0.221; OKLCH L 60.5% C 0.114 H 90.3°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #9C7E1D |
|---|---|
| RGB | rgb(156, 126, 29) |
| HSL | hsl(46, 69%, 36%) |
| HSV | hsv(46, 81%, 61%) |
| CMYK | cmyk(0%, 19.2%, 81.4%, 38.8%) |
| CIE-LAB | lab(54.11, 1.95, 52.79) |
| CIE-LCH | lch(54.11, 52.82, 87.89°) |
| OKLab | oklab(60.52% -0.0006 0.1142) |
| OKLCH | oklch(60.52% 0.114 90.3) |
| XYZ | xyz(21.3942, 22.0797, 4.2971) |
| Luminance | 0.2208 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Brown
#9B7A01
ΔE00 2.12
Diarrhea
#9F8303
ΔE00 2.93
Puke Brown
#947706
ΔE00 2.94
Baby Poop
#937C00
ΔE00 3.28
Hazel
#8E7618
ΔE00 3.97
Poo
#8F7303
ΔE00 4.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C7E1D #1D3B9C
analogous
#9C3F1D #9C7E1D #7B9C1D
triadic
#9C7E1D #1D9C7E #7E1D9C
tetradic
#9C7E1D #1D9C3F #1D3B9C #9C1D7B
square
#9C7E1D #1D9C3F #1D3B9C #9C1D7B
split-complementary
#9C7E1D #1D7B9C #3F1D9C
monochromatic
#352B0A #685413 #9C7E1D #D0A827 #DFBE54
Accessibility & contrast
On white
3.88
#9C7E1D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.42
#9C7E1D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C7E1D
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C7E1D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C7E1D | 1.00 | 3.88 | 5.42 | 5.42 |
| #FFFFFF | 3.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7D05
Deuteranopia (green-blind)
#958523
Tritanopia (blue-blind)
#A9736C
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #9c7e1d; /* rgb */ color: rgb(156, 126, 29); /* oklch */ color: oklch(60.5% 0.114 90.3);
Tailwind
colors: {
custom: {
50: '#bda362',
500: '#9c7e1d',
950: '#000000',
},
}SCSS
$custom: #9c7e1d; $custom-light: #bda362; $custom-dark: #000000;
JSON
{
"hex": "#9c7e1d",
"rgb": {
"r": 156,
"g": 126,
"b": 29
},
"hsl": {
"h": 45.827,
"s": 68.649,
"l": 36.275
},
"oklch": {
"l": 0.60518,
"c": 0.11424,
"h": 90.3
},
"luminance": 0.22078
}Semantic roles & 50–950 ramp
primary
#9C7E1D
secondary
#526DC2
accent
#66EB3C
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130F06
muted
#827E7A