#8B801F#8B801F
#8B801F is a mid, moderate yellow. Relative luminance 0.210; OKLCH L 59.2% C 0.113 H 102.6°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #8B801F |
|---|---|
| RGB | rgb(139, 128, 31) |
| HSL | hsl(54, 64%, 33%) |
| HSV | hsv(54, 78%, 55%) |
| CMYK | cmyk(0%, 7.9%, 77.7%, 45.5%) |
| CIE-LAB | lab(52.98, -6.96, 50.43) |
| CIE-LCH | lch(52.98, 50.91, 97.86°) |
| OKLab | oklab(59.23% -0.0247 0.1105) |
| OKLCH | oklch(59.23% 0.113 102.6) |
| XYZ | xyz(18.6148, 21.0271, 4.3742) |
| Luminance | 0.2103 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.80
Baby Poop
#937C00
ΔE00 4.30
Hazel
#8E7618
ΔE00 5.16
Ugly Brown
#7D7103
ΔE00 5.85
Diarrhea
#9F8303
ΔE00 6.16
Puke Brown
#947706
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B801F #1F2A8B
analogous
#8B4A1F #8B801F #608B1F
triadic
#8B801F #1F8B80 #801F8B
tetradic
#8B801F #1F8B4A #1F2A8B #8B1F60
square
#8B801F #1F8B4A #1F2A8B #8B1F60
split-complementary
#8B801F #1F608B #4A1F8B
monochromatic
#272409 #595214 #8B801F #BDAE2A #D7C94D
Accessibility & contrast
On white
4.03
#8B801F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.21
#8B801F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B801F
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B801F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B801F | 1.00 | 4.03 | 5.21 | 5.21 |
| #FFFFFF | 4.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7C0A
Deuteranopia (green-blind)
#908126
Tritanopia (blue-blind)
#96766E
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #8b801f; /* rgb */ color: rgb(139, 128, 31); /* oklch */ color: oklch(59.2% 0.113 102.6);
Tailwind
colors: {
custom: {
50: '#b0a463',
500: '#8b801f',
950: '#000000',
},
}SCSS
$custom: #8b801f; $custom-light: #b0a463; $custom-dark: #000000;
JSON
{
"hex": "#8b801f",
"rgb": {
"r": 139,
"g": 128,
"b": 31
},
"hsl": {
"h": 53.889,
"s": 63.529,
"l": 33.333
},
"oklch": {
"l": 0.59227,
"c": 0.11318,
"h": 102.6
},
"luminance": 0.21026
}Semantic roles & 50–950 ramp
primary
#8B801F
secondary
#4C57BA
accent
#52E741
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A