#8D7D1C#8D7D1C
#8D7D1C is a mid, moderate yellow. Relative luminance 0.204; OKLCH L 58.7% C 0.112 H 99.3°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #8D7D1C |
|---|---|
| RGB | rgb(141, 125, 28) |
| HSL | hsl(52, 67%, 33%) |
| HSV | hsv(52, 80%, 55%) |
| CMYK | cmyk(0%, 11.3%, 80.1%, 44.7%) |
| CIE-LAB | lab(52.30, -4.49, 50.93) |
| CIE-LCH | lch(52.30, 51.13, 95.04°) |
| OKLab | oklab(58.73% -0.0181 0.1108) |
| OKLCH | oklch(58.73% 0.112 99.3) |
| XYZ | xyz(18.5287, 20.4147, 4.0629) |
| Luminance | 0.2041 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.85
Hazel
#8E7618
ΔE00 3.41
Puke Brown
#947706
ΔE00 4.49
Poo
#8F7303
ΔE00 4.98
Olive
#808000
ΔE00 5.14
Ugly Brown
#7D7103
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D7D1C #1C2C8D
analogous
#8D441C #8D7D1C #658D1C
triadic
#8D7D1C #1C8D7D #7D1C8D
tetradic
#8D7D1C #1C8D44 #1C2C8D #8D1C65
square
#8D7D1C #1C8D44 #1C2C8D #8D1C65
split-complementary
#8D7D1C #1C658D #441C8D
monochromatic
#272208 #5A5012 #8D7D1C #C0AA26 #DBC649
Accessibility & contrast
On white
4.13
#8D7D1C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.08
#8D7D1C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D7D1C
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D7D1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D7D1C | 1.00 | 4.13 | 5.08 | 5.08 |
| #FFFFFF | 4.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7904
Deuteranopia (green-blind)
#8E7F23
Tritanopia (blue-blind)
#99736B
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #8d7d1c; /* rgb */ color: rgb(141, 125, 28); /* oklch */ color: oklch(58.7% 0.112 99.3);
Tailwind
colors: {
custom: {
50: '#b2a261',
500: '#8d7d1c',
950: '#000000',
},
}SCSS
$custom: #8d7d1c; $custom-light: #b2a261; $custom-dark: #000000;
JSON
{
"hex": "#8d7d1c",
"rgb": {
"r": 141,
"g": 125,
"b": 28
},
"hsl": {
"h": 51.504,
"s": 66.864,
"l": 33.137
},
"oklch": {
"l": 0.58731,
"c": 0.11228,
"h": 99.3
},
"luminance": 0.20414
}Semantic roles & 50–950 ramp
primary
#8D7D1C
secondary
#4859BD
accent
#56EA3E
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F05
muted
#807E7A