#9C821F#9C821F
#9C821F is a mid, moderate yellow. Relative luminance 0.231; OKLCH L 61.4% C 0.116 H 93.2°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #9C821F |
|---|---|
| RGB | rgb(156, 130, 31) |
| HSL | hsl(48, 67%, 37%) |
| HSV | hsv(48, 80%, 61%) |
| CMYK | cmyk(0%, 16.7%, 80.1%, 38.8%) |
| CIE-LAB | lab(55.21, -0.21, 53.09) |
| CIE-LCH | lch(55.21, 53.09, 90.23°) |
| OKLab | oklab(61.39% -0.0065 0.1153) |
| OKLCH | oklch(61.39% 0.116 93.2) |
| XYZ | xyz(21.9415, 23.1334, 4.6056) |
| Luminance | 0.2313 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.07
Baby Poop
#937C00
ΔE00 3.10
Yellowish Brown
#9B7A01
ΔE00 3.46
Dark Mustard
#A88905
ΔE00 3.84
Puke Brown
#947706
ΔE00 4.09
Hazel
#8E7618
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C821F #1F399C
analogous
#9C441F #9C821F #789C1F
triadic
#9C821F #1F9C82 #821F9C
tetradic
#9C821F #1F9C44 #1F399C #9C1F78
square
#9C821F #1F9C44 #1F399C #9C1F78
split-complementary
#9C821F #1F789C #441F9C
monochromatic
#362D0B #695715 #9C821F #CFAD29 #DEC258
Accessibility & contrast
On white
3.73
#9C821F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.63
#9C821F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C821F
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C821F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C821F | 1.00 | 3.73 | 5.63 | 5.63 |
| #FFFFFF | 3.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918008
Deuteranopia (green-blind)
#978725
Tritanopia (blue-blind)
#A9776F
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #9c821f; /* rgb */ color: rgb(156, 130, 31); /* oklch */ color: oklch(61.4% 0.116 93.2);
Tailwind
colors: {
custom: {
50: '#bda564',
500: '#9c821f',
950: '#000000',
},
}SCSS
$custom: #9c821f; $custom-light: #bda564; $custom-dark: #000000;
JSON
{
"hex": "#9c821f",
"rgb": {
"r": 156,
"g": 130,
"b": 31
},
"hsl": {
"h": 47.52,
"s": 66.845,
"l": 36.667
},
"oklch": {
"l": 0.61388,
"c": 0.11551,
"h": 93.2
},
"luminance": 0.23132
}Semantic roles & 50–950 ramp
primary
#9C821F
secondary
#556CC1
accent
#62EA3E
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A