#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
RGBrgb(140, 119, 30)
HSLhsl(49, 65%, 33%)
HSVhsv(49, 79%, 55%)
CMYKcmyk(0%, 15%, 78.6%, 45.1%)
CIE-LABlab(50.53, -1.51, 48.55)
CIE-LCHlch(50.53, 48.58, 91.78°)
OKLaboklab(57.3% -0.0094 0.1062)
OKLCHoklch(57.3% 0.107 95.1)
XYZxyz(17.6473, 18.8638, 3.9396)
Luminance0.1886 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

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
##8C771E1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.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

Preview Lab

Preview with #8C771E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#8C771E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva