#8D7D1F#8D7D1F
#8D7D1F is a mid, moderate yellow. Relative luminance 0.204; OKLCH L 58.7% C 0.111 H 99.1°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #8D7D1F |
|---|---|
| RGB | rgb(141, 125, 31) |
| HSL | hsl(51, 64%, 34%) |
| HSV | hsv(51, 78%, 55%) |
| CMYK | cmyk(0%, 11.3%, 78%, 44.7%) |
| CIE-LAB | lab(52.32, -4.37, 49.89) |
| CIE-LCH | lch(52.32, 50.08, 95.00°) |
| OKLab | oklab(58.75% -0.0175 0.1092) |
| OKLCH | oklch(58.75% 0.111 99.1) |
| XYZ | xyz(18.5664, 20.4298, 4.2615) |
| Luminance | 0.2043 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.06
Hazel
#8E7618
ΔE00 3.39
Puke Brown
#947706
ΔE00 4.56
Poo
#8F7303
ΔE00 5.03
Ugly Brown
#7D7103
ΔE00 5.26
Olive
#808000
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D7D1F #1F2F8D
analogous
#8D461F #8D7D1F #668D1F
triadic
#8D7D1F #1F8D7D #7D1F8D
tetradic
#8D7D1F #1F8D46 #1F2F8D #8D1F66
square
#8D7D1F #1F8D46 #1F2F8D #8D1F66
split-complementary
#8D7D1F #1F668D #461F8D
monochromatic
#292409 #5B5114 #8D7D1F #BFA92A #D8C44E
Accessibility & contrast
On white
4.13
#8D7D1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.09
#8D7D1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D7D1F
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D7D1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D7D1F | 1.00 | 4.13 | 5.09 | 5.09 |
| #FFFFFF | 4.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7A0C
Deuteranopia (green-blind)
#8E7F25
Tritanopia (blue-blind)
#98736B
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #8d7d1f; /* rgb */ color: rgb(141, 125, 31); /* oklch */ color: oklch(58.7% 0.111 99.1);
Tailwind
colors: {
custom: {
50: '#b2a263',
500: '#8d7d1f',
950: '#000000',
},
}SCSS
$custom: #8d7d1f; $custom-light: #b2a263; $custom-dark: #000000;
JSON
{
"hex": "#8d7d1f",
"rgb": {
"r": 141,
"g": 125,
"b": 31
},
"hsl": {
"h": 51.273,
"s": 63.953,
"l": 33.725
},
"oklch": {
"l": 0.58749,
"c": 0.1106,
"h": 99.1
},
"luminance": 0.20429
}Semantic roles & 50–950 ramp
primary
#8D7D1F
secondary
#4D5DBB
accent
#59E741
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A