#8D7D10#8D7D10
#8D7D10 is a mid, moderate yellow. Relative luminance 0.204; OKLCH L 58.7% C 0.118 H 99.9°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #8D7D10 |
|---|---|
| RGB | rgb(141, 125, 16) |
| HSL | hsl(52, 80%, 31%) |
| HSV | hsv(52, 89%, 55%) |
| CMYK | cmyk(0%, 11.3%, 88.7%, 44.7%) |
| CIE-LAB | lab(52.25, -4.88, 54.38) |
| CIE-LCH | lch(52.25, 54.59, 95.12°) |
| OKLab | oklab(58.67% -0.0202 0.1159) |
| OKLCH | oklch(58.67% 0.118 99.9) |
| XYZ | xyz(18.4126, 20.3683, 3.4517) |
| Luminance | 0.2037 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.35
Hazel
#8E7618
ΔE00 3.67
Puke Brown
#947706
ΔE00 4.40
Olive
#808000
ΔE00 4.87
Diarrhea
#9F8303
ΔE00 4.93
Poo
#8F7303
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D7D10 #10208D
analogous
#8D3E10 #8D7D10 #5E8D10
triadic
#8D7D10 #108D7D #7D108D
tetradic
#8D7D10 #108D3E #10208D #8D105E
square
#8D7D10 #108D3E #10208D #8D105E
split-complementary
#8D7D10 #105E8D #3E108D
monochromatic
#1F1C04 #564C0A #8D7D10 #C4AE16 #E7D030
Accessibility & contrast
On white
4.14
#8D7D10 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.07
#8D7D10 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D7D10
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D7D10 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D7D10 | 1.00 | 4.14 | 5.07 | 5.07 |
| #FFFFFF | 4.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#8F7F1B
Tritanopia (blue-blind)
#99736A
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #8d7d10; /* rgb */ color: rgb(141, 125, 16); /* oklch */ color: oklch(58.7% 0.118 99.9);
Tailwind
colors: {
custom: {
50: '#b2a25d',
500: '#8d7d10',
950: '#000000',
},
}SCSS
$custom: #8d7d10; $custom-light: #b2a25d; $custom-dark: #000000;
JSON
{
"hex": "#8d7d10",
"rgb": {
"r": 141,
"g": 125,
"b": 16
},
"hsl": {
"h": 52.32,
"s": 79.618,
"l": 30.784
},
"oklch": {
"l": 0.58673,
"c": 0.1176,
"h": 99.9
},
"luminance": 0.20367
}Semantic roles & 50–950 ramp
primary
#8D7D10
secondary
#3749C2
accent
#4BF632
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120F05
muted
#817E79