#8E7616#8E7616

#8E7616 is a mid, moderate yellow. Relative luminance 0.188; OKLCH L 57.2% C 0.110 H 93.6°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#8E7616
RGBrgb(142, 118, 22)
HSLhsl(48, 73%, 32%)
HSVhsv(48, 85%, 56%)
CMYKcmyk(0%, 16.9%, 84.5%, 44.3%)
CIE-LABlab(50.41, -0.31, 51.25)
CIE-LCHlch(50.41, 51.25, 90.34°)
OKLaboklab(57.25% -0.0069 0.1102)
OKLCHoklch(57.25% 0.11 93.6)
XYZxyz(17.7796, 18.7667, 3.4448)
Luminance0.1877 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E7616 #162E8E
analogous
#8E3A16 #8E7616 #6A8E16
triadic
#8E7616 #168E76 #76168E
tetradic
#8E7616 #168E3A #162E8E #8E166A
square
#8E7616 #168E3A #162E8E #8E166A
split-complementary
#8E7616 #166A8E #3A168E
monochromatic
#241E06 #594A0E #8E7616 #C3A21E #E1C03D

Accessibility & contrast

On white

4.42
#8E7616 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#8E7616 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E7616
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E7616#FFFFFF#000000##000000
##8E76161.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#8A7B1D
Tritanopia (blue-blind)
#9A6C65
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8e7616;
/* rgb */ color: rgb(142, 118, 22);
/* oklch */ color: oklch(57.2% 0.110 93.6);
Tailwind
colors: {
  custom: {
    50: '#b39d5e',
    500: '#8e7616',
    950: '#000000',
  },
}
SCSS
$custom: #8e7616;
$custom-light: #b39d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#8e7616",
  "rgb": {
    "r": 142,
    "g": 118,
    "b": 22
  },
  "hsl": {
    "h": 48,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57249,
    "c": 0.11037,
    "h": 93.6
  },
  "luminance": 0.18766
}

Semantic roles & 50–950 ramp

primary
#8E7616
secondary
#3F59C1
accent
#5DF038
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120E05
muted
#817E79

Preview Lab

Preview with #8E7616

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

Preview Lab → · Contrast checker → · Palette generator →

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