#8D7C10#8D7C10
#8D7C10 is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.4% C 0.117 H 99.2°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #8D7C10 |
|---|---|
| RGB | rgb(141, 124, 16) |
| HSL | hsl(52, 80%, 31%) |
| HSV | hsv(52, 89%, 55%) |
| CMYK | cmyk(0%, 12.1%, 88.7%, 44.7%) |
| CIE-LAB | lab(51.97, -4.32, 54.15) |
| CIE-LCH | lch(51.97, 54.32, 94.56°) |
| OKLab | oklab(58.45% -0.0186 0.1153) |
| OKLCH | oklch(58.45% 0.117 99.2) |
| XYZ | xyz(18.2867, 20.1164, 3.4098) |
| Luminance | 0.2011 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.13
Hazel
#8E7618
ΔE00 3.23
Puke Brown
#947706
ΔE00 4.01
Poo
#8F7303
ΔE00 4.48
Diarrhea
#9F8303
ΔE00 4.92
Ugly Brown
#7D7103
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D7C10 #10218D
analogous
#8D3D10 #8D7C10 #5F8D10
triadic
#8D7C10 #108D7C #7C108D
tetradic
#8D7C10 #108D3D #10218D #8D105F
square
#8D7C10 #108D3D #10218D #8D105F
split-complementary
#8D7C10 #105F8D #3D108D
monochromatic
#1F1B04 #564C0A #8D7C10 #C4AC16 #E7CF30
Accessibility & contrast
On white
4.18
#8D7C10 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.02
#8D7C10 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D7C10
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D7C10 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D7C10 | 1.00 | 4.18 | 5.02 | 5.02 |
| #FFFFFF | 4.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#8E7E1A
Tritanopia (blue-blind)
#997269
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #8d7c10; /* rgb */ color: rgb(141, 124, 16); /* oklch */ color: oklch(58.4% 0.117 99.2);
Tailwind
colors: {
custom: {
50: '#b3a15c',
500: '#8d7c10',
950: '#000000',
},
}SCSS
$custom: #8d7c10; $custom-light: #b3a15c; $custom-dark: #000000;
JSON
{
"hex": "#8d7c10",
"rgb": {
"r": 141,
"g": 124,
"b": 16
},
"hsl": {
"h": 51.84,
"s": 79.618,
"l": 30.784
},
"oklch": {
"l": 0.58449,
"c": 0.11683,
"h": 99.2
},
"luminance": 0.20115
}Semantic roles & 50–950 ramp
primary
#8D7C10
secondary
#374AC2
accent
#4CF632
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120E05
muted
#817E79