#8B801B#8B801B
#8B801B is a mid, moderate yellow. Relative luminance 0.210; OKLCH L 59.2% C 0.115 H 102.8°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #8B801B |
|---|---|
| RGB | rgb(139, 128, 27) |
| HSL | hsl(54, 67%, 33%) |
| HSV | hsv(54, 81%, 55%) |
| CMYK | cmyk(0%, 7.9%, 80.6%, 45.5%) |
| CIE-LAB | lab(52.96, -7.12, 51.78) |
| CIE-LCH | lch(52.96, 52.27, 97.83°) |
| OKLab | oklab(59.2% -0.0255 0.1125) |
| OKLCH | oklch(59.2% 0.115 102.8) |
| XYZ | xyz(18.5653, 21.0073, 4.1136) |
| Luminance | 0.2101 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.62
Baby Poop
#937C00
ΔE00 4.13
Hazel
#8E7618
ΔE00 5.20
Ugly Brown
#7D7103
ΔE00 5.81
Diarrhea
#9F8303
ΔE00 6.02
Puke Brown
#947706
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B801B #1B268B
analogous
#8B481B #8B801B #5E8B1B
triadic
#8B801B #1B8B80 #801B8B
tetradic
#8B801B #1B8B48 #1B268B #8B1B5E
square
#8B801B #1B8B48 #1B268B #8B1B5E
split-complementary
#8B801B #1B5E8B #481B8B
monochromatic
#252207 #585111 #8B801B #BEAF25 #DBCC45
Accessibility & contrast
On white
4.04
#8B801B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.20
#8B801B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B801B
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B801B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B801B | 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)
#8C7C00
Deuteranopia (green-blind)
#908123
Tritanopia (blue-blind)
#96766D
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #8b801b; /* rgb */ color: rgb(139, 128, 27); /* oklch */ color: oklch(59.2% 0.115 102.8);
Tailwind
colors: {
custom: {
50: '#b1a461',
500: '#8b801b',
950: '#000000',
},
}SCSS
$custom: #8b801b; $custom-light: #b1a461; $custom-dark: #000000;
JSON
{
"hex": "#8b801b",
"rgb": {
"r": 139,
"g": 128,
"b": 27
},
"hsl": {
"h": 54.107,
"s": 67.47,
"l": 32.549
},
"oklch": {
"l": 0.59203,
"c": 0.11538,
"h": 102.8
},
"luminance": 0.21006
}Semantic roles & 50–950 ramp
primary
#8B801B
secondary
#4551BC
accent
#4EEA3D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A