#8E772D#8E772D

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

Color values

HEX#8E772D
RGBrgb(142, 119, 45)
HSLhsl(46, 52%, 37%)
HSVhsv(46, 68%, 56%)
CMYKcmyk(0%, 16.2%, 68.3%, 44.3%)
CIE-LABlab(50.84, 0.21, 42.62)
CIE-LCHlch(50.84, 42.62, 89.72°)
OKLaboklab(57.64% -0.0028 0.0965)
OKLCHoklch(57.64% 0.097 91.7)
XYZxyz(18.2267, 19.1349, 5.2155)
Luminance0.1913 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E772D #2D448E
analogous
#8E472D #8E772D #758E2D
triadic
#8E772D #2D8E77 #772D8E
tetradic
#8E772D #2D8E47 #2D448E #8E2D75
square
#8E772D #2D8E47 #2D448E #8E2D75
split-complementary
#8E772D #2D758E #472D8E
monochromatic
#312910 #60501E #8E772D #BC9E3C #CFB667

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E772D#FFFFFF#000000##000000
##8E772D1.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)
#847524
Deuteranopia (green-blind)
#897C31
Tritanopia (blue-blind)
#996D67
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8e772d;
/* rgb */ color: rgb(142, 119, 45);
/* oklch */ color: oklch(57.6% 0.097 91.7);
Tailwind
colors: {
  custom: {
    50: '#b29e6a',
    500: '#8e772d',
    950: '#000000',
  },
}
SCSS
$custom: #8e772d;
$custom-light: #b29e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e772d",
  "rgb": {
    "r": 142,
    "g": 119,
    "b": 45
  },
  "hsl": {
    "h": 45.773,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.57639,
    "c": 0.0965,
    "h": 91.7
  },
  "luminance": 0.19134
}

Semantic roles & 50–950 ramp

primary
#8E772D
secondary
#6175B5
accent
#6EDB4C
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #8E772D

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

Preview Lab → · Contrast checker → · Palette generator →

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