#8E7214#8E7214

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

Color values

HEX#8E7214
RGBrgb(142, 114, 20)
HSLhsl(46, 75%, 32%)
HSVhsv(46, 86%, 56%)
CMYKcmyk(0%, 19.7%, 85.9%, 44.3%)
CIE-LABlab(49.30, 1.90, 50.91)
CIE-LCHlch(49.30, 50.94, 87.86°)
OKLaboklab(56.37% -0.0008 0.109)
OKLCHoklch(56.37% 0.109 90.4)
XYZxyz(17.3000, 17.8371, 3.1934)
Luminance0.1784 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E7214 #14308E
analogous
#8E3514 #8E7214 #6D8E14
triadic
#8E7214 #148E72 #72148E
tetradic
#8E7214 #148E35 #14308E #8E146D
square
#8E7214 #148E35 #14308E #8E146D
split-complementary
#8E7214 #146D8E #35148E
monochromatic
#231C05 #58470C #8E7214 #C49D1C #E3BC39

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E7214#FFFFFF#000000##FFFFFF
##8E72141.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)
#87781B
Tritanopia (blue-blind)
#9A6761
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8e7214;
/* rgb */ color: rgb(142, 114, 20);
/* oklch */ color: oklch(56.4% 0.109 90.4);
Tailwind
colors: {
  custom: {
    50: '#b39a5c',
    500: '#8e7214',
    950: '#000000',
  },
}
SCSS
$custom: #8e7214;
$custom-light: #b39a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#8e7214",
  "rgb": {
    "r": 142,
    "g": 114,
    "b": 20
  },
  "hsl": {
    "h": 46.23,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56366,
    "c": 0.10895,
    "h": 90.4
  },
  "luminance": 0.17836
}

Semantic roles & 50–950 ramp

primary
#8E7214
secondary
#3C5BC2
accent
#61F236
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120E04
muted
#817E79

Preview Lab

Preview with #8E7214

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

Preview Lab → · Contrast checker → · Palette generator →

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