#8D811C#8D811C
#8D811C is a mid, moderate yellow. Relative luminance 0.214; OKLCH L 59.6% C 0.116 H 102.2°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #8D811C |
|---|---|
| RGB | rgb(141, 129, 28) |
| HSL | hsl(54, 67%, 33%) |
| HSV | hsv(54, 80%, 55%) |
| CMYK | cmyk(0%, 8.5%, 80.1%, 44.7%) |
| CIE-LAB | lab(53.44, -6.71, 51.95) |
| CIE-LCH | lch(53.44, 52.39, 97.36°) |
| OKLab | oklab(59.63% -0.0244 0.113) |
| OKLCH | oklch(59.63% 0.116 102.2) |
| XYZ | xyz(19.0453, 21.4479, 4.2351) |
| Luminance | 0.2145 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.93
Olive
#808000
ΔE00 4.01
Hazel
#8E7618
ΔE00 5.21
Diarrhea
#9F8303
ΔE00 5.58
Puke Brown
#947706
ΔE00 6.07
Ugly Brown
#7D7103
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D811C #1C288D
analogous
#8D481C #8D811C #608D1C
triadic
#8D811C #1C8D81 #811C8D
tetradic
#8D811C #1C8D48 #1C288D #8D1C60
square
#8D811C #1C8D48 #1C288D #8D1C60
split-complementary
#8D811C #1C608D #481C8D
monochromatic
#272408 #5A5212 #8D811C #C0B026 #DBCB49
Accessibility & contrast
On white
3.97
#8D811C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.29
#8D811C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D811C
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D811C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D811C | 1.00 | 3.97 | 5.29 | 5.29 |
| #FFFFFF | 3.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7D02
Deuteranopia (green-blind)
#918224
Tritanopia (blue-blind)
#98776E
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #8d811c; /* rgb */ color: rgb(141, 129, 28); /* oklch */ color: oklch(59.6% 0.116 102.2);
Tailwind
colors: {
custom: {
50: '#b2a562',
500: '#8d811c',
950: '#000000',
},
}SCSS
$custom: #8d811c; $custom-light: #b2a562; $custom-dark: #000000;
JSON
{
"hex": "#8d811c",
"rgb": {
"r": 141,
"g": 129,
"b": 28
},
"hsl": {
"h": 53.628,
"s": 66.864,
"l": 33.137
},
"oklch": {
"l": 0.59631,
"c": 0.1156,
"h": 102.2
},
"luminance": 0.21447
}Semantic roles & 50–950 ramp
primary
#8D811C
secondary
#4854BD
accent
#50EA3E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A