#8C8C19#8C8C19

#8C8C19 is a light, vivid yellow. Relative luminance 0.244; OKLCH L 62.0% C 0.128 H 109.6°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#8C8C19
RGBrgb(140, 140, 25)
HSLhsl(60, 70%, 32%)
HSVhsv(60, 82%, 55%)
CMYKcmyk(0%, 0%, 82.1%, 45.1%)
CIE-LABlab(56.49, -13.23, 55.54)
CIE-LCHlch(56.49, 57.10, 103.40°)
OKLaboklab(62.04% -0.0428 0.1202)
OKLCHoklch(62.04% 0.128 109.6)
XYZxyz(20.3696, 24.4024, 4.5567)
Luminance0.2440 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8C19 #19198C
analogous
#8C5319 #8C8C19 #538C19
triadic
#8C8C19 #198C8C #8C198C
tetradic
#8C8C19 #198C53 #19198C #8C1953
square
#8C8C19 #198C53 #19198C #8C1953
split-complementary
#8C8C19 #19538C #53198C
monochromatic
#242406 #585810 #8C8C19 #C0C022 #DDDD42

Accessibility & contrast

On white

3.57
#8C8C19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#8C8C19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8C19
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8C19#FFFFFF#000000##000000
##8C8C191.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#998924
Tritanopia (blue-blind)
#978277
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8c8c19;
/* rgb */ color: rgb(140, 140, 25);
/* oklch */ color: oklch(62.0% 0.128 109.6);
Tailwind
colors: {
  custom: {
    50: '#b1ad62',
    500: '#8c8c19',
    950: '#000000',
  },
}
SCSS
$custom: #8c8c19;
$custom-light: #b1ad62;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8c19",
  "rgb": {
    "r": 140,
    "g": 140,
    "b": 25
  },
  "hsl": {
    "h": 60,
    "s": 69.697,
    "l": 32.353
  },
  "oklch": {
    "l": 0.62037,
    "c": 0.12756,
    "h": 109.6
  },
  "luminance": 0.24402
}

Semantic roles & 50–950 ramp

primary
#8C8C19
secondary
#4343BE
accent
#3BED3B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8C8C19

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

Preview Lab → · Contrast checker → · Palette generator →

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