#8C9C19#8C9C19

#8C9C19 is a light, vivid yellow. Relative luminance 0.294; OKLCH L 65.8% C 0.145 H 117.0°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#8C9C19
RGBrgb(140, 156, 25)
HSLhsl(67, 72%, 35%)
HSVhsv(67, 84%, 61%)
CMYKcmyk(10.3%, 0%, 84%, 38.8%)
CIE-LABlab(61.15, -21.52, 59.57)
CIE-LCHlch(61.15, 63.34, 109.86°)
OKLaboklab(65.78% -0.0657 0.1289)
OKLCHoklch(65.78% 0.145 117)
XYZxyz(22.8798, 29.4229, 5.3934)
Luminance0.2942 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C9C19 #29199C
analogous
#9C6A19 #8C9C19 #4B9C19
triadic
#8C9C19 #198C9C #9C198C
tetradic
#8C9C19 #199C6A #29199C #9C194B
square
#8C9C19 #199C6A #29199C #9C194B
split-complementary
#8C9C19 #194B9C #6A199C
monochromatic
#2D3308 #5D6711 #8C9C19 #BBD121 #D0E24D

Accessibility & contrast

On white

3.05
#8C9C19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#8C9C19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C9C19
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C9C19#FFFFFF#000000##000000
##8C9C191.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#A69427
Tritanopia (blue-blind)
#959385
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8c9c19;
/* rgb */ color: rgb(140, 156, 25);
/* oklch */ color: oklch(65.8% 0.145 117.0);
Tailwind
colors: {
  custom: {
    50: '#b1b964',
    500: '#8c9c19',
    950: '#000000',
  },
}
SCSS
$custom: #8c9c19;
$custom-light: #b1b964;
$custom-dark: #000000;
JSON
{
  "hex": "#8c9c19",
  "rgb": {
    "r": 140,
    "g": 156,
    "b": 25
  },
  "hsl": {
    "h": 67.328,
    "s": 72.376,
    "l": 35.49
  },
  "oklch": {
    "l": 0.65777,
    "c": 0.14462,
    "h": 117
  },
  "luminance": 0.29423
}

Semantic roles & 50–950 ramp

primary
#8C9C19
secondary
#5B4CC4
accent
#39EF4F
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8C9C19

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

Preview Lab → · Contrast checker → · Palette generator →

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