#8E772C#8E772C

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

Color values

HEX#8E772C
RGBrgb(142, 119, 44)
HSLhsl(46, 53%, 36%)
HSVhsv(46, 69%, 56%)
CMYKcmyk(0%, 16.2%, 69%, 44.3%)
CIE-LABlab(50.84, 0.15, 43.07)
CIE-LCHlch(50.84, 43.07, 89.81°)
OKLaboklab(57.63% -0.0031 0.0973)
OKLCHoklch(57.63% 0.097 91.9)
XYZxyz(18.2077, 19.1273, 5.1153)
Luminance0.1913 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E772C #2C438E
analogous
#8E462C #8E772C #748E2C
triadic
#8E772C #2C8E77 #772C8E
tetradic
#8E772C #2C8E46 #2C438E #8E2C74
square
#8E772C #2C8E46 #2C438E #8E2C74
split-complementary
#8E772C #2C748E #462C8E
monochromatic
#31290F #5F501E #8E772C #BD9E3A #CFB665

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E772C#FFFFFF#000000##000000
##8E772C1.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)
#847523
Deuteranopia (green-blind)
#8A7C30
Tritanopia (blue-blind)
#9A6D67
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8e772c;
/* rgb */ color: rgb(142, 119, 44);
/* oklch */ color: oklch(57.6% 0.097 91.9);
Tailwind
colors: {
  custom: {
    50: '#b29d69',
    500: '#8e772c',
    950: '#000000',
  },
}
SCSS
$custom: #8e772c;
$custom-light: #b29d69;
$custom-dark: #000000;
JSON
{
  "hex": "#8e772c",
  "rgb": {
    "r": 142,
    "g": 119,
    "b": 44
  },
  "hsl": {
    "h": 45.918,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.57629,
    "c": 0.0973,
    "h": 91.9
  },
  "luminance": 0.19126
}

Semantic roles & 50–950 ramp

primary
#8E772C
secondary
#6074B6
accent
#6EDC4C
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8E772C

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

Preview Lab → · Contrast checker → · Palette generator →

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