#8D801C#8D801C
#8D801C is a mid, moderate yellow. Relative luminance 0.212; OKLCH L 59.4% C 0.115 H 101.5°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #8D801C |
|---|---|
| RGB | rgb(141, 128, 28) |
| HSL | hsl(53, 67%, 33%) |
| HSV | hsv(53, 80%, 55%) |
| CMYK | cmyk(0%, 9.2%, 80.1%, 44.7%) |
| CIE-LAB | lab(53.15, -6.16, 51.70) |
| CIE-LCH | lch(53.15, 52.06, 96.79°) |
| OKLab | oklab(59.4% -0.0228 0.1125) |
| OKLCH | oklch(59.4% 0.115 101.5) |
| XYZ | xyz(18.9142, 21.1858, 4.1914) |
| Luminance | 0.2119 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.61
Olive
#808000
ΔE00 4.24
Hazel
#8E7618
ΔE00 4.77
Diarrhea
#9F8303
ΔE00 5.44
Puke Brown
#947706
ΔE00 5.66
Ugly Brown
#7D7103
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D801C #1C298D
analogous
#8D471C #8D801C #618D1C
triadic
#8D801C #1C8D80 #801C8D
tetradic
#8D801C #1C8D47 #1C298D #8D1C61
square
#8D801C #1C8D47 #1C298D #8D1C61
split-complementary
#8D801C #1C618D #471C8D
monochromatic
#272308 #5A5212 #8D801C #C0AE26 #DBCA49
Accessibility & contrast
On white
4.01
#8D801C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.24
#8D801C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D801C
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D801C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D801C | 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)
#8D7C03
Deuteranopia (green-blind)
#908124
Tritanopia (blue-blind)
#98766D
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #8d801c; /* rgb */ color: rgb(141, 128, 28); /* oklch */ color: oklch(59.4% 0.115 101.5);
Tailwind
colors: {
custom: {
50: '#b2a462',
500: '#8d801c',
950: '#000000',
},
}SCSS
$custom: #8d801c; $custom-light: #b2a462; $custom-dark: #000000;
JSON
{
"hex": "#8d801c",
"rgb": {
"r": 141,
"g": 128,
"b": 28
},
"hsl": {
"h": 53.097,
"s": 66.864,
"l": 33.137
},
"oklch": {
"l": 0.59405,
"c": 0.11474,
"h": 101.5
},
"luminance": 0.21185
}Semantic roles & 50–950 ramp
primary
#8D801C
secondary
#4855BD
accent
#52EA3E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A