#9C831F#9C831F
#9C831F is a mid, moderate yellow. Relative luminance 0.234; OKLCH L 61.6% C 0.116 H 94.0°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #9C831F |
|---|---|
| RGB | rgb(156, 131, 31) |
| HSL | hsl(48, 67%, 37%) |
| HSV | hsv(48, 80%, 61%) |
| CMYK | cmyk(0%, 16%, 80.1%, 38.8%) |
| CIE-LAB | lab(55.48, -0.77, 53.34) |
| CIE-LCH | lch(55.48, 53.34, 90.83°) |
| OKLab | oklab(61.6% -0.0081 0.1159) |
| OKLCH | oklch(61.6% 0.116 94) |
| XYZ | xyz(22.0752, 23.4008, 4.6501) |
| Luminance | 0.2340 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.02
Baby Poop
#937C00
ΔE00 3.19
Dark Mustard
#A88905
ΔE00 3.69
Yellowish Brown
#9B7A01
ΔE00 3.85
Puke Brown
#947706
ΔE00 4.44
Yellowy Brown
#AE8B0C
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C831F #1F389C
analogous
#9C451F #9C831F #779C1F
triadic
#9C831F #1F9C83 #831F9C
tetradic
#9C831F #1F9C45 #1F389C #9C1F77
square
#9C831F #1F9C45 #1F389C #9C1F77
split-complementary
#9C831F #1F779C #451F9C
monochromatic
#362D0B #695815 #9C831F #CFAE29 #DEC358
Accessibility & contrast
On white
3.70
#9C831F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.68
#9C831F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C831F
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C831F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C831F | 1.00 | 3.70 | 5.68 | 5.68 |
| #FFFFFF | 3.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928107
Deuteranopia (green-blind)
#988826
Tritanopia (blue-blind)
#A97870
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #9c831f; /* rgb */ color: rgb(156, 131, 31); /* oklch */ color: oklch(61.6% 0.116 94.0);
Tailwind
colors: {
custom: {
50: '#bda664',
500: '#9c831f',
950: '#000000',
},
}SCSS
$custom: #9c831f; $custom-light: #bda664; $custom-dark: #000000;
JSON
{
"hex": "#9c831f",
"rgb": {
"r": 156,
"g": 131,
"b": 31
},
"hsl": {
"h": 48,
"s": 66.845,
"l": 36.667
},
"oklch": {
"l": 0.61603,
"c": 0.11614,
"h": 94
},
"luminance": 0.23399
}Semantic roles & 50–950 ramp
primary
#9C831F
secondary
#556BC1
accent
#60EA3E
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A