#9C851F#9C851F
#9C851F is a light, moderate yellow. Relative luminance 0.239; OKLCH L 62.0% C 0.117 H 95.5°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #9C851F |
|---|---|
| RGB | rgb(156, 133, 31) |
| HSL | hsl(49, 67%, 37%) |
| HSV | hsv(49, 80%, 61%) |
| CMYK | cmyk(0%, 14.7%, 80.1%, 38.8%) |
| CIE-LAB | lab(56.03, -1.88, 53.83) |
| CIE-LCH | lch(56.03, 53.87, 92.00°) |
| OKLab | oklab(62.04% -0.0113 0.1169) |
| OKLCH | oklch(62.04% 0.117 95.5) |
| XYZ | xyz(22.3464, 23.9432, 4.7405) |
| Luminance | 0.2394 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.22
Baby Poop
#937C00
ΔE00 3.55
Dark Mustard
#A88905
ΔE00 3.57
Yellowish Brown
#9B7A01
ΔE00 4.65
Yellowy Brown
#AE8B0C
ΔE00 4.82
Baby Poo
#AB9004
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C851F #1F369C
analogous
#9C471F #9C851F #759C1F
triadic
#9C851F #1F9C85 #851F9C
tetradic
#9C851F #1F9C47 #1F369C #9C1F75
square
#9C851F #1F9C47 #1F369C #9C1F75
split-complementary
#9C851F #1F759C #471F9C
monochromatic
#362E0B #695915 #9C851F #CFB129 #DEC558
Accessibility & contrast
On white
3.63
#9C851F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.79
#9C851F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C851F
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C851F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C851F | 1.00 | 3.63 | 5.79 | 5.79 |
| #FFFFFF | 3.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948206
Deuteranopia (green-blind)
#9A8926
Tritanopia (blue-blind)
#A97A72
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #9c851f; /* rgb */ color: rgb(156, 133, 31); /* oklch */ color: oklch(62.0% 0.117 95.5);
Tailwind
colors: {
custom: {
50: '#bda864',
500: '#9c851f',
950: '#000000',
},
}SCSS
$custom: #9c851f; $custom-light: #bda864; $custom-dark: #000000;
JSON
{
"hex": "#9c851f",
"rgb": {
"r": 156,
"g": 133,
"b": 31
},
"hsl": {
"h": 48.96,
"s": 66.845,
"l": 36.667
},
"oklch": {
"l": 0.62037,
"c": 0.11747,
"h": 95.5
},
"luminance": 0.23942
}Semantic roles & 50–950 ramp
primary
#9C851F
secondary
#5569C1
accent
#5EEA3E
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A