#9C841F#9C841F
#9C841F is a mid, moderate yellow. Relative luminance 0.237; OKLCH L 61.8% C 0.117 H 94.8°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #9C841F |
|---|---|
| RGB | rgb(156, 132, 31) |
| HSL | hsl(48, 67%, 37%) |
| HSV | hsv(48, 80%, 61%) |
| CMYK | cmyk(0%, 15.4%, 80.1%, 38.8%) |
| CIE-LAB | lab(55.76, -1.33, 53.58) |
| CIE-LCH | lch(55.76, 53.60, 91.42°) |
| OKLab | oklab(61.82% -0.0097 0.1164) |
| OKLCH | oklch(61.82% 0.117 94.8) |
| XYZ | xyz(22.2101, 23.6707, 4.6951) |
| Luminance | 0.2367 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.07
Baby Poop
#937C00
ΔE00 3.35
Dark Mustard
#A88905
ΔE00 3.60
Yellowish Brown
#9B7A01
ΔE00 4.24
Puke Brown
#947706
ΔE00 4.80
Yellowy Brown
#AE8B0C
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C841F #1F379C
analogous
#9C461F #9C841F #769C1F
triadic
#9C841F #1F9C84 #841F9C
tetradic
#9C841F #1F9C46 #1F379C #9C1F76
square
#9C841F #1F9C46 #1F379C #9C1F76
split-complementary
#9C841F #1F769C #461F9C
monochromatic
#362E0B #695915 #9C841F #CFAF29 #DEC458
Accessibility & contrast
On white
3.66
#9C841F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.73
#9C841F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C841F
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C841F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C841F | 1.00 | 3.66 | 5.73 | 5.73 |
| #FFFFFF | 3.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938107
Deuteranopia (green-blind)
#998926
Tritanopia (blue-blind)
#A97971
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #9c841f; /* rgb */ color: rgb(156, 132, 31); /* oklch */ color: oklch(61.8% 0.117 94.8);
Tailwind
colors: {
custom: {
50: '#bda764',
500: '#9c841f',
950: '#000000',
},
}SCSS
$custom: #9c841f; $custom-light: #bda764; $custom-dark: #000000;
JSON
{
"hex": "#9c841f",
"rgb": {
"r": 156,
"g": 132,
"b": 31
},
"hsl": {
"h": 48.48,
"s": 66.845,
"l": 36.667
},
"oklch": {
"l": 0.6182,
"c": 0.1168,
"h": 94.8
},
"luminance": 0.23669
}Semantic roles & 50–950 ramp
primary
#9C841F
secondary
#556AC1
accent
#5FEA3E
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A