#8E7816#8E7816

#8E7816 is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.7% C 0.112 H 95.2°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#8E7816
RGBrgb(142, 120, 22)
HSLhsl(49, 73%, 32%)
HSVhsv(49, 85%, 56%)
CMYKcmyk(0%, 15.5%, 84.5%, 44.3%)
CIE-LABlab(50.97, -1.44, 51.73)
CIE-LCHlch(50.97, 51.75, 91.59°)
OKLaboklab(57.69% -0.0101 0.1112)
OKLCHoklch(57.69% 0.112 95.2)
XYZxyz(18.0176, 19.2427, 3.5241)
Luminance0.1924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E7816 #162C8E
analogous
#8E3C16 #8E7816 #688E16
triadic
#8E7816 #168E78 #78168E
tetradic
#8E7816 #168E3C #162C8E #8E1668
square
#8E7816 #168E3C #162C8E #8E1668
split-complementary
#8E7816 #16688E #3C168E
monochromatic
#241E06 #594B0E #8E7816 #C3A51E #E1C33D

Accessibility & contrast

On white

4.33
#8E7816 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#8E7816 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E7816
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E7816#FFFFFF#000000##000000
##8E78161.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#867500
Deuteranopia (green-blind)
#8B7C1E
Tritanopia (blue-blind)
#9A6E66
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8e7816;
/* rgb */ color: rgb(142, 120, 22);
/* oklch */ color: oklch(57.7% 0.112 95.2);
Tailwind
colors: {
  custom: {
    50: '#b39e5e',
    500: '#8e7816',
    950: '#000000',
  },
}
SCSS
$custom: #8e7816;
$custom-light: #b39e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#8e7816",
  "rgb": {
    "r": 142,
    "g": 120,
    "b": 22
  },
  "hsl": {
    "h": 49,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57689,
    "c": 0.11166,
    "h": 95.2
  },
  "luminance": 0.19242
}

Semantic roles & 50–950 ramp

primary
#8E7816
secondary
#3F57C1
accent
#5AF038
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120E05
muted
#817E79

Preview Lab

Preview with #8E7816

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

Preview Lab → · Contrast checker → · Palette generator →

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