#8E7815#8E7815

#8E7815 is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.7% C 0.112 H 95.3°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#8E7815
RGBrgb(142, 120, 21)
HSLhsl(49, 74%, 32%)
HSVhsv(49, 85%, 56%)
CMYKcmyk(0%, 15.5%, 85.2%, 44.3%)
CIE-LABlab(50.97, -1.47, 52.02)
CIE-LCHlch(50.97, 52.04, 91.62°)
OKLaboklab(57.68% -0.0103 0.1116)
OKLCHoklch(57.68% 0.112 95.3)
XYZxyz(18.0082, 19.2389, 3.4743)
Luminance0.1924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E7815 #152B8E
analogous
#8E3C15 #8E7815 #688E15
triadic
#8E7815 #158E78 #78158E
tetradic
#8E7815 #158E3C #152B8E #8E1568
square
#8E7815 #158E3C #152B8E #8E1568
split-complementary
#8E7815 #15688E #3C158E
monochromatic
#231E05 #594B0D #8E7815 #C3A51D #E2C43B

Accessibility & contrast

On white

4.33
#8E7815 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#8E7815 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E7815
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E7815#FFFFFF#000000##000000
##8E78151.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#867500
Deuteranopia (green-blind)
#8B7C1D
Tritanopia (blue-blind)
#9A6E66
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8e7815;
/* rgb */ color: rgb(142, 120, 21);
/* oklch */ color: oklch(57.7% 0.112 95.3);
Tailwind
colors: {
  custom: {
    50: '#b39e5e',
    500: '#8e7815',
    950: '#000000',
  },
}
SCSS
$custom: #8e7815;
$custom-light: #b39e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#8e7815",
  "rgb": {
    "r": 142,
    "g": 120,
    "b": 21
  },
  "hsl": {
    "h": 49.091,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57684,
    "c": 0.11209,
    "h": 95.3
  },
  "luminance": 0.19238
}

Semantic roles & 50–950 ramp

primary
#8E7815
secondary
#3D55C2
accent
#59F137
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120E05
muted
#817E79

Preview Lab

Preview with #8E7815

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

Preview Lab → · Contrast checker → · Palette generator →

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