#8E7A14#8E7A14

#8E7A14 is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 58.1% C 0.114 H 96.9°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#8E7A14
RGBrgb(142, 122, 20)
HSLhsl(50, 75%, 32%)
HSVhsv(50, 86%, 56%)
CMYKcmyk(0%, 14.1%, 85.9%, 44.3%)
CIE-LABlab(51.52, -2.62, 52.78)
CIE-LCHlch(51.52, 52.84, 92.85°)
OKLaboklab(58.12% -0.0136 0.1131)
OKLCHoklch(58.12% 0.114 96.9)
XYZxyz(18.2421, 19.7214, 3.5074)
Luminance0.1972 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E7A14 #14288E
analogous
#8E3D14 #8E7A14 #658E14
triadic
#8E7A14 #148E7A #7A148E
tetradic
#8E7A14 #148E3D #14288E #8E1465
square
#8E7A14 #148E3D #14288E #8E1465
split-complementary
#8E7A14 #14658E #3D148E
monochromatic
#231E05 #584C0C #8E7A14 #C4A81C #E3C739

Accessibility & contrast

On white

4.25
#8E7A14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#8E7A14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E7A14
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E7A14#FFFFFF#000000##000000
##8E7A141.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#8D7E1C
Tritanopia (blue-blind)
#9A7068
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8e7a14;
/* rgb */ color: rgb(142, 122, 20);
/* oklch */ color: oklch(58.1% 0.114 96.9);
Tailwind
colors: {
  custom: {
    50: '#b3a05d',
    500: '#8e7a14',
    950: '#000000',
  },
}
SCSS
$custom: #8e7a14;
$custom-light: #b3a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#8e7a14",
  "rgb": {
    "r": 142,
    "g": 122,
    "b": 20
  },
  "hsl": {
    "h": 50.164,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.58122,
    "c": 0.11389,
    "h": 96.9
  },
  "luminance": 0.1972
}

Semantic roles & 50–950 ramp

primary
#8E7A14
secondary
#3C52C2
accent
#55F236
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120E05
muted
#817E79

Preview Lab

Preview with #8E7A14

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

Preview Lab → · Contrast checker → · Palette generator →

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