#8D7F2D#8D7F2D
#8D7F2D is a mid, moderate yellow. Relative luminance 0.210; OKLCH L 59.3% C 0.103 H 99.5°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #8D7F2D |
|---|---|
| RGB | rgb(141, 127, 45) |
| HSL | hsl(51, 52%, 36%) |
| HSV | hsv(51, 68%, 55%) |
| CMYK | cmyk(0%, 9.9%, 68.1%, 44.7%) |
| CIE-LAB | lab(52.98, -4.74, 44.84) |
| CIE-LCH | lch(52.98, 45.09, 96.04°) |
| OKLab | oklab(59.31% -0.017 0.1012) |
| OKLCH | oklch(59.31% 0.103 99.5) |
| XYZ | xyz(19.0484, 21.0318, 5.5383) |
| Luminance | 0.2103 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 4.52
Baby Poop
#937C00
ΔE00 4.66
Olive
#808000
ΔE00 5.66
Puke Brown
#947706
ΔE00 5.88
Drab
#828344
ΔE00 6.19
Ugly Brown
#7D7103
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D7F2D #2D3B8D
analogous
#8D4F2D #8D7F2D #6B8D2D
triadic
#8D7F2D #2D8D7F #7F2D8D
tetradic
#8D7F2D #2D8D4F #2D3B8D #8D2D6B
square
#8D7F2D #2D8D4F #2D3B8D #8D2D6B
split-complementary
#8D7F2D #2D6B8D #4F2D8D
monochromatic
#302B0F #5F551E #8D7F2D #BBA93C #CEBF66
Accessibility & contrast
On white
4.03
#8D7F2D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.21
#8D7F2D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D7F2D
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D7F2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D7F2D | 1.00 | 4.03 | 5.21 | 5.21 |
| #FFFFFF | 4.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7C22
Deuteranopia (green-blind)
#8F8132
Tritanopia (blue-blind)
#98766E
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #8d7f2d; /* rgb */ color: rgb(141, 127, 45); /* oklch */ color: oklch(59.3% 0.103 99.5);
Tailwind
colors: {
custom: {
50: '#b1a36a',
500: '#8d7f2d',
950: '#000000',
},
}SCSS
$custom: #8d7f2d; $custom-light: #b1a36a; $custom-dark: #000000;
JSON
{
"hex": "#8d7f2d",
"rgb": {
"r": 141,
"g": 127,
"b": 45
},
"hsl": {
"h": 51.25,
"s": 51.613,
"l": 36.471
},
"oklch": {
"l": 0.59308,
"c": 0.1026,
"h": 99.5
},
"luminance": 0.21031
}Semantic roles & 50–950 ramp
primary
#8D7F2D
secondary
#616DB5
accent
#61DB4D
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F07
muted
#807F7A