#8E7615#8E7615

#8E7615 is a mid, moderate yellow. Relative luminance 0.188; OKLCH L 57.2% C 0.111 H 93.7°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#8E7615
RGBrgb(142, 118, 21)
HSLhsl(48, 74%, 32%)
HSVhsv(48, 85%, 56%)
CMYKcmyk(0%, 16.9%, 85.2%, 44.3%)
CIE-LABlab(50.41, -0.34, 51.55)
CIE-LCHlch(50.41, 51.55, 90.38°)
OKLaboklab(57.24% -0.0071 0.1106)
OKLCHoklch(57.24% 0.111 93.7)
XYZxyz(17.7702, 18.7629, 3.3949)
Luminance0.1876 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E7615 #152D8E
analogous
#8E3A15 #8E7615 #6A8E15
triadic
#8E7615 #158E76 #76158E
tetradic
#8E7615 #158E3A #152D8E #8E156A
square
#8E7615 #158E3A #152D8E #8E156A
split-complementary
#8E7615 #156A8E #3A158E
monochromatic
#231D05 #594A0D #8E7615 #C3A21D #E2C13B

Accessibility & contrast

On white

4.42
#8E7615 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#8E7615 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E7615
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E7615#FFFFFF#000000##000000
##8E76151.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#8A7B1C
Tritanopia (blue-blind)
#9A6C65
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8e7615;
/* rgb */ color: rgb(142, 118, 21);
/* oklch */ color: oklch(57.2% 0.111 93.7);
Tailwind
colors: {
  custom: {
    50: '#b39d5d',
    500: '#8e7615',
    950: '#000000',
  },
}
SCSS
$custom: #8e7615;
$custom-light: #b39d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#8e7615",
  "rgb": {
    "r": 142,
    "g": 118,
    "b": 21
  },
  "hsl": {
    "h": 48.099,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57244,
    "c": 0.11082,
    "h": 93.7
  },
  "luminance": 0.18762
}

Semantic roles & 50–950 ramp

primary
#8E7615
secondary
#3D57C2
accent
#5CF137
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120E05
muted
#817E79

Preview Lab

Preview with #8E7615

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

Preview Lab → · Contrast checker → · Palette generator →

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