#8E7916#8E7916

#8E7916 is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.9% C 0.112 H 96.0°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#8E7916
RGBrgb(142, 121, 22)
HSLhsl(50, 73%, 32%)
HSVhsv(50, 85%, 56%)
CMYKcmyk(0%, 14.8%, 84.5%, 44.3%)
CIE-LABlab(51.25, -2.00, 51.97)
CIE-LCHlch(51.25, 52.01, 92.21°)
OKLaboklab(57.91% -0.0117 0.1117)
OKLCHoklch(57.91% 0.112 96)
XYZxyz(18.1385, 19.4845, 3.5644)
Luminance0.1948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E7916 #162B8E
analogous
#8E3D16 #8E7916 #678E16
triadic
#8E7916 #168E79 #79168E
tetradic
#8E7916 #168E3D #162B8E #8E1667
square
#8E7916 #168E3D #162B8E #8E1667
split-complementary
#8E7916 #16678E #3D168E
monochromatic
#241F06 #594C0E #8E7916 #C3A61E #E1C43D

Accessibility & contrast

On white

4.29
#8E7916 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#8E7916 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E7916
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E7916#FFFFFF#000000##000000
##8E79161.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#8C7D1E
Tritanopia (blue-blind)
#9A6F67
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8e7916;
/* rgb */ color: rgb(142, 121, 22);
/* oklch */ color: oklch(57.9% 0.112 96.0);
Tailwind
colors: {
  custom: {
    50: '#b39f5e',
    500: '#8e7916',
    950: '#000000',
  },
}
SCSS
$custom: #8e7916;
$custom-light: #b39f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#8e7916",
  "rgb": {
    "r": 142,
    "g": 121,
    "b": 22
  },
  "hsl": {
    "h": 49.5,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5791,
    "c": 0.11233,
    "h": 96
  },
  "luminance": 0.19483
}

Semantic roles & 50–950 ramp

primary
#8E7916
secondary
#3F56C1
accent
#58F038
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #8E7916

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

Preview Lab → · Contrast checker → · Palette generator →

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