#9C831D#9C831D
#9C831D is a mid, moderate yellow. Relative luminance 0.234; OKLCH L 61.6% C 0.117 H 94.2°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #9C831D |
|---|---|
| RGB | rgb(156, 131, 29) |
| HSL | hsl(48, 69%, 36%) |
| HSV | hsv(48, 81%, 61%) |
| CMYK | cmyk(0%, 16%, 81.4%, 38.8%) |
| CIE-LAB | lab(55.47, -0.84, 54.00) |
| CIE-LCH | lch(55.47, 54.01, 90.90°) |
| OKLab | oklab(61.59% -0.0085 0.1169) |
| OKLCH | oklch(61.59% 0.117 94.2) |
| XYZ | xyz(22.0496, 23.3905, 4.5156) |
| Luminance | 0.2339 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 1.85
Baby Poop
#937C00
ΔE00 3.10
Dark Mustard
#A88905
ΔE00 3.59
Yellowish Brown
#9B7A01
ΔE00 3.81
Puke Brown
#947706
ΔE00 4.42
Yellowy Brown
#AE8B0C
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C831D #1D369C
analogous
#9C441D #9C831D #769C1D
triadic
#9C831D #1D9C83 #831D9C
tetradic
#9C831D #1D9C44 #1D369C #9C1D76
square
#9C831D #1D9C44 #1D369C #9C1D76
split-complementary
#9C831D #1D769C #441D9C
monochromatic
#352C0A #685813 #9C831D #D0AE27 #DFC454
Accessibility & contrast
On white
3.70
#9C831D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.68
#9C831D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C831D
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C831D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C831D | 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)
#928102
Deuteranopia (green-blind)
#988824
Tritanopia (blue-blind)
#A97870
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #9c831d; /* rgb */ color: rgb(156, 131, 29); /* oklch */ color: oklch(61.6% 0.117 94.2);
Tailwind
colors: {
custom: {
50: '#bda663',
500: '#9c831d',
950: '#000000',
},
}SCSS
$custom: #9c831d; $custom-light: #bda663; $custom-dark: #000000;
JSON
{
"hex": "#9c831d",
"rgb": {
"r": 156,
"g": 131,
"b": 29
},
"hsl": {
"h": 48.189,
"s": 68.649,
"l": 36.275
},
"oklch": {
"l": 0.61592,
"c": 0.11717,
"h": 94.2
},
"luminance": 0.23389
}Semantic roles & 50–950 ramp
primary
#9C831D
secondary
#5268C2
accent
#5FEB3C
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A