#9C861F#9C861F
#9C861F is a light, moderate yellow. Relative luminance 0.242; OKLCH L 62.3% C 0.118 H 96.2°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #9C861F |
|---|---|
| RGB | rgb(156, 134, 31) |
| HSL | hsl(49, 67%, 37%) |
| HSV | hsv(49, 80%, 61%) |
| CMYK | cmyk(0%, 14.1%, 80.1%, 38.8%) |
| CIE-LAB | lab(56.31, -2.43, 54.08) |
| CIE-LCH | lch(56.31, 54.13, 92.58°) |
| OKLab | oklab(62.25% -0.0128 0.1175) |
| OKLCH | oklch(62.25% 0.118 96.2) |
| XYZ | xyz(22.4839, 24.2183, 4.7864) |
| Luminance | 0.2422 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.44
Dark Mustard
#A88905
ΔE00 3.60
Baby Poop
#937C00
ΔE00 3.80
Baby Poo
#AB9004
ΔE00 4.67
Baby Shit Brown
#AD900D
ΔE00 4.79
Yellowy Brown
#AE8B0C
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C861F #1F359C
analogous
#9C481F #9C861F #749C1F
triadic
#9C861F #1F9C86 #861F9C
tetradic
#9C861F #1F9C48 #1F359C #9C1F74
square
#9C861F #1F9C48 #1F359C #9C1F74
split-complementary
#9C861F #1F749C #481F9C
monochromatic
#362E0B #695A15 #9C861F #CFB229 #DEC658
Accessibility & contrast
On white
3.59
#9C861F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.84
#9C861F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C861F
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C861F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C861F | 1.00 | 3.59 | 5.84 | 5.84 |
| #FFFFFF | 3.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#958305
Deuteranopia (green-blind)
#9A8A26
Tritanopia (blue-blind)
#A97B73
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #9c861f; /* rgb */ color: rgb(156, 134, 31); /* oklch */ color: oklch(62.3% 0.118 96.2);
Tailwind
colors: {
custom: {
50: '#bda864',
500: '#9c861f',
950: '#000000',
},
}SCSS
$custom: #9c861f; $custom-light: #bda864; $custom-dark: #000000;
JSON
{
"hex": "#9c861f",
"rgb": {
"r": 156,
"g": 134,
"b": 31
},
"hsl": {
"h": 49.44,
"s": 66.845,
"l": 36.667
},
"oklch": {
"l": 0.62254,
"c": 0.11816,
"h": 96.2
},
"luminance": 0.24217
}Semantic roles & 50–950 ramp
primary
#9C861F
secondary
#5568C1
accent
#5CEA3E
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A