#8E7219#8E7219

#8E7219 is a mid, moderate yellow. Relative luminance 0.179; OKLCH L 56.4% C 0.107 H 89.9°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#8E7219
RGBrgb(142, 114, 25)
HSLhsl(46, 70%, 33%)
HSVhsv(46, 82%, 56%)
CMYKcmyk(0%, 19.7%, 82.4%, 44.3%)
CIE-LABlab(49.32, 2.07, 49.32)
CIE-LCHlch(49.32, 49.37, 87.60°)
OKLaboklab(56.39% 0.0001 0.1066)
OKLCHoklch(56.39% 0.107 89.9)
XYZxyz(17.3492, 17.8567, 3.4524)
Luminance0.1786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E7219 #19358E
analogous
#8E3719 #8E7219 #6F8E19
triadic
#8E7219 #198E72 #72198E
tetradic
#8E7219 #198E37 #19358E #8E196F
square
#8E7219 #198E37 #19358E #8E196F
split-complementary
#8E7219 #196F8E #37198E
monochromatic
#261E07 #5A4810 #8E7219 #C29C22 #DEB943

Accessibility & contrast

On white

4.59
#8E7219 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8E7219
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E7219#FFFFFF#000000##FFFFFF
##8E72191.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807104
Deuteranopia (green-blind)
#87781F
Tritanopia (blue-blind)
#9A6761
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8e7219;
/* rgb */ color: rgb(142, 114, 25);
/* oklch */ color: oklch(56.4% 0.107 89.9);
Tailwind
colors: {
  custom: {
    50: '#b39a5e',
    500: '#8e7219',
    950: '#000000',
  },
}
SCSS
$custom: #8e7219;
$custom-light: #b39a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#8e7219",
  "rgb": {
    "r": 142,
    "g": 114,
    "b": 25
  },
  "hsl": {
    "h": 45.641,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56393,
    "c": 0.10664,
    "h": 89.9
  },
  "luminance": 0.17856
}

Semantic roles & 50–950 ramp

primary
#8E7219
secondary
#4461BF
accent
#66ED3B
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #8E7219

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

Preview Lab → · Contrast checker → · Palette generator →

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