#8E7215#8E7215

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

Color values

HEX#8E7215
RGBrgb(142, 114, 21)
HSLhsl(46, 74%, 32%)
HSVhsv(46, 85%, 56%)
CMYKcmyk(0%, 19.7%, 85.2%, 44.3%)
CIE-LABlab(49.30, 1.93, 50.61)
CIE-LCHlch(49.30, 50.64, 87.81°)
OKLaboklab(56.37% -0.0006 0.1085)
OKLCHoklch(56.37% 0.109 90.3)
XYZxyz(17.3091, 17.8407, 3.2413)
Luminance0.1784 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E7215 #15318E
analogous
#8E3615 #8E7215 #6E8E15
triadic
#8E7215 #158E72 #72158E
tetradic
#8E7215 #158E36 #15318E #8E156E
square
#8E7215 #158E36 #15318E #8E156E
split-complementary
#8E7215 #156E8E #36158E
monochromatic
#231C05 #59470D #8E7215 #C39D1D #E2BB3B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #8e7215;
/* rgb */ color: rgb(142, 114, 21);
/* oklch */ color: oklch(56.4% 0.109 90.3);
Tailwind
colors: {
  custom: {
    50: '#b39a5d',
    500: '#8e7215',
    950: '#000000',
  },
}
SCSS
$custom: #8e7215;
$custom-light: #b39a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#8e7215",
  "rgb": {
    "r": 142,
    "g": 114,
    "b": 21
  },
  "hsl": {
    "h": 46.116,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56371,
    "c": 0.10852,
    "h": 90.3
  },
  "luminance": 0.1784
}

Semantic roles & 50–950 ramp

primary
#8E7215
secondary
#3D5CC2
accent
#62F137
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120E05
muted
#817E79

Preview Lab

Preview with #8E7215

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

Preview Lab → · Contrast checker → · Palette generator →

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