#8D7E2F#8D7E2F
#8D7E2F is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 59.1% C 0.100 H 98.5°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #8D7E2F |
|---|---|
| RGB | rgb(141, 126, 47) |
| HSL | hsl(50, 50%, 37%) |
| HSV | hsv(50, 67%, 55%) |
| CMYK | cmyk(0%, 10.6%, 66.7%, 44.7%) |
| CIE-LAB | lab(52.72, -4.06, 43.65) |
| CIE-LCH | lch(52.72, 43.84, 95.31°) |
| OKLab | oklab(59.1% -0.0148 0.099) |
| OKLCH | oklch(59.1% 0.1 98.5) |
| XYZ | xyz(18.9593, 20.7905, 5.7031) |
| Luminance | 0.2079 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 4.25
Baby Poop
#937C00
ΔE00 4.78
Puke Brown
#947706
ΔE00 5.71
Poo
#8F7303
ΔE00 6.13
Olive
#808000
ΔE00 6.17
Ugly Brown
#7D7103
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D7E2F #2F3E8D
analogous
#8D4F2F #8D7E2F #6D8D2F
triadic
#8D7E2F #2F8D7E #7E2F8D
tetradic
#8D7E2F #2F8D4F #2F3E8D #8D2F6D
square
#8D7E2F #2F8D4F #2F3E8D #8D2F6D
split-complementary
#8D7E2F #2F6D8D #4F2F8D
monochromatic
#312C10 #5F5520 #8D7E2F #BBA73E #CDBD69
Accessibility & contrast
On white
4.07
#8D7E2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.16
#8D7E2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D7E2F
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D7E2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D7E2F | 1.00 | 4.07 | 5.16 | 5.16 |
| #FFFFFF | 4.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7B25
Deuteranopia (green-blind)
#8E8033
Tritanopia (blue-blind)
#98756D
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #8d7e2f; /* rgb */ color: rgb(141, 126, 47); /* oklch */ color: oklch(59.1% 0.100 98.5);
Tailwind
colors: {
custom: {
50: '#b1a36c',
500: '#8d7e2f',
950: '#000000',
},
}SCSS
$custom: #8d7e2f; $custom-light: #b1a36c; $custom-dark: #000000;
JSON
{
"hex": "#8d7e2f",
"rgb": {
"r": 141,
"g": 126,
"b": 47
},
"hsl": {
"h": 50.426,
"s": 50,
"l": 36.863
},
"oklch": {
"l": 0.59104,
"c": 0.10012,
"h": 98.5
},
"luminance": 0.2079
}Semantic roles & 50–950 ramp
primary
#8D7E2F
secondary
#6470B4
accent
#65DA4E
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F07
muted
#807E7A