#8E8C19#8E8C19

#8E8C19 is a light, vivid yellow. Relative luminance 0.246; OKLCH L 62.2% C 0.127 H 108.5°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#8E8C19
RGBrgb(142, 140, 25)
HSLhsl(59, 70%, 33%)
HSVhsv(59, 82%, 56%)
CMYKcmyk(0%, 1.4%, 82.4%, 44.3%)
CIE-LABlab(56.66, -12.32, 55.76)
CIE-LCHlch(56.66, 57.11, 102.46°)
OKLaboklab(62.22% -0.0404 0.1206)
OKLCHoklch(62.22% 0.127 108.5)
XYZxyz(20.7097, 24.5778, 4.5726)
Luminance0.2458 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8C19 #191B8E
analogous
#8E5119 #8E8C19 #568E19
triadic
#8E8C19 #198E8C #8C198E
tetradic
#8E8C19 #198E51 #191B8E #8E1956
square
#8E8C19 #198E51 #191B8E #8E1956
split-complementary
#8E8C19 #19568E #51198E
monochromatic
#262507 #5A5910 #8E8C19 #C2BF22 #DEDB43

Accessibility & contrast

On white

3.55
#8E8C19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#8E8C19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8C19
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8C19#FFFFFF#000000##000000
##8E8C191.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#9A8A24
Tritanopia (blue-blind)
#998277
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8e8c19;
/* rgb */ color: rgb(142, 140, 25);
/* oklch */ color: oklch(62.2% 0.127 108.5);
Tailwind
colors: {
  custom: {
    50: '#b3ad62',
    500: '#8e8c19',
    950: '#000000',
  },
}
SCSS
$custom: #8e8c19;
$custom-light: #b3ad62;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8c19",
  "rgb": {
    "r": 142,
    "g": 140,
    "b": 25
  },
  "hsl": {
    "h": 58.974,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.62217,
    "c": 0.12713,
    "h": 108.5
  },
  "luminance": 0.24577
}

Semantic roles & 50–950 ramp

primary
#8E8C19
secondary
#4446BF
accent
#3EED3B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8E8C19

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

Preview Lab → · Contrast checker → · Palette generator →

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