#8C7E1D#8C7E1D
#8C7E1D is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 58.9% C 0.113 H 100.6°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #8C7E1D |
|---|---|
| RGB | rgb(140, 126, 29) |
| HSL | hsl(52, 66%, 33%) |
| HSV | hsv(52, 79%, 55%) |
| CMYK | cmyk(0%, 10%, 79.3%, 45.1%) |
| CIE-LAB | lab(52.49, -5.47, 50.73) |
| CIE-LCH | lch(52.49, 51.02, 96.16°) |
| OKLab | oklab(58.86% -0.0207 0.1106) |
| OKLCH | oklch(58.86% 0.113 100.6) |
| XYZ | xyz(18.4987, 20.5868, 4.1614) |
| Luminance | 0.2059 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.39
Hazel
#8E7618
ΔE00 4.07
Olive
#808000
ΔE00 4.55
Puke Brown
#947706
ΔE00 5.17
Ugly Brown
#7D7103
ΔE00 5.32
Diarrhea
#9F8303
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C7E1D #1D2B8C
analogous
#8C461D #8C7E1D #628C1D
triadic
#8C7E1D #1D8C7E #7E1D8C
tetradic
#8C7E1D #1D8C46 #1D2B8C #8C1D62
square
#8C7E1D #1D8C46 #1D2B8C #8C1D62
split-complementary
#8C7E1D #1D628C #461D8C
monochromatic
#272308 #595012 #8C7E1D #BFAC28 #D9C74A
Accessibility & contrast
On white
4.10
#8C7E1D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.12
#8C7E1D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8C7E1D
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C7E1D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8C7E1D | 1.00 | 4.10 | 5.12 | 5.12 |
| #FFFFFF | 4.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7A06
Deuteranopia (green-blind)
#8F8024
Tritanopia (blue-blind)
#97746C
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #8c7e1d; /* rgb */ color: rgb(140, 126, 29); /* oklch */ color: oklch(58.9% 0.113 100.6);
Tailwind
colors: {
custom: {
50: '#b1a362',
500: '#8c7e1d',
950: '#000000',
},
}SCSS
$custom: #8c7e1d; $custom-light: #b1a362; $custom-dark: #000000;
JSON
{
"hex": "#8c7e1d",
"rgb": {
"r": 140,
"g": 126,
"b": 29
},
"hsl": {
"h": 52.432,
"s": 65.68,
"l": 33.137
},
"oklch": {
"l": 0.58861,
"c": 0.11255,
"h": 100.6
},
"luminance": 0.20586
}Semantic roles & 50–950 ramp
primary
#8C7E1D
secondary
#4958BC
accent
#55E93F
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F05
muted
#807E7A