#8CA02C#8CA02C

#8CA02C is a light, vivid yellow-green. Relative luminance 0.309; OKLCH L 66.8% C 0.139 H 118.9°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#8CA02C
RGBrgb(140, 160, 44)
HSLhsl(70, 57%, 40%)
HSVhsv(70, 73%, 63%)
CMYKcmyk(12.5%, 0%, 72.5%, 37.3%)
CIE-LABlab(62.42, -22.70, 54.75)
CIE-LCHlch(62.42, 59.27, 112.52°)
OKLaboklab(66.83% -0.0674 0.1219)
OKLCHoklch(66.83% 0.139 118.9)
XYZxyz(23.8411, 30.8991, 7.0905)
Luminance0.3090 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA02C #402CA0
analogous
#A07A2C #8CA02C #52A02C
triadic
#8CA02C #2C8CA0 #A02C8C
tetradic
#8CA02C #2CA07A #402CA0 #A02C52
square
#8CA02C #2CA07A #402CA0 #A02C52
split-complementary
#8CA02C #2C52A0 #7A2CA0
monochromatic
#384012 #62701F #8CA02C #B2CA3F #C5D76F

Accessibility & contrast

On white

2.92
#8CA02C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#8CA02C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA02C
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA02C#FFFFFF#000000##000000
##8CA02C1.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9717
Deuteranopia (green-blind)
#A89736
Tritanopia (blue-blind)
#949789
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8ca02c;
/* rgb */ color: rgb(140, 160, 44);
/* oklch */ color: oklch(66.8% 0.139 118.9);
Tailwind
colors: {
  custom: {
    50: '#b1bc6d',
    500: '#8ca02c',
    950: '#000000',
  },
}
SCSS
$custom: #8ca02c;
$custom-light: #b1bc6d;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca02c",
  "rgb": {
    "r": 140,
    "g": 160,
    "b": 44
  },
  "hsl": {
    "h": 70.345,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.66829,
    "c": 0.13932,
    "h": 118.9
  },
  "luminance": 0.30899
}

Semantic roles & 50–950 ramp

primary
#8CA02C
secondary
#7869BF
accent
#48E062
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8CA02C

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

Preview Lab → · Contrast checker → · Palette generator →

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