#8E7515#8E7515

#8E7515 is a mid, moderate yellow. Relative luminance 0.185; OKLCH L 57.0% C 0.110 H 92.8°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#8E7515
RGBrgb(142, 117, 21)
HSLhsl(48, 74%, 32%)
HSVhsv(48, 85%, 56%)
CMYKcmyk(0%, 17.6%, 85.2%, 44.3%)
CIE-LABlab(50.13, 0.23, 51.31)
CIE-LCHlch(50.13, 51.31, 89.75°)
OKLaboklab(57.03% -0.0055 0.1101)
OKLCHoklch(57.03% 0.11 92.8)
XYZxyz(17.6530, 18.5286, 3.3559)
Luminance0.1853 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E7515 #152E8E
analogous
#8E3815 #8E7515 #6B8E15
triadic
#8E7515 #158E75 #75158E
tetradic
#8E7515 #158E38 #152E8E #8E156B
square
#8E7515 #158E38 #152E8E #8E156B
split-complementary
#8E7515 #156B8E #38158E
monochromatic
#231D05 #59490D #8E7515 #C3A11D #E2C03B

Accessibility & contrast

On white

4.46
#8E7515 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#8E7515 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E7515
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E7515#FFFFFF#000000##000000
##8E75151.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#897A1C
Tritanopia (blue-blind)
#9A6A64
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8e7515;
/* rgb */ color: rgb(142, 117, 21);
/* oklch */ color: oklch(57.0% 0.110 92.8);
Tailwind
colors: {
  custom: {
    50: '#b39c5d',
    500: '#8e7515',
    950: '#000000',
  },
}
SCSS
$custom: #8e7515;
$custom-light: #b39c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#8e7515",
  "rgb": {
    "r": 142,
    "g": 117,
    "b": 21
  },
  "hsl": {
    "h": 47.603,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57025,
    "c": 0.11021,
    "h": 92.8
  },
  "luminance": 0.18528
}

Semantic roles & 50–950 ramp

primary
#8E7515
secondary
#3D59C2
accent
#5DF137
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120E05
muted
#817E79

Preview Lab

Preview with #8E7515

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

Preview Lab → · Contrast checker → · Palette generator →

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