#8E8E16#8E8E16

#8E8E16 is a light, vivid yellow. Relative luminance 0.252; OKLCH L 62.7% C 0.130 H 109.6°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#8E8E16
RGBrgb(142, 142, 22)
HSLhsl(60, 73%, 32%)
HSVhsv(60, 85%, 56%)
CMYKcmyk(0%, 0%, 84.5%, 44.3%)
CIE-LABlab(57.23, -13.48, 57.06)
CIE-LCHlch(57.23, 58.63, 103.30°)
OKLaboklab(62.67% -0.0438 0.1228)
OKLCHoklch(62.67% 0.13 109.6)
XYZxyz(20.9740, 25.1554, 4.5095)
Luminance0.2515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8E16 #16168E
analogous
#8E5216 #8E8E16 #528E16
triadic
#8E8E16 #168E8E #8E168E
tetradic
#8E8E16 #168E52 #16168E #8E1652
square
#8E8E16 #168E52 #16168E #8E1652
split-complementary
#8E8E16 #16528E #52168E
monochromatic
#242406 #59590E #8E8E16 #C3C31E #E1E13D

Accessibility & contrast

On white

3.48
#8E8E16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#8E8E16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8E16
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8E16#FFFFFF#000000##000000
##8E8E161.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8800
Deuteranopia (green-blind)
#9C8B22
Tritanopia (blue-blind)
#998479
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8e8e16;
/* rgb */ color: rgb(142, 142, 22);
/* oklch */ color: oklch(62.7% 0.130 109.6);
Tailwind
colors: {
  custom: {
    50: '#b3ae61',
    500: '#8e8e16',
    950: '#000000',
  },
}
SCSS
$custom: #8e8e16;
$custom-light: #b3ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8e16",
  "rgb": {
    "r": 142,
    "g": 142,
    "b": 22
  },
  "hsl": {
    "h": 60,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.62665,
    "c": 0.13037,
    "h": 109.6
  },
  "luminance": 0.25155
}

Semantic roles & 50–950 ramp

primary
#8E8E16
secondary
#3F3FC1
accent
#38F038
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8E8E16

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

Preview Lab → · Contrast checker → · Palette generator →

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