#8D861C#8D861C
#8D861C is a mid, vivid yellow. Relative luminance 0.228; OKLCH L 60.8% C 0.120 H 105.5°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #8D861C |
|---|---|
| RGB | rgb(141, 134, 28) |
| HSL | hsl(56, 67%, 33%) |
| HSV | hsv(56, 80%, 55%) |
| CMYK | cmyk(0%, 5%, 80.1%, 44.7%) |
| CIE-LAB | lab(54.86, -9.44, 53.24) |
| CIE-LCH | lch(54.86, 54.07, 100.06°) |
| OKLab | oklab(60.77% -0.032 0.1158) |
| OKLCH | oklch(60.77% 0.12 105.5) |
| XYZ | xyz(19.7201, 22.7975, 4.4600) |
| Luminance | 0.2280 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.55
Baby Poop
#937C00
ΔE00 5.75
Shit Green
#758000
ΔE00 6.17
Diarrhea
#9F8303
ΔE00 6.64
Swamp Green
#748500
ΔE00 6.80
Baby Poop Green
#8F9805
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D861C #1C238D
analogous
#8D4D1C #8D861C #5B8D1C
triadic
#8D861C #1C8D86 #861C8D
tetradic
#8D861C #1C8D4D #1C238D #8D1C5B
square
#8D861C #1C8D4D #1C238D #8D1C5B
split-complementary
#8D861C #1C5B8D #4D1C8D
monochromatic
#272508 #5A5512 #8D861C #C0B726 #DBD249
Accessibility & contrast
On white
3.78
#8D861C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.56
#8D861C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D861C
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D861C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D861C | 1.00 | 3.78 | 5.56 | 5.56 |
| #FFFFFF | 3.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#958525
Tritanopia (blue-blind)
#987C72
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #8d861c; /* rgb */ color: rgb(141, 134, 28); /* oklch */ color: oklch(60.8% 0.120 105.5);
Tailwind
colors: {
custom: {
50: '#b2a862',
500: '#8d861c',
950: '#000000',
},
}SCSS
$custom: #8d861c; $custom-light: #b2a862; $custom-dark: #000000;
JSON
{
"hex": "#8d861c",
"rgb": {
"r": 141,
"g": 134,
"b": 28
},
"hsl": {
"h": 56.283,
"s": 66.864,
"l": 33.137
},
"oklch": {
"l": 0.60766,
"c": 0.1201,
"h": 105.5
},
"luminance": 0.22797
}Semantic roles & 50–950 ramp
primary
#8D861C
secondary
#484FBD
accent
#49EA3E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A