#8B802A#8B802A
#8B802A is a mid, moderate yellow. Relative luminance 0.211; OKLCH L 59.3% C 0.106 H 101.9°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #8B802A |
|---|---|
| RGB | rgb(139, 128, 42) |
| HSL | hsl(53, 54%, 35%) |
| HSV | hsv(53, 70%, 55%) |
| CMYK | cmyk(0%, 7.9%, 69.8%, 45.5%) |
| CIE-LAB | lab(53.05, -6.40, 46.16) |
| CIE-LCH | lch(53.05, 46.60, 97.89°) |
| OKLab | oklab(59.31% -0.0219 0.1035) |
| OKLCH | oklch(59.31% 0.106 101.9) |
| XYZ | xyz(18.7853, 21.0953, 5.2723) |
| Luminance | 0.2109 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.63
Baby Poop
#937C00
ΔE00 5.02
Hazel
#8E7618
ΔE00 5.25
Drab
#828344
ΔE00 5.82
Ugly Brown
#7D7103
ΔE00 6.21
Puke Brown
#947706
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B802A #2A358B
analogous
#8B4F2A #8B802A #658B2A
triadic
#8B802A #2A8B80 #802A8B
tetradic
#8B802A #2A8B4F #2A358B #8B2A65
square
#8B802A #2A8B4F #2A358B #8B2A65
split-complementary
#8B802A #2A658B #4F2A8B
monochromatic
#2D290E #5C551C #8B802A #BAAB38 #CFC360
Accessibility & contrast
On white
4.02
#8B802A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.22
#8B802A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B802A
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B802A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B802A | 1.00 | 4.02 | 5.22 | 5.22 |
| #FFFFFF | 4.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7C1E
Deuteranopia (green-blind)
#8F812F
Tritanopia (blue-blind)
#96776F
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #8b802a; /* rgb */ color: rgb(139, 128, 42); /* oklch */ color: oklch(59.3% 0.106 101.9);
Tailwind
colors: {
custom: {
50: '#b0a469',
500: '#8b802a',
950: '#000000',
},
}SCSS
$custom: #8b802a; $custom-light: #b0a469; $custom-dark: #000000;
JSON
{
"hex": "#8b802a",
"rgb": {
"r": 139,
"g": 128,
"b": 42
},
"hsl": {
"h": 53.196,
"s": 53.591,
"l": 35.49
},
"oklch": {
"l": 0.5931,
"c": 0.10582,
"h": 101.9
},
"luminance": 0.21094
}Semantic roles & 50–950 ramp
primary
#8B802A
secondary
#5C66B5
accent
#5BDD4B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A