#9B841E#9B841E
#9B841E is a mid, moderate yellow. Relative luminance 0.236; OKLCH L 61.7% C 0.117 H 95.5°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #9B841E |
|---|---|
| RGB | rgb(155, 132, 30) |
| HSL | hsl(49, 68%, 36%) |
| HSV | hsv(49, 81%, 61%) |
| CMYK | cmyk(0%, 14.8%, 80.6%, 39.2%) |
| CIE-LAB | lab(55.65, -1.82, 53.79) |
| CIE-LCH | lch(55.65, 53.82, 91.94°) |
| OKLab | oklab(61.71% -0.0111 0.1167) |
| OKLCH | oklch(61.71% 0.117 95.5) |
| XYZ | xyz(22.0044, 23.5661, 4.6177) |
| Luminance | 0.2356 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.18
Baby Poop
#937C00
ΔE00 3.23
Dark Mustard
#A88905
ΔE00 3.77
Yellowish Brown
#9B7A01
ΔE00 4.40
Puke Brown
#947706
ΔE00 4.85
Yellowy Brown
#AE8B0C
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B841E #1E359B
analogous
#9B461E #9B841E #749B1E
triadic
#9B841E #1E9B84 #841E9B
tetradic
#9B841E #1E9B46 #1E359B #9B1E74
square
#9B841E #1E9B46 #1E359B #9B1E74
split-complementary
#9B841E #1E749B #461E9B
monochromatic
#342D0A #685814 #9B841E #CEB028 #DEC555
Accessibility & contrast
On white
3.68
#9B841E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.71
#9B841E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B841E
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B841E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B841E | 1.00 | 3.68 | 5.71 | 5.71 |
| #FFFFFF | 3.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938104
Deuteranopia (green-blind)
#988825
Tritanopia (blue-blind)
#A87971
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #9b841e; /* rgb */ color: rgb(155, 132, 30); /* oklch */ color: oklch(61.7% 0.117 95.5);
Tailwind
colors: {
custom: {
50: '#bda763',
500: '#9b841e',
950: '#000000',
},
}SCSS
$custom: #9b841e; $custom-light: #bda763; $custom-dark: #000000;
JSON
{
"hex": "#9b841e",
"rgb": {
"r": 155,
"g": 132,
"b": 30
},
"hsl": {
"h": 48.96,
"s": 67.568,
"l": 36.275
},
"oklch": {
"l": 0.61711,
"c": 0.1172,
"h": 95.5
},
"luminance": 0.23565
}Semantic roles & 50–950 ramp
primary
#9B841E
secondary
#5368C2
accent
#5DEA3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A