#9B7C1C#9B7C1C
#9B7C1C is a mid, moderate yellow. Relative luminance 0.215; OKLCH L 60.0% C 0.113 H 89.4°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #9B7C1C |
|---|---|
| RGB | rgb(155, 124, 28) |
| HSL | hsl(45, 69%, 36%) |
| HSV | hsv(45, 82%, 61%) |
| CMYK | cmyk(0%, 20%, 81.9%, 39.2%) |
| CIE-LAB | lab(53.46, 2.57, 52.51) |
| CIE-LCH | lch(53.46, 52.57, 87.20°) |
| OKLab | oklab(59.98% 0.0012 0.1135) |
| OKLCH | oklch(59.98% 0.113 89.4) |
| XYZ | xyz(20.9361, 21.4691, 4.1396) |
| Luminance | 0.2147 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Brown
#9B7A01
ΔE00 1.80
Puke Brown
#947706
ΔE00 2.48
Baby Poop
#937C00
ΔE00 3.44
Diarrhea
#9F8303
ΔE00 3.56
Hazel
#8E7618
ΔE00 3.59
Poo
#8F7303
ΔE00 3.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B7C1C #1C3B9B
analogous
#9B3C1C #9B7C1C #7A9B1C
triadic
#9B7C1C #1C9B7C #7C1C9B
tetradic
#9B7C1C #1C9B3C #1C3B9B #9B1C7A
square
#9B7C1C #1C9B3C #1C3B9B #9B1C7A
split-complementary
#9B7C1C #1C7A9B #3C1C9B
monochromatic
#332909 #675313 #9B7C1C #CFA525 #E0BD52
Accessibility & contrast
On white
3.97
#9B7C1C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.29
#9B7C1C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B7C1C
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B7C1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B7C1C | 1.00 | 3.97 | 5.29 | 5.29 |
| #FFFFFF | 3.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7B04
Deuteranopia (green-blind)
#938322
Tritanopia (blue-blind)
#A8716A
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #9b7c1c; /* rgb */ color: rgb(155, 124, 28); /* oklch */ color: oklch(60.0% 0.113 89.4);
Tailwind
colors: {
custom: {
50: '#bda161',
500: '#9b7c1c',
950: '#000000',
},
}SCSS
$custom: #9b7c1c; $custom-light: #bda161; $custom-dark: #000000;
JSON
{
"hex": "#9b7c1c",
"rgb": {
"r": 155,
"g": 124,
"b": 28
},
"hsl": {
"h": 45.354,
"s": 69.399,
"l": 35.882
},
"oklch": {
"l": 0.59978,
"c": 0.11348,
"h": 89.4
},
"luminance": 0.21468
}Semantic roles & 50–950 ramp
primary
#9B7C1C
secondary
#506CC3
accent
#67EC3C
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E05
muted
#827E7A