#8D7E2B#8D7E2B
#8D7E2B is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 59.1% C 0.103 H 98.9°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #8D7E2B |
|---|---|
| RGB | rgb(141, 126, 43) |
| HSL | hsl(51, 53%, 36%) |
| HSV | hsv(51, 70%, 55%) |
| CMYK | cmyk(0%, 10.6%, 69.5%, 44.7%) |
| CIE-LAB | lab(52.69, -4.31, 45.41) |
| CIE-LCH | lch(52.69, 45.61, 95.42°) |
| OKLab | oklab(59.07% -0.016 0.1021) |
| OKLCH | oklch(59.07% 0.103 98.9) |
| XYZ | xyz(18.8823, 20.7597, 5.2975) |
| Luminance | 0.2076 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 4.04
Baby Poop
#937C00
ΔE00 4.31
Puke Brown
#947706
ΔE00 5.43
Olive
#808000
ΔE00 5.77
Poo
#8F7303
ΔE00 5.88
Ugly Brown
#7D7103
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D7E2B #2B3A8D
analogous
#8D4D2B #8D7E2B #6B8D2B
triadic
#8D7E2B #2B8D7E #7E2B8D
tetradic
#8D7E2B #2B8D4D #2B3A8D #8D2B6B
square
#8D7E2B #2B8D4D #2B3A8D #8D2B6B
split-complementary
#8D7E2B #2B6B8D #4D2B8D
monochromatic
#2F2A0E #5E541D #8D7E2B #BCA839 #CFBF63
Accessibility & contrast
On white
4.08
#8D7E2B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.15
#8D7E2B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D7E2B
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D7E2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D7E2B | 1.00 | 4.08 | 5.15 | 5.15 |
| #FFFFFF | 4.08 | 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)
#8A7B20
Deuteranopia (green-blind)
#8E8030
Tritanopia (blue-blind)
#98756D
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #8d7e2b; /* rgb */ color: rgb(141, 126, 43); /* oklch */ color: oklch(59.1% 0.103 98.9);
Tailwind
colors: {
custom: {
50: '#b1a369',
500: '#8d7e2b',
950: '#000000',
},
}SCSS
$custom: #8d7e2b; $custom-light: #b1a369; $custom-dark: #000000;
JSON
{
"hex": "#8d7e2b",
"rgb": {
"r": 141,
"g": 126,
"b": 43
},
"hsl": {
"h": 50.816,
"s": 53.261,
"l": 36.078
},
"oklch": {
"l": 0.59066,
"c": 0.1033,
"h": 98.9
},
"luminance": 0.20759
}Semantic roles & 50–950 ramp
primary
#8D7E2B
secondary
#5E6CB6
accent
#61DD4B
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F07
muted
#807E7A