#8C7E1E#8C7E1E
#8C7E1E is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 58.9% C 0.112 H 100.6°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #8C7E1E |
|---|---|
| RGB | rgb(140, 126, 30) |
| HSL | hsl(52, 65%, 33%) |
| HSV | hsv(52, 79%, 55%) |
| CMYK | cmyk(0%, 10%, 78.6%, 45.1%) |
| CIE-LAB | lab(52.50, -5.43, 50.38) |
| CIE-LCH | lch(52.50, 50.67, 96.15°) |
| OKLab | oklab(58.87% -0.0205 0.1101) |
| OKLCH | oklch(58.87% 0.112 100.6) |
| XYZ | xyz(18.5113, 20.5918, 4.2276) |
| Luminance | 0.2059 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.44
Hazel
#8E7618
ΔE00 4.06
Olive
#808000
ΔE00 4.60
Puke Brown
#947706
ΔE00 5.19
Ugly Brown
#7D7103
ΔE00 5.34
Diarrhea
#9F8303
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C7E1E #1E2C8C
analogous
#8C471E #8C7E1E #638C1E
triadic
#8C7E1E #1E8C7E #7E1E8C
tetradic
#8C7E1E #1E8C47 #1E2C8C #8C1E63
square
#8C7E1E #1E8C47 #1E2C8C #8C1E63
split-complementary
#8C7E1E #1E638C #471E8C
monochromatic
#272308 #5A5113 #8C7E1E #BEAB29 #D9C74C
Accessibility & contrast
On white
4.10
#8C7E1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.12
#8C7E1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8C7E1E
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C7E1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8C7E1E | 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)
#8B7A09
Deuteranopia (green-blind)
#8F8025
Tritanopia (blue-blind)
#97746C
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #8c7e1e; /* rgb */ color: rgb(140, 126, 30); /* oklch */ color: oklch(58.9% 0.112 100.6);
Tailwind
colors: {
custom: {
50: '#b1a362',
500: '#8c7e1e',
950: '#000000',
},
}SCSS
$custom: #8c7e1e; $custom-light: #b1a362; $custom-dark: #000000;
JSON
{
"hex": "#8c7e1e",
"rgb": {
"r": 140,
"g": 126,
"b": 30
},
"hsl": {
"h": 52.364,
"s": 64.706,
"l": 33.333
},
"oklch": {
"l": 0.58868,
"c": 0.11199,
"h": 100.6
},
"luminance": 0.20591
}Semantic roles & 50–950 ramp
primary
#8C7E1E
secondary
#4B59BB
accent
#55E840
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F05
muted
#807E7A