#9B801F#9B801F
#9B801F is a mid, moderate yellow. Relative luminance 0.225; OKLCH L 60.9% C 0.114 H 92.3°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).
Color values
| HEX | #9B801F |
|---|---|
| RGB | rgb(155, 128, 31) |
| HSL | hsl(47, 67%, 36%) |
| HSV | hsv(47, 80%, 61%) |
| CMYK | cmyk(0%, 17.4%, 80%, 39.2%) |
| CIE-LAB | lab(54.56, 0.44, 52.46) |
| CIE-LCH | lch(54.56, 52.47, 89.52°) |
| OKLab | oklab(60.85% -0.0046 0.114) |
| OKLCH | oklch(60.85% 0.114 92.3) |
| XYZ | xyz(21.4853, 22.5072, 4.5087) |
| Luminance | 0.2251 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.47
Yellowish Brown
#9B7A01
ΔE00 2.90
Baby Poop
#937C00
ΔE00 2.91
Puke Brown
#947706
ΔE00 3.45
Hazel
#8E7618
ΔE00 4.13
Dark Mustard
#A88905
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B801F #1F3A9B
analogous
#9B421F #9B801F #789B1F
triadic
#9B801F #1F9B80 #801F9B
tetradic
#9B801F #1F9B42 #1F3A9B #9B1F78
square
#9B801F #1F9B42 #1F3A9B #9B1F78
split-complementary
#9B801F #1F789B #421F9B
monochromatic
#352C0B #685615 #9B801F #CEAA29 #DDC057
Accessibility & contrast
On white
3.82
#9B801F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.50
#9B801F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B801F
5.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B801F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B801F | 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)
#8F7E09
Deuteranopia (green-blind)
#968625
Tritanopia (blue-blind)
#A8756E
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #9b801f; /* rgb */ color: rgb(155, 128, 31); /* oklch */ color: oklch(60.9% 0.114 92.3);
Tailwind
colors: {
custom: {
50: '#bda463',
500: '#9b801f',
950: '#000000',
},
}SCSS
$custom: #9b801f; $custom-light: #bda463; $custom-dark: #000000;
JSON
{
"hex": "#9b801f",
"rgb": {
"r": 155,
"g": 128,
"b": 31
},
"hsl": {
"h": 46.935,
"s": 66.667,
"l": 36.471
},
"oklch": {
"l": 0.60852,
"c": 0.11413,
"h": 92.3
},
"luminance": 0.22506
}Semantic roles & 50–950 ramp
primary
#9B801F
secondary
#556CC1
accent
#64EA3E
background
#FCFAF6
surface
#F8F3EB
border
#D1CDC6
text
#130F06
muted
#827F7A