#9B801E#9B801E
#9B801E is a mid, moderate yellow. Relative luminance 0.225; OKLCH L 60.8% C 0.115 H 92.4°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).
Color values
| HEX | #9B801E |
|---|---|
| RGB | rgb(155, 128, 30) |
| HSL | hsl(47, 68%, 36%) |
| HSV | hsv(47, 81%, 61%) |
| CMYK | cmyk(0%, 17.4%, 80.6%, 39.2%) |
| CIE-LAB | lab(54.56, 0.40, 52.81) |
| CIE-LCH | lch(54.56, 52.81, 89.56°) |
| OKLab | oklab(60.85% -0.0048 0.1146) |
| OKLCH | oklch(60.85% 0.115 92.4) |
| XYZ | xyz(21.4723, 22.5020, 4.4404) |
| Luminance | 0.2250 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.38
Baby Poop
#937C00
ΔE00 2.84
Yellowish Brown
#9B7A01
ΔE00 2.86
Puke Brown
#947706
ΔE00 3.42
Hazel
#8E7618
ΔE00 4.13
Dark Mustard
#A88905
ΔE00 4.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B801E #1E399B
analogous
#9B421E #9B801E #789B1E
triadic
#9B801E #1E9B80 #801E9B
tetradic
#9B801E #1E9B42 #1E399B #9B1E78
square
#9B801E #1E9B42 #1E399B #9B1E78
split-complementary
#9B801E #1E789B #421E9B
monochromatic
#342B0A #685614 #9B801E #CEAA28 #DEC155
Accessibility & contrast
On white
3.82
#9B801E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.50
#9B801E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B801E
5.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B801E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B801E | 1.00 | 3.82 | 5.50 | 5.50 |
| #FFFFFF | 3.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7E07
Deuteranopia (green-blind)
#968624
Tritanopia (blue-blind)
#A8756E
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #9b801e; /* rgb */ color: rgb(155, 128, 30); /* oklch */ color: oklch(60.8% 0.115 92.4);
Tailwind
colors: {
custom: {
50: '#bda463',
500: '#9b801e',
950: '#000000',
},
}SCSS
$custom: #9b801e; $custom-light: #bda463; $custom-dark: #000000;
JSON
{
"hex": "#9b801e",
"rgb": {
"r": 155,
"g": 128,
"b": 30
},
"hsl": {
"h": 47.04,
"s": 67.568,
"l": 36.275
},
"oklch": {
"l": 0.60846,
"c": 0.11466,
"h": 92.4
},
"luminance": 0.22501
}Semantic roles & 50–950 ramp
primary
#9B801E
secondary
#536BC2
accent
#63EA3D
background
#FCFAF6
surface
#F8F3EB
border
#D1CDC6
text
#130F06
muted
#827F7A