#8D7D29#8D7D29
#8D7D29 is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 58.8% C 0.104 H 98.3°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #8D7D29 |
|---|---|
| RGB | rgb(141, 125, 41) |
| HSL | hsl(50, 55%, 36%) |
| HSV | hsv(50, 71%, 55%) |
| CMYK | cmyk(0%, 11.3%, 70.9%, 44.7%) |
| CIE-LAB | lab(52.39, -3.87, 45.97) |
| CIE-LCH | lch(52.39, 46.14, 94.81°) |
| OKLab | oklab(58.83% -0.0149 0.1029) |
| OKLCH | oklch(58.83% 0.104 98.3) |
| XYZ | xyz(18.7192, 20.4910, 5.0665) |
| Luminance | 0.2049 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.56
Baby Poop
#937C00
ΔE00 3.99
Puke Brown
#947706
ΔE00 5.00
Poo
#8F7303
ΔE00 5.41
Ugly Brown
#7D7103
ΔE00 5.67
Olive
#808000
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D7D29 #29398D
analogous
#8D4B29 #8D7D29 #6B8D29
triadic
#8D7D29 #298D7D #7D298D
tetradic
#8D7D29 #298D4B #29398D #8D296B
square
#8D7D29 #298D4B #29398D #8D296B
split-complementary
#8D7D29 #296B8D #4B298D
monochromatic
#2E290D #5E531B #8D7D29 #BCA737 #D1BF60
Accessibility & contrast
On white
4.12
#8D7D29 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.10
#8D7D29 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D7D29
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D7D29 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D7D29 | 1.00 | 4.12 | 5.10 | 5.10 |
| #FFFFFF | 4.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897A1D
Deuteranopia (green-blind)
#8E7F2E
Tritanopia (blue-blind)
#98746C
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #8d7d29; /* rgb */ color: rgb(141, 125, 41); /* oklch */ color: oklch(58.8% 0.104 98.3);
Tailwind
colors: {
custom: {
50: '#b1a268',
500: '#8d7d29',
950: '#000000',
},
}SCSS
$custom: #8d7d29; $custom-light: #b1a268; $custom-dark: #000000;
JSON
{
"hex": "#8d7d29",
"rgb": {
"r": 141,
"g": 125,
"b": 41
},
"hsl": {
"h": 50.4,
"s": 54.945,
"l": 35.686
},
"oklch": {
"l": 0.58825,
"c": 0.10397,
"h": 98.3
},
"luminance": 0.2049
}Semantic roles & 50–950 ramp
primary
#8D7D29
secondary
#5B6AB6
accent
#61DE4A
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A