#8D7E1D#8D7E1D
#8D7E1D is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 59.0% C 0.113 H 100.0°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #8D7E1D |
|---|---|
| RGB | rgb(141, 126, 29) |
| HSL | hsl(52, 66%, 33%) |
| HSV | hsv(52, 79%, 55%) |
| CMYK | cmyk(0%, 10.6%, 79.4%, 44.7%) |
| CIE-LAB | lab(52.59, -5.01, 50.85) |
| CIE-LCH | lch(52.59, 51.10, 95.63°) |
| OKLab | oklab(58.96% -0.0195 0.1108) |
| OKLCH | oklch(58.96% 0.113 100) |
| XYZ | xyz(18.6681, 20.6741, 4.1693) |
| Luminance | 0.2067 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.12
Hazel
#8E7618
ΔE00 3.86
Olive
#808000
ΔE00 4.85
Puke Brown
#947706
ΔE00 4.89
Diarrhea
#9F8303
ΔE00 5.30
Poo
#8F7303
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D7E1D #1D2C8D
analogous
#8D461D #8D7E1D #648D1D
triadic
#8D7E1D #1D8D7E #7E1D8D
tetradic
#8D7E1D #1D8D46 #1D2C8D #8D1D64
square
#8D7E1D #1D8D46 #1D2C8D #8D1D64
split-complementary
#8D7E1D #1D648D #461D8D
monochromatic
#272308 #5A5113 #8D7E1D #C0AB27 #DAC74B
Accessibility & contrast
On white
4.09
#8D7E1D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.13
#8D7E1D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D7E1D
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D7E1D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D7E1D | 1.00 | 4.09 | 5.13 | 5.13 |
| #FFFFFF | 4.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7A06
Deuteranopia (green-blind)
#8F8024
Tritanopia (blue-blind)
#98746C
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #8d7e1d; /* rgb */ color: rgb(141, 126, 29); /* oklch */ color: oklch(59.0% 0.113 100.0);
Tailwind
colors: {
custom: {
50: '#b2a362',
500: '#8d7e1d',
950: '#000000',
},
}SCSS
$custom: #8d7e1d; $custom-light: #b2a362; $custom-dark: #000000;
JSON
{
"hex": "#8d7e1d",
"rgb": {
"r": 141,
"g": 126,
"b": 29
},
"hsl": {
"h": 51.964,
"s": 65.882,
"l": 33.333
},
"oklch": {
"l": 0.58961,
"c": 0.11254,
"h": 100
},
"luminance": 0.20673
}Semantic roles & 50–950 ramp
primary
#8D7E1D
secondary
#4A59BC
accent
#56E93F
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F05
muted
#807E7A