#9C821E#9C821E
#9C821E is a mid, moderate yellow. Relative luminance 0.231; OKLCH L 61.4% C 0.116 H 93.3°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #9C821E |
|---|---|
| RGB | rgb(156, 130, 30) |
| HSL | hsl(48, 68%, 36%) |
| HSV | hsv(48, 81%, 61%) |
| CMYK | cmyk(0%, 16.7%, 80.8%, 38.8%) |
| CIE-LAB | lab(55.20, -0.25, 53.43) |
| CIE-LCH | lch(55.20, 53.43, 90.27°) |
| OKLab | oklab(61.38% -0.0067 0.1158) |
| OKLCH | oklch(61.38% 0.116 93.3) |
| XYZ | xyz(21.9285, 23.1282, 4.5372) |
| Luminance | 0.2313 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 1.98
Baby Poop
#937C00
ΔE00 3.04
Yellowish Brown
#9B7A01
ΔE00 3.44
Dark Mustard
#A88905
ΔE00 3.78
Puke Brown
#947706
ΔE00 4.08
Hazel
#8E7618
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C821E #1E389C
analogous
#9C431E #9C821E #779C1E
triadic
#9C821E #1E9C82 #821E9C
tetradic
#9C821E #1E9C43 #1E389C #9C1E77
square
#9C821E #1E9C43 #1E389C #9C1E77
split-complementary
#9C821E #1E779C #431E9C
monochromatic
#352C0A #695714 #9C821E #CFAD28 #DEC256
Accessibility & contrast
On white
3.73
#9C821E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.63
#9C821E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C821E
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C821E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C821E | 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)
#918005
Deuteranopia (green-blind)
#978725
Tritanopia (blue-blind)
#A9776F
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #9c821e; /* rgb */ color: rgb(156, 130, 30); /* oklch */ color: oklch(61.4% 0.116 93.3);
Tailwind
colors: {
custom: {
50: '#bda563',
500: '#9c821e',
950: '#000000',
},
}SCSS
$custom: #9c821e; $custom-light: #bda563; $custom-dark: #000000;
JSON
{
"hex": "#9c821e",
"rgb": {
"r": 156,
"g": 130,
"b": 30
},
"hsl": {
"h": 47.619,
"s": 67.742,
"l": 36.471
},
"oklch": {
"l": 0.61382,
"c": 0.11604,
"h": 93.3
},
"luminance": 0.23127
}Semantic roles & 50–950 ramp
primary
#9C821E
secondary
#546BC2
accent
#61EB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A