#8D7F1D#8D7F1D
#8D7F1D is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 59.2% C 0.113 H 100.7°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #8D7F1D |
|---|---|
| RGB | rgb(141, 127, 29) |
| HSL | hsl(53, 66%, 33%) |
| HSV | hsv(53, 79%, 55%) |
| CMYK | cmyk(0%, 9.9%, 79.4%, 44.7%) |
| CIE-LAB | lab(52.87, -5.56, 51.11) |
| CIE-LCH | lch(52.87, 51.41, 96.21°) |
| OKLab | oklab(59.19% -0.0211 0.1114) |
| OKLCH | oklch(59.19% 0.113 100.7) |
| XYZ | xyz(18.7966, 20.9311, 4.2122) |
| Luminance | 0.2093 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.37
Hazel
#8E7618
ΔE00 4.31
Olive
#808000
ΔE00 4.55
Puke Brown
#947706
ΔE00 5.28
Diarrhea
#9F8303
ΔE00 5.37
Ugly Brown
#7D7103
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D7F1D #1D2B8D
analogous
#8D471D #8D7F1D #638D1D
triadic
#8D7F1D #1D8D7F #7F1D8D
tetradic
#8D7F1D #1D8D47 #1D2B8D #8D1D63
square
#8D7F1D #1D8D47 #1D2B8D #8D1D63
split-complementary
#8D7F1D #1D638D #471D8D
monochromatic
#272408 #5A5113 #8D7F1D #C0AD27 #DAC84B
Accessibility & contrast
On white
4.05
#8D7F1D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.19
#8D7F1D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D7F1D
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D7F1D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D7F1D | 1.00 | 4.05 | 5.19 | 5.19 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7B06
Deuteranopia (green-blind)
#908124
Tritanopia (blue-blind)
#98756D
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #8d7f1d; /* rgb */ color: rgb(141, 127, 29); /* oklch */ color: oklch(59.2% 0.113 100.7);
Tailwind
colors: {
custom: {
50: '#b2a362',
500: '#8d7f1d',
950: '#000000',
},
}SCSS
$custom: #8d7f1d; $custom-light: #b2a362; $custom-dark: #000000;
JSON
{
"hex": "#8d7f1d",
"rgb": {
"r": 141,
"g": 127,
"b": 29
},
"hsl": {
"h": 52.5,
"s": 65.882,
"l": 33.333
},
"oklch": {
"l": 0.59186,
"c": 0.11336,
"h": 100.7
},
"luminance": 0.2093
}Semantic roles & 50–950 ramp
primary
#8D7F1D
secondary
#4A58BC
accent
#54E93F
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F05
muted
#807F7A