#8C781D#8C781D
#8C781D is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.5% C 0.108 H 96.0°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #8C781D |
|---|---|
| RGB | rgb(140, 120, 29) |
| HSL | hsl(49, 66%, 33%) |
| HSV | hsv(49, 79%, 55%) |
| CMYK | cmyk(0%, 14.3%, 79.3%, 45.1%) |
| CIE-LAB | lab(50.80, -2.12, 49.17) |
| CIE-LCH | lch(50.80, 49.22, 92.47°) |
| OKLab | oklab(57.52% -0.0113 0.1073) |
| OKLCH | oklch(57.52% 0.108 96) |
| XYZ | xyz(17.7544, 19.0981, 3.9133) |
| Luminance | 0.1910 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 1.42
Baby Poop
#937C00
ΔE00 3.12
Poo
#8F7303
ΔE00 3.22
Puke Brown
#947706
ΔE00 3.25
Ugly Brown
#7D7103
ΔE00 4.46
Yellowish Brown
#9B7A01
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C781D #1D318C
analogous
#8C401D #8C781D #688C1D
triadic
#8C781D #1D8C78 #781D8C
tetradic
#8C781D #1D8C40 #1D318C #8C1D68
square
#8C781D #1D8C40 #1D318C #8C1D68
split-complementary
#8C781D #1D688C #401D8C
monochromatic
#272108 #594D12 #8C781D #BFA328 #D9C04A
Accessibility & contrast
On white
4.36
#8C781D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.82
#8C781D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8C781D
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C781D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8C781D | 1.00 | 4.36 | 4.82 | 4.82 |
| #FFFFFF | 4.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857509
Deuteranopia (green-blind)
#8A7C23
Tritanopia (blue-blind)
#986E67
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #8c781d; /* rgb */ color: rgb(140, 120, 29); /* oklch */ color: oklch(57.5% 0.108 96.0);
Tailwind
colors: {
custom: {
50: '#b19e61',
500: '#8c781d',
950: '#000000',
},
}SCSS
$custom: #8c781d; $custom-light: #b19e61; $custom-dark: #000000;
JSON
{
"hex": "#8c781d",
"rgb": {
"r": 140,
"g": 120,
"b": 29
},
"hsl": {
"h": 49.189,
"s": 65.68,
"l": 33.137
},
"oklch": {
"l": 0.5752,
"c": 0.1079,
"h": 96
},
"luminance": 0.19097
}Semantic roles & 50–950 ramp
primary
#8C781D
secondary
#495EBC
accent
#5EE93F
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A