#8E8416#8E8416

#8E8416 is a mid, vivid yellow. Relative luminance 0.223; OKLCH L 60.4% C 0.121 H 103.8°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#8E8416
RGBrgb(142, 132, 22)
HSLhsl(55, 73%, 32%)
HSVhsv(55, 85%, 56%)
CMYKcmyk(0%, 7%, 84.5%, 44.3%)
CIE-LABlab(54.36, -8.10, 54.62)
CIE-LCHlch(54.36, 55.22, 98.44°)
OKLaboklab(60.38% -0.0288 0.1175)
OKLCHoklch(60.38% 0.121 103.8)
XYZxyz(19.5523, 22.3121, 4.0357)
Luminance0.2231 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8416 #16208E
analogous
#8E4816 #8E8416 #5C8E16
triadic
#8E8416 #168E84 #84168E
tetradic
#8E8416 #168E48 #16208E #8E165C
square
#8E8416 #168E48 #16208E #8E165C
split-complementary
#8E8416 #165C8E #48168E
monochromatic
#242106 #59530E #8E8416 #C3B51E #E1D33D

Accessibility & contrast

On white

3.84
#8E8416 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#8E8416 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8416
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8416#FFFFFF#000000##000000
##8E84161.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#948420
Tritanopia (blue-blind)
#997A70
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8e8416;
/* rgb */ color: rgb(142, 132, 22);
/* oklch */ color: oklch(60.4% 0.121 103.8);
Tailwind
colors: {
  custom: {
    50: '#b3a760',
    500: '#8e8416',
    950: '#000000',
  },
}
SCSS
$custom: #8e8416;
$custom-light: #b3a760;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8416",
  "rgb": {
    "r": 142,
    "g": 132,
    "b": 22
  },
  "hsl": {
    "h": 55,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.60376,
    "c": 0.12099,
    "h": 103.8
  },
  "luminance": 0.22311
}

Semantic roles & 50–950 ramp

primary
#8E8416
secondary
#3F4AC1
accent
#47F038
background
#FBFAF5
surface
#F6F4EA
border
#D0CEC6
text
#110F05
muted
#807F79

Preview Lab

Preview with #8E8416

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

Preview Lab → · Contrast checker → · Palette generator →

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