#9C7E1E#9C7E1E
#9C7E1E is a mid, moderate yellow. Relative luminance 0.221; OKLCH L 60.5% C 0.114 H 90.2°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #9C7E1E |
|---|---|
| RGB | rgb(156, 126, 30) |
| HSL | hsl(46, 68%, 36%) |
| HSV | hsv(46, 81%, 61%) |
| CMYK | cmyk(0%, 19.2%, 80.8%, 38.8%) |
| CIE-LAB | lab(54.12, 1.98, 52.45) |
| CIE-LCH | lch(54.12, 52.49, 87.84°) |
| OKLab | oklab(60.52% -0.0004 0.1137) |
| OKLCH | oklch(60.52% 0.114 90.2) |
| XYZ | xyz(21.4068, 22.0848, 4.3633) |
| Luminance | 0.2208 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Brown
#9B7A01
ΔE00 2.19
Puke Brown
#947706
ΔE00 2.99
Diarrhea
#9F8303
ΔE00 3.02
Baby Poop
#937C00
ΔE00 3.35
Hazel
#8E7618
ΔE00 3.97
Poo
#8F7303
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C7E1E #1E3C9C
analogous
#9C3F1E #9C7E1E #7B9C1E
triadic
#9C7E1E #1E9C7E #7E1E9C
tetradic
#9C7E1E #1E9C3F #1E3C9C #9C1E7B
square
#9C7E1E #1E9C3F #1E3C9C #9C1E7B
split-complementary
#9C7E1E #1E7B9C #3F1E9C
monochromatic
#352B0A #695514 #9C7E1E #CFA728 #DEBE56
Accessibility & contrast
On white
3.88
#9C7E1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.42
#9C7E1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C7E1E
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C7E1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C7E1E | 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)
#8D7D08
Deuteranopia (green-blind)
#958524
Tritanopia (blue-blind)
#A9736C
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #9c7e1e; /* rgb */ color: rgb(156, 126, 30); /* oklch */ color: oklch(60.5% 0.114 90.2);
Tailwind
colors: {
custom: {
50: '#bda363',
500: '#9c7e1e',
950: '#000000',
},
}SCSS
$custom: #9c7e1e; $custom-light: #bda363; $custom-dark: #000000;
JSON
{
"hex": "#9c7e1e",
"rgb": {
"r": 156,
"g": 126,
"b": 30
},
"hsl": {
"h": 45.714,
"s": 67.742,
"l": 36.471
},
"oklch": {
"l": 0.60524,
"c": 0.11374,
"h": 90.2
},
"luminance": 0.22083
}Semantic roles & 50–950 ramp
primary
#9C7E1E
secondary
#546EC2
accent
#66EB3D
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130F06
muted
#827E7A