#8D801F#8D801F
#8D801F is a mid, moderate yellow. Relative luminance 0.212; OKLCH L 59.4% C 0.113 H 101.3°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #8D801F |
|---|---|
| RGB | rgb(141, 128, 31) |
| HSL | hsl(53, 64%, 34%) |
| HSV | hsv(53, 78%, 55%) |
| CMYK | cmyk(0%, 9.2%, 78%, 44.7%) |
| CIE-LAB | lab(53.17, -6.03, 50.68) |
| CIE-LCH | lch(53.17, 51.03, 96.79°) |
| OKLab | oklab(59.42% -0.0222 0.1109) |
| OKLCH | oklch(59.42% 0.113 101.3) |
| XYZ | xyz(18.9519, 21.2009, 4.3900) |
| Luminance | 0.2120 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.75
Olive
#808000
ΔE00 4.36
Hazel
#8E7618
ΔE00 4.74
Diarrhea
#9F8303
ΔE00 5.55
Puke Brown
#947706
ΔE00 5.71
Ugly Brown
#7D7103
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D801F #1F2C8D
analogous
#8D491F #8D801F #638D1F
triadic
#8D801F #1F8D80 #801F8D
tetradic
#8D801F #1F8D49 #1F2C8D #8D1F63
square
#8D801F #1F8D49 #1F2C8D #8D1F63
split-complementary
#8D801F #1F638D #491F8D
monochromatic
#292509 #5B5214 #8D801F #BFAE2A #D8C84E
Accessibility & contrast
On white
4.01
#8D801F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.24
#8D801F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D801F
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D801F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D801F | 1.00 | 4.01 | 5.24 | 5.24 |
| #FFFFFF | 4.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7C0A
Deuteranopia (green-blind)
#908126
Tritanopia (blue-blind)
#98766E
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #8d801f; /* rgb */ color: rgb(141, 128, 31); /* oklch */ color: oklch(59.4% 0.113 101.3);
Tailwind
colors: {
custom: {
50: '#b2a463',
500: '#8d801f',
950: '#000000',
},
}SCSS
$custom: #8d801f; $custom-light: #b2a463; $custom-dark: #000000;
JSON
{
"hex": "#8d801f",
"rgb": {
"r": 141,
"g": 128,
"b": 31
},
"hsl": {
"h": 52.909,
"s": 63.953,
"l": 33.725
},
"oklch": {
"l": 0.59423,
"c": 0.11309,
"h": 101.3
},
"luminance": 0.212
}Semantic roles & 50–950 ramp
primary
#8D801F
secondary
#4D5ABB
accent
#54E741
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A