#8C7E19#8C7E19
#8C7E19 is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 58.8% C 0.115 H 100.8°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #8C7E19 |
|---|---|
| RGB | rgb(140, 126, 25) |
| HSL | hsl(53, 70%, 32%) |
| HSV | hsv(53, 82%, 55%) |
| CMYK | cmyk(0%, 10%, 82.1%, 45.1%) |
| CIE-LAB | lab(52.47, -5.63, 52.03) |
| CIE-LCH | lch(52.47, 52.34, 96.17°) |
| OKLab | oklab(58.84% -0.0215 0.1126) |
| OKLCH | oklch(58.84% 0.115 100.8) |
| XYZ | xyz(18.4525, 20.5682, 3.9176) |
| Luminance | 0.2057 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.19
Hazel
#8E7618
ΔE00 4.12
Olive
#808000
ΔE00 4.41
Puke Brown
#947706
ΔE00 5.11
Ugly Brown
#7D7103
ΔE00 5.27
Diarrhea
#9F8303
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C7E19 #19278C
analogous
#8C4519 #8C7E19 #608C19
triadic
#8C7E19 #198C7E #7E198C
tetradic
#8C7E19 #198C45 #19278C #8C1960
square
#8C7E19 #198C45 #19278C #8C1960
split-complementary
#8C7E19 #19608C #45198C
monochromatic
#242106 #584F10 #8C7E19 #C0AD22 #DDCA42
Accessibility & contrast
On white
4.11
#8C7E19 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.11
#8C7E19 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8C7E19
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C7E19 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8C7E19 | 1.00 | 4.11 | 5.11 | 5.11 |
| #FFFFFF | 4.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#8F8021
Tritanopia (blue-blind)
#97746B
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #8c7e19; /* rgb */ color: rgb(140, 126, 25); /* oklch */ color: oklch(58.8% 0.115 100.8);
Tailwind
colors: {
custom: {
50: '#b1a360',
500: '#8c7e19',
950: '#000000',
},
}SCSS
$custom: #8c7e19; $custom-light: #b1a360; $custom-dark: #000000;
JSON
{
"hex": "#8c7e19",
"rgb": {
"r": 140,
"g": 126,
"b": 25
},
"hsl": {
"h": 52.696,
"s": 69.697,
"l": 32.353
},
"oklch": {
"l": 0.58838,
"c": 0.11464,
"h": 100.8
},
"luminance": 0.20567
}Semantic roles & 50–950 ramp
primary
#8C7E19
secondary
#4352BE
accent
#51ED3B
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110F05
muted
#807E79