#8D7D1E#8D7D1E
#8D7D1E is a mid, moderate yellow. Relative luminance 0.204; OKLCH L 58.7% C 0.111 H 99.2°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #8D7D1E |
|---|---|
| RGB | rgb(141, 125, 30) |
| HSL | hsl(51, 65%, 34%) |
| HSV | hsv(51, 79%, 55%) |
| CMYK | cmyk(0%, 11.3%, 78.7%, 44.7%) |
| CIE-LAB | lab(52.31, -4.41, 50.24) |
| CIE-LCH | lch(52.31, 50.44, 95.02°) |
| OKLab | oklab(58.74% -0.0177 0.1098) |
| OKLCH | oklch(58.74% 0.111 99.2) |
| XYZ | xyz(18.5534, 20.4246, 4.1931) |
| Luminance | 0.2042 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.98
Hazel
#8E7618
ΔE00 3.39
Puke Brown
#947706
ΔE00 4.53
Poo
#8F7303
ΔE00 5.01
Olive
#808000
ΔE00 5.22
Ugly Brown
#7D7103
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D7D1E #1E2E8D
analogous
#8D451E #8D7D1E #658D1E
triadic
#8D7D1E #1E8D7D #7D1E8D
tetradic
#8D7D1E #1E8D45 #1E2E8D #8D1E65
square
#8D7D1E #1E8D45 #1E2E8D #8D1E65
split-complementary
#8D7D1E #1E658D #451E8D
monochromatic
#282409 #5B5013 #8D7D1E #BFAA29 #D9C54C
Accessibility & contrast
On white
4.13
#8D7D1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.08
#8D7D1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D7D1E
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D7D1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D7D1E | 1.00 | 4.13 | 5.08 | 5.08 |
| #FFFFFF | 4.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7A09
Deuteranopia (green-blind)
#8E7F25
Tritanopia (blue-blind)
#99736B
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #8d7d1e; /* rgb */ color: rgb(141, 125, 30); /* oklch */ color: oklch(58.7% 0.111 99.2);
Tailwind
colors: {
custom: {
50: '#b2a262',
500: '#8d7d1e',
950: '#000000',
},
}SCSS
$custom: #8d7d1e; $custom-light: #b2a262; $custom-dark: #000000;
JSON
{
"hex": "#8d7d1e",
"rgb": {
"r": 141,
"g": 125,
"b": 30
},
"hsl": {
"h": 51.351,
"s": 64.912,
"l": 33.529
},
"oklch": {
"l": 0.58743,
"c": 0.11118,
"h": 99.2
},
"luminance": 0.20424
}Semantic roles & 50–950 ramp
primary
#8D7D1E
secondary
#4B5BBC
accent
#58E840
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F05
muted
#807E7A