#8D7C1D#8D7C1D
#8D7C1D is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.5% C 0.111 H 98.5°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #8D7C1D |
|---|---|
| RGB | rgb(141, 124, 29) |
| HSL | hsl(51, 66%, 33%) |
| HSV | hsv(51, 79%, 55%) |
| CMYK | cmyk(0%, 12.1%, 79.4%, 44.7%) |
| CIE-LAB | lab(52.03, -3.90, 50.33) |
| CIE-LCH | lch(52.03, 50.48, 94.43°) |
| OKLab | oklab(58.51% -0.0163 0.1097) |
| OKLCH | oklch(58.51% 0.111 98.5) |
| XYZ | xyz(18.4149, 20.1677, 4.0849) |
| Luminance | 0.2017 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.78
Hazel
#8E7618
ΔE00 2.95
Puke Brown
#947706
ΔE00 4.14
Poo
#8F7303
ΔE00 4.57
Ugly Brown
#7D7103
ΔE00 5.03
Yellowish Brown
#9B7A01
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D7C1D #1D2E8D
analogous
#8D441D #8D7C1D #668D1D
triadic
#8D7C1D #1D8D7C #7C1D8D
tetradic
#8D7C1D #1D8D44 #1D2E8D #8D1D66
square
#8D7C1D #1D8D44 #1D2E8D #8D1D66
split-complementary
#8D7C1D #1D668D #441D8D
monochromatic
#272308 #5A4F13 #8D7C1D #C0A927 #DAC44B
Accessibility & contrast
On white
4.17
#8D7C1D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#8D7C1D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D7C1D
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D7C1D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D7C1D | 1.00 | 4.17 | 5.03 | 5.03 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897907
Deuteranopia (green-blind)
#8E7F24
Tritanopia (blue-blind)
#99726A
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #8d7c1d; /* rgb */ color: rgb(141, 124, 29); /* oklch */ color: oklch(58.5% 0.111 98.5);
Tailwind
colors: {
custom: {
50: '#b2a162',
500: '#8d7c1d',
950: '#000000',
},
}SCSS
$custom: #8d7c1d; $custom-light: #b2a162; $custom-dark: #000000;
JSON
{
"hex": "#8d7c1d",
"rgb": {
"r": 141,
"g": 124,
"b": 29
},
"hsl": {
"h": 50.893,
"s": 65.882,
"l": 33.333
},
"oklch": {
"l": 0.58513,
"c": 0.11095,
"h": 98.5
},
"luminance": 0.20167
}Semantic roles & 50–950 ramp
primary
#8D7C1D
secondary
#4A5BBC
accent
#59E93F
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A