#8D871C#8D871C
#8D871C is a mid, vivid yellow. Relative luminance 0.231; OKLCH L 61.0% C 0.121 H 106.1°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #8D871C |
|---|---|
| RGB | rgb(141, 135, 28) |
| HSL | hsl(57, 67%, 33%) |
| HSV | hsv(57, 80%, 55%) |
| CMYK | cmyk(0%, 4.3%, 80.1%, 44.7%) |
| CIE-LAB | lab(55.15, -9.99, 53.49) |
| CIE-LCH | lch(55.15, 54.42, 100.57°) |
| OKLab | oklab(60.99% -0.0336 0.1163) |
| OKLCH | oklch(60.99% 0.121 106.1) |
| XYZ | xyz(19.8589, 23.0753, 4.5063) |
| Luminance | 0.2308 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.62
Shit Green
#758000
ΔE00 6.10
Baby Poop
#937C00
ΔE00 6.14
Baby Poop Green
#8F9805
ΔE00 6.56
Swamp Green
#748500
ΔE00 6.60
Pea Soup
#929901
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D871C #1C228D
analogous
#8D4E1C #8D871C #5A8D1C
triadic
#8D871C #1C8D87 #871C8D
tetradic
#8D871C #1C8D4E #1C228D #8D1C5A
square
#8D871C #1C8D4E #1C228D #8D1C5A
split-complementary
#8D871C #1C5A8D #4E1C8D
monochromatic
#272508 #5A5612 #8D871C #C0B826 #DBD349
Accessibility & contrast
On white
3.74
#8D871C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.61
#8D871C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D871C
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D871C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D871C | 1.00 | 3.74 | 5.61 | 5.61 |
| #FFFFFF | 3.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938200
Deuteranopia (green-blind)
#968625
Tritanopia (blue-blind)
#987D73
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #8d871c; /* rgb */ color: rgb(141, 135, 28); /* oklch */ color: oklch(61.0% 0.121 106.1);
Tailwind
colors: {
custom: {
50: '#b2a963',
500: '#8d871c',
950: '#000000',
},
}SCSS
$custom: #8d871c; $custom-light: #b2a963; $custom-dark: #000000;
JSON
{
"hex": "#8d871c",
"rgb": {
"r": 141,
"g": 135,
"b": 28
},
"hsl": {
"h": 56.814,
"s": 66.864,
"l": 33.137
},
"oklch": {
"l": 0.60994,
"c": 0.12105,
"h": 106.1
},
"luminance": 0.23075
}Semantic roles & 50–950 ramp
primary
#8D871C
secondary
#484EBD
accent
#47EA3E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A