#8E7E2C#8E7E2C

#8E7E2C is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 59.2% C 0.103 H 98.1°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#8E7E2C
RGBrgb(142, 126, 44)
HSLhsl(50, 53%, 36%)
HSVhsv(50, 69%, 56%)
CMYKcmyk(0%, 11.3%, 69%, 44.3%)
CIE-LABlab(52.79, -3.79, 45.11)
CIE-LCHlch(52.79, 45.27, 94.80°)
OKLaboklab(59.18% -0.0144 0.1016)
OKLCHoklch(59.18% 0.103 98.1)
XYZxyz(19.0717, 20.8553, 5.4033)
Luminance0.2085 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E7E2C #2C3C8E
analogous
#8E4D2C #8E7E2C #6D8E2C
triadic
#8E7E2C #2C8E7E #7E2C8E
tetradic
#8E7E2C #2C8E4D #2C3C8E #8E2C6D
square
#8E7E2C #2C8E4D #2C3C8E #8E2C6D
split-complementary
#8E7E2C #2C6D8E #4D2C8E
monochromatic
#312B0F #5F551E #8E7E2C #BDA73A #CFBE65

Accessibility & contrast

On white

4.06
#8E7E2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#8E7E2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E7E2C
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E7E2C#FFFFFF#000000##000000
##8E7E2C1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B21
Deuteranopia (green-blind)
#8F8031
Tritanopia (blue-blind)
#99756D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8e7e2c;
/* rgb */ color: rgb(142, 126, 44);
/* oklch */ color: oklch(59.2% 0.103 98.1);
Tailwind
colors: {
  custom: {
    50: '#b2a36a',
    500: '#8e7e2c',
    950: '#000000',
  },
}
SCSS
$custom: #8e7e2c;
$custom-light: #b2a36a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e7e2c",
  "rgb": {
    "r": 142,
    "g": 126,
    "b": 44
  },
  "hsl": {
    "h": 50.204,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.59175,
    "c": 0.10258,
    "h": 98.1
  },
  "luminance": 0.20854
}

Semantic roles & 50–950 ramp

primary
#8E7E2C
secondary
#606EB6
accent
#63DC4C
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F07
muted
#807E7A

Preview Lab

Preview with #8E7E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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