#8D7E2D#8D7E2D
#8D7E2D is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 59.1% C 0.102 H 98.7°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #8D7E2D |
|---|---|
| RGB | rgb(141, 126, 45) |
| HSL | hsl(51, 52%, 36%) |
| HSV | hsv(51, 68%, 55%) |
| CMYK | cmyk(0%, 10.6%, 68.1%, 44.7%) |
| CIE-LAB | lab(52.70, -4.19, 44.54) |
| CIE-LCH | lch(52.70, 44.74, 95.37°) |
| OKLab | oklab(59.09% -0.0154 0.1006) |
| OKLCH | oklch(59.09% 0.102 98.7) |
| XYZ | xyz(18.9199, 20.7748, 5.4955) |
| Luminance | 0.2077 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 4.14
Baby Poop
#937C00
ΔE00 4.54
Puke Brown
#947706
ΔE00 5.57
Olive
#808000
ΔE00 5.96
Poo
#8F7303
ΔE00 6.00
Ugly Brown
#7D7103
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D7E2D #2D3C8D
analogous
#8D4E2D #8D7E2D #6C8D2D
triadic
#8D7E2D #2D8D7E #7E2D8D
tetradic
#8D7E2D #2D8D4E #2D3C8D #8D2D6C
square
#8D7E2D #2D8D4E #2D3C8D #8D2D6C
split-complementary
#8D7E2D #2D6C8D #4E2D8D
monochromatic
#302B0F #5F551E #8D7E2D #BBA73C #CEBE66
Accessibility & contrast
On white
4.07
#8D7E2D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.15
#8D7E2D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D7E2D
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D7E2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D7E2D | 1.00 | 4.07 | 5.15 | 5.15 |
| #FFFFFF | 4.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7B23
Deuteranopia (green-blind)
#8E8031
Tritanopia (blue-blind)
#98756D
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #8d7e2d; /* rgb */ color: rgb(141, 126, 45); /* oklch */ color: oklch(59.1% 0.102 98.7);
Tailwind
colors: {
custom: {
50: '#b1a36a',
500: '#8d7e2d',
950: '#000000',
},
}SCSS
$custom: #8d7e2d; $custom-light: #b1a36a; $custom-dark: #000000;
JSON
{
"hex": "#8d7e2d",
"rgb": {
"r": 141,
"g": 126,
"b": 45
},
"hsl": {
"h": 50.625,
"s": 51.613,
"l": 36.471
},
"oklch": {
"l": 0.59085,
"c": 0.10174,
"h": 98.7
},
"luminance": 0.20774
}Semantic roles & 50–950 ramp
primary
#8D7E2D
secondary
#616EB5
accent
#63DB4D
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F07
muted
#807E7A