#8E7716#8E7716

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

Color values

HEX#8E7716
RGBrgb(142, 119, 22)
HSLhsl(49, 73%, 32%)
HSVhsv(49, 85%, 56%)
CMYKcmyk(0%, 16.2%, 84.5%, 44.3%)
CIE-LABlab(50.69, -0.87, 51.49)
CIE-LCHlch(50.69, 51.50, 90.97°)
OKLaboklab(57.47% -0.0085 0.1107)
OKLCHoklch(57.47% 0.111 94.4)
XYZxyz(17.8980, 19.0034, 3.4842)
Luminance0.1900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E7716 #162D8E
analogous
#8E3B16 #8E7716 #698E16
triadic
#8E7716 #168E77 #77168E
tetradic
#8E7716 #168E3B #162D8E #8E1669
square
#8E7716 #168E3B #162D8E #8E1669
split-complementary
#8E7716 #16698E #3B168E
monochromatic
#241E06 #594B0E #8E7716 #C3A31E #E1C23D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E7716#FFFFFF#000000##000000
##8E77161.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)
#8B7C1D
Tritanopia (blue-blind)
#9A6D65
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8e7716;
/* rgb */ color: rgb(142, 119, 22);
/* oklch */ color: oklch(57.5% 0.111 94.4);
Tailwind
colors: {
  custom: {
    50: '#b39d5e',
    500: '#8e7716',
    950: '#000000',
  },
}
SCSS
$custom: #8e7716;
$custom-light: #b39d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#8e7716",
  "rgb": {
    "r": 142,
    "g": 119,
    "b": 22
  },
  "hsl": {
    "h": 48.5,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57469,
    "c": 0.111,
    "h": 94.4
  },
  "luminance": 0.19002
}

Semantic roles & 50–950 ramp

primary
#8E7716
secondary
#3F58C1
accent
#5BF038
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120E05
muted
#817E79

Preview Lab

Preview with #8E7716

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

Preview Lab → · Contrast checker → · Palette generator →

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