#8B801A#8B801A
#8B801A is a mid, moderate yellow. Relative luminance 0.210; OKLCH L 59.2% C 0.116 H 102.8°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #8B801A |
|---|---|
| RGB | rgb(139, 128, 26) |
| HSL | hsl(54, 68%, 32%) |
| HSV | hsv(54, 81%, 55%) |
| CMYK | cmyk(0%, 7.9%, 81.3%, 45.5%) |
| CIE-LAB | lab(52.95, -7.16, 52.10) |
| CIE-LCH | lch(52.95, 52.59, 97.83°) |
| OKLab | oklab(59.2% -0.0257 0.113) |
| OKLCH | oklch(59.2% 0.116 102.8) |
| XYZ | xyz(18.5540, 21.0027, 4.0537) |
| Luminance | 0.2100 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.58
Baby Poop
#937C00
ΔE00 4.10
Hazel
#8E7618
ΔE00 5.21
Ugly Brown
#7D7103
ΔE00 5.80
Diarrhea
#9F8303
ΔE00 5.99
Puke Brown
#947706
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B801A #1A258B
analogous
#8B471A #8B801A #5E8B1A
triadic
#8B801A #1A8B80 #801A8B
tetradic
#8B801A #1A8B47 #1A258B #8B1A5E
square
#8B801A #1A8B47 #1A258B #8B1A5E
split-complementary
#8B801A #1A5E8B #471A8B
monochromatic
#242107 #575110 #8B801A #BFAF24 #DCCD43
Accessibility & contrast
On white
4.04
#8B801A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.20
#8B801A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B801A
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B801A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B801A | 1.00 | 4.04 | 5.20 | 5.20 |
| #FFFFFF | 4.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#908122
Tritanopia (blue-blind)
#96766D
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #8b801a; /* rgb */ color: rgb(139, 128, 26); /* oklch */ color: oklch(59.2% 0.116 102.8);
Tailwind
colors: {
custom: {
50: '#b1a461',
500: '#8b801a',
950: '#000000',
},
}SCSS
$custom: #8b801a; $custom-light: #b1a461; $custom-dark: #000000;
JSON
{
"hex": "#8b801a",
"rgb": {
"r": 139,
"g": 128,
"b": 26
},
"hsl": {
"h": 54.159,
"s": 68.485,
"l": 32.353
},
"oklch": {
"l": 0.59198,
"c": 0.11589,
"h": 102.8
},
"luminance": 0.21002
}Semantic roles & 50–950 ramp
primary
#8B801A
secondary
#4450BD
accent
#4DEB3C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A