#8D8010#8D8010
#8D8010 is a mid, moderate yellow. Relative luminance 0.211; OKLCH L 59.3% C 0.120 H 101.9°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #8D8010 |
|---|---|
| RGB | rgb(141, 128, 16) |
| HSL | hsl(54, 80%, 31%) |
| HSV | hsv(54, 89%, 55%) |
| CMYK | cmyk(0%, 9.2%, 88.7%, 44.7%) |
| CIE-LAB | lab(53.10, -6.54, 55.07) |
| CIE-LCH | lch(53.10, 55.45, 96.77°) |
| OKLab | oklab(59.35% -0.0248 0.1174) |
| OKLCH | oklch(59.35% 0.12 101.9) |
| XYZ | xyz(18.7982, 21.1394, 3.5803) |
| Luminance | 0.2114 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.30
Olive
#808000
ΔE00 4.00
Hazel
#8E7618
ΔE00 4.98
Diarrhea
#9F8303
ΔE00 5.18
Puke Brown
#947706
ΔE00 5.62
Ugly Brown
#7D7103
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D8010 #101D8D
analogous
#8D4110 #8D8010 #5B8D10
triadic
#8D8010 #108D80 #80108D
tetradic
#8D8010 #108D41 #101D8D #8D105B
square
#8D8010 #108D41 #101D8D #8D105B
split-complementary
#8D8010 #105B8D #41108D
monochromatic
#1F1C04 #564E0A #8D8010 #C4B216 #E7D430
Accessibility & contrast
On white
4.02
#8D8010 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.23
#8D8010 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D8010
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D8010 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D8010 | 1.00 | 4.02 | 5.23 | 5.23 |
| #FFFFFF | 4.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#91811B
Tritanopia (blue-blind)
#99766D
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #8d8010; /* rgb */ color: rgb(141, 128, 16); /* oklch */ color: oklch(59.3% 0.120 101.9);
Tailwind
colors: {
custom: {
50: '#b2a45d',
500: '#8d8010',
950: '#000000',
},
}SCSS
$custom: #8d8010; $custom-light: #b2a45d; $custom-dark: #000000;
JSON
{
"hex": "#8d8010",
"rgb": {
"r": 141,
"g": 128,
"b": 16
},
"hsl": {
"h": 53.76,
"s": 79.618,
"l": 30.784
},
"oklch": {
"l": 0.59349,
"c": 0.11998,
"h": 101.9
},
"luminance": 0.21138
}Semantic roles & 50–950 ramp
primary
#8D8010
secondary
#3745C2
accent
#46F632
background
#FBFAF5
surface
#F6F3E9
border
#D0CDC5
text
#110F05
muted
#807F79