#9B821E#9B821E
#9B821E is a mid, moderate yellow. Relative luminance 0.230; OKLCH L 61.3% C 0.116 H 94.0°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #9B821E |
|---|---|
| RGB | rgb(155, 130, 30) |
| HSL | hsl(48, 68%, 36%) |
| HSV | hsv(48, 81%, 61%) |
| CMYK | cmyk(0%, 16.1%, 80.6%, 39.2%) |
| CIE-LAB | lab(55.10, -0.71, 53.30) |
| CIE-LCH | lch(55.10, 53.30, 90.77°) |
| OKLab | oklab(61.28% -0.008 0.1156) |
| OKLCH | oklch(61.28% 0.116 94) |
| XYZ | xyz(21.7358, 23.0289, 4.5282) |
| Luminance | 0.2303 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.09
Baby Poop
#937C00
ΔE00 2.89
Yellowish Brown
#9B7A01
ΔE00 3.60
Dark Mustard
#A88905
ΔE00 3.95
Puke Brown
#947706
ΔE00 4.10
Hazel
#8E7618
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B821E #1E379B
analogous
#9B441E #9B821E #769B1E
triadic
#9B821E #1E9B82 #821E9B
tetradic
#9B821E #1E9B44 #1E379B #9B1E76
square
#9B821E #1E9B44 #1E379B #9B1E76
split-complementary
#9B821E #1E769B #441E9B
monochromatic
#342C0A #685714 #9B821E #CEAD28 #DEC355
Accessibility & contrast
On white
3.75
#9B821E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.61
#9B821E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B821E
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B821E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B821E | 1.00 | 3.75 | 5.61 | 5.61 |
| #FFFFFF | 3.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918005
Deuteranopia (green-blind)
#978725
Tritanopia (blue-blind)
#A8776F
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #9b821e; /* rgb */ color: rgb(155, 130, 30); /* oklch */ color: oklch(61.3% 0.116 94.0);
Tailwind
colors: {
custom: {
50: '#bda563',
500: '#9b821e',
950: '#000000',
},
}SCSS
$custom: #9b821e; $custom-light: #bda563; $custom-dark: #000000;
JSON
{
"hex": "#9b821e",
"rgb": {
"r": 155,
"g": 130,
"b": 30
},
"hsl": {
"h": 48,
"s": 67.568,
"l": 36.275
},
"oklch": {
"l": 0.61277,
"c": 0.11589,
"h": 94
},
"luminance": 0.23028
}Semantic roles & 50–950 ramp
primary
#9B821E
secondary
#5369C2
accent
#60EA3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A