#8E7213#8E7213

#8E7213 is a mid, moderate yellow. Relative luminance 0.178; OKLCH L 56.4% C 0.109 H 90.5°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8E7213
RGBrgb(142, 114, 19)
HSLhsl(46, 76%, 32%)
HSVhsv(46, 87%, 56%)
CMYKcmyk(0%, 19.7%, 86.6%, 44.3%)
CIE-LABlab(49.29, 1.87, 51.19)
CIE-LCHlch(49.29, 51.23, 87.90°)
OKLaboklab(56.36% -0.001 0.1094)
OKLCHoklch(56.36% 0.109 90.5)
XYZxyz(17.2913, 17.8336, 3.1475)
Luminance0.1783 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E7213 #132F8E
analogous
#8E3413 #8E7213 #6D8E13
triadic
#8E7213 #138E72 #72138E
tetradic
#8E7213 #138E34 #132F8E #8E136D
square
#8E7213 #138E34 #132F8E #8E136D
split-complementary
#8E7213 #136D8E #34138E
monochromatic
#221B05 #58470C #8E7213 #C49D1A #E4BD37

Accessibility & contrast

On white

4.60
#8E7213 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#8E7213 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8E7213
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E7213#FFFFFF#000000##FFFFFF
##8E72131.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#87781A
Tritanopia (blue-blind)
#9B6761
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8e7213;
/* rgb */ color: rgb(142, 114, 19);
/* oklch */ color: oklch(56.4% 0.109 90.5);
Tailwind
colors: {
  custom: {
    50: '#b39a5c',
    500: '#8e7213',
    950: '#000000',
  },
}
SCSS
$custom: #8e7213;
$custom-light: #b39a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#8e7213",
  "rgb": {
    "r": 142,
    "g": 114,
    "b": 19
  },
  "hsl": {
    "h": 46.341,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56361,
    "c": 0.10937,
    "h": 90.5
  },
  "luminance": 0.17832
}

Semantic roles & 50–950 ramp

primary
#8E7213
secondary
#3B5AC2
accent
#60F335
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120E04
muted
#817E79

Preview Lab

Preview with #8E7213

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

Preview Lab → · Contrast checker → · Palette generator →

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