#8E7718#8E7718

#8E7718 is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.5% C 0.110 H 94.2°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8E7718
RGBrgb(142, 119, 24)
HSLhsl(48, 71%, 33%)
HSVhsv(48, 83%, 56%)
CMYKcmyk(0%, 16.2%, 83.1%, 44.3%)
CIE-LABlab(50.70, -0.81, 50.87)
CIE-LCHlch(50.70, 50.88, 90.91°)
OKLaboklab(57.48% -0.0081 0.1098)
OKLCHoklch(57.48% 0.11 94.2)
XYZxyz(17.9181, 19.0114, 3.5898)
Luminance0.1901 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E7718 #182F8E
analogous
#8E3C18 #8E7718 #6A8E18
triadic
#8E7718 #188E77 #77188E
tetradic
#8E7718 #188E3C #182F8E #8E186A
square
#8E7718 #188E3C #182F8E #8E186A
split-complementary
#8E7718 #186A8E #3C188E
monochromatic
#251F06 #5A4B0F #8E7718 #C2A321 #DFC041

Accessibility & contrast

On white

4.37
#8E7718 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#8E7718 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E7718
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E7718#FFFFFF#000000##000000
##8E77181.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#8A7C1F
Tritanopia (blue-blind)
#9A6D66
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8e7718;
/* rgb */ color: rgb(142, 119, 24);
/* oklch */ color: oklch(57.5% 0.110 94.2);
Tailwind
colors: {
  custom: {
    50: '#b39d5f',
    500: '#8e7718',
    950: '#000000',
  },
}
SCSS
$custom: #8e7718;
$custom-light: #b39d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#8e7718",
  "rgb": {
    "r": 142,
    "g": 119,
    "b": 24
  },
  "hsl": {
    "h": 48.305,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57479,
    "c": 0.11007,
    "h": 94.2
  },
  "luminance": 0.1901
}

Semantic roles & 50–950 ramp

primary
#8E7718
secondary
#425BC0
accent
#5DEE3A
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #8E7718

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

Preview Lab → · Contrast checker → · Palette generator →

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