#8E772E#8E772E

#8E772E is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.6% C 0.096 H 91.5°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#8E772E
RGBrgb(142, 119, 46)
HSLhsl(46, 51%, 37%)
HSVhsv(46, 68%, 56%)
CMYKcmyk(0%, 16.2%, 67.6%, 44.3%)
CIE-LABlab(50.85, 0.27, 42.16)
CIE-LCHlch(50.85, 42.16, 89.63°)
OKLaboklab(57.65% -0.0025 0.0957)
OKLCHoklch(57.65% 0.096 91.5)
XYZxyz(18.2462, 19.1427, 5.3181)
Luminance0.1914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E772E #2E458E
analogous
#8E472E #8E772E #758E2E
triadic
#8E772E #2E8E77 #772E8E
tetradic
#8E772E #2E8E47 #2E458E #8E2E75
square
#8E772E #2E8E47 #2E458E #8E2E75
split-complementary
#8E772E #2E758E #472E8E
monochromatic
#322A10 #60501F #8E772E #BC9E3D #CEB668

Accessibility & contrast

On white

4.35
#8E772E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#8E772E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E772E
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E772E#FFFFFF#000000##000000
##8E772E1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#847525
Deuteranopia (green-blind)
#897C31
Tritanopia (blue-blind)
#996E68
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8e772e;
/* rgb */ color: rgb(142, 119, 46);
/* oklch */ color: oklch(57.6% 0.096 91.5);
Tailwind
colors: {
  custom: {
    50: '#b29e6a',
    500: '#8e772e',
    950: '#000000',
  },
}
SCSS
$custom: #8e772e;
$custom-light: #b29e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e772e",
  "rgb": {
    "r": 142,
    "g": 119,
    "b": 46
  },
  "hsl": {
    "h": 45.625,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.57649,
    "c": 0.09569,
    "h": 91.5
  },
  "luminance": 0.19142
}

Semantic roles & 50–950 ramp

primary
#8E772E
secondary
#6376B5
accent
#6FDB4D
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #8E772E

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

Preview Lab → · Contrast checker → · Palette generator →

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