#8C771E#8C771E
#8C771E is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 57.3% C 0.107 H 95.1°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #8C771E |
|---|---|
| RGB | rgb(140, 119, 30) |
| HSL | hsl(49, 65%, 33%) |
| HSV | hsv(49, 79%, 55%) |
| CMYK | cmyk(0%, 15%, 78.6%, 45.1%) |
| CIE-LAB | lab(50.53, -1.51, 48.55) |
| CIE-LCH | lch(50.53, 48.58, 91.78°) |
| OKLab | oklab(57.3% -0.0094 0.1062) |
| OKLCH | oklch(57.3% 0.107 95.1) |
| XYZ | xyz(17.6473, 18.8638, 3.9396) |
| Luminance | 0.1886 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 1.10
Poo
#8F7303
ΔE00 2.95
Puke Brown
#947706
ΔE00 3.13
Baby Poop
#937C00
ΔE00 3.41
Ugly Brown
#7D7103
ΔE00 4.53
Yellowish Brown
#9B7A01
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C771E #1E338C
analogous
#8C401E #8C771E #6A8C1E
triadic
#8C771E #1E8C77 #771E8C
tetradic
#8C771E #1E8C40 #1E338C #8C1E6A
square
#8C771E #1E8C40 #1E338C #8C1E6A
split-complementary
#8C771E #1E6A8C #401E8C
monochromatic
#272108 #5A4C13 #8C771E #BEA229 #D9BE4C
Accessibility & contrast
On white
4.40
#8C771E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.77
#8C771E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8C771E
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C771E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8C771E | 1.00 | 4.40 | 4.77 | 4.77 |
| #FFFFFF | 4.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#84750C
Deuteranopia (green-blind)
#897B24
Tritanopia (blue-blind)
#986D66
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #8c771e; /* rgb */ color: rgb(140, 119, 30); /* oklch */ color: oklch(57.3% 0.107 95.1);
Tailwind
colors: {
custom: {
50: '#b19d61',
500: '#8c771e',
950: '#000000',
},
}SCSS
$custom: #8c771e; $custom-light: #b19d61; $custom-dark: #000000;
JSON
{
"hex": "#8c771e",
"rgb": {
"r": 140,
"g": 119,
"b": 30
},
"hsl": {
"h": 48.545,
"s": 64.706,
"l": 33.333
},
"oklch": {
"l": 0.57305,
"c": 0.10661,
"h": 95.1
},
"luminance": 0.18863
}Semantic roles & 50–950 ramp
primary
#8C771E
secondary
#4B60BB
accent
#60E840
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A