#8E7318#8E7318

#8E7318 is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.6% C 0.108 H 90.9°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8E7318
RGBrgb(142, 115, 24)
HSLhsl(46, 71%, 33%)
HSVhsv(46, 83%, 56%)
CMYKcmyk(0%, 19%, 83.1%, 44.3%)
CIE-LABlab(49.59, 1.46, 49.90)
CIE-LCHlch(49.59, 49.92, 88.32°)
OKLaboklab(56.6% -0.0017 0.1077)
OKLCHoklch(56.6% 0.108 90.9)
XYZxyz(17.4520, 18.0793, 3.4344)
Luminance0.1808 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E7318 #18338E
analogous
#8E3818 #8E7318 #6E8E18
triadic
#8E7318 #188E73 #73188E
tetradic
#8E7318 #188E38 #18338E #8E186E
square
#8E7318 #188E38 #18338E #8E186E
split-complementary
#8E7318 #186E8E #38188E
monochromatic
#251E06 #5A490F #8E7318 #C29D21 #DFBB41

Accessibility & contrast

On white

4.55
#8E7318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#8E7318 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E7318
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E7318#FFFFFF#000000##000000
##8E73181.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#817101
Deuteranopia (green-blind)
#88791E
Tritanopia (blue-blind)
#9A6862
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8e7318;
/* rgb */ color: rgb(142, 115, 24);
/* oklch */ color: oklch(56.6% 0.108 90.9);
Tailwind
colors: {
  custom: {
    50: '#b39a5e',
    500: '#8e7318',
    950: '#000000',
  },
}
SCSS
$custom: #8e7318;
$custom-light: #b39a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#8e7318",
  "rgb": {
    "r": 142,
    "g": 115,
    "b": 24
  },
  "hsl": {
    "h": 46.271,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56604,
    "c": 0.10767,
    "h": 90.9
  },
  "luminance": 0.18078
}

Semantic roles & 50–950 ramp

primary
#8E7318
secondary
#425FC0
accent
#63EE3A
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120E05
muted
#817E79

Preview Lab

Preview with #8E7318

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

Preview Lab → · Contrast checker → · Palette generator →

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