#8E7518#8E7518

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

Color values

HEX#8E7518
RGBrgb(142, 117, 24)
HSLhsl(47, 71%, 33%)
HSVhsv(47, 83%, 56%)
CMYKcmyk(0%, 17.6%, 83.1%, 44.3%)
CIE-LABlab(50.15, 0.33, 50.38)
CIE-LCHlch(50.15, 50.38, 89.63°)
OKLaboklab(57.04% -0.0049 0.1087)
OKLCHoklch(57.04% 0.109 92.6)
XYZxyz(17.6825, 18.5404, 3.5113)
Luminance0.1854 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E7518 #18318E
analogous
#8E3A18 #8E7518 #6C8E18
triadic
#8E7518 #188E75 #75188E
tetradic
#8E7518 #188E3A #18318E #8E186C
square
#8E7518 #188E3A #18318E #8E186C
split-complementary
#8E7518 #186C8E #3A188E
monochromatic
#251F06 #5A4A0F #8E7518 #C2A021 #DFBE41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E7518#FFFFFF#000000##000000
##8E75181.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)
#897A1E
Tritanopia (blue-blind)
#9A6B64
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8e7518;
/* rgb */ color: rgb(142, 117, 24);
/* oklch */ color: oklch(57.0% 0.109 92.6);
Tailwind
colors: {
  custom: {
    50: '#b39c5e',
    500: '#8e7518',
    950: '#000000',
  },
}
SCSS
$custom: #8e7518;
$custom-light: #b39c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#8e7518",
  "rgb": {
    "r": 142,
    "g": 117,
    "b": 24
  },
  "hsl": {
    "h": 47.288,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.5704,
    "c": 0.10882,
    "h": 92.6
  },
  "luminance": 0.18539
}

Semantic roles & 50–950 ramp

primary
#8E7518
secondary
#425DC0
accent
#60EE3A
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #8E7518

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

Preview Lab → · Contrast checker → · Palette generator →

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