#8CA02A#8CA02A

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

Color values

HEX#8CA02A
RGBrgb(140, 160, 42)
HSLhsl(70, 58%, 40%)
HSVhsv(70, 74%, 63%)
CMYKcmyk(12.5%, 0%, 73.8%, 37.3%)
CIE-LABlab(62.41, -22.81, 55.46)
CIE-LCHlch(62.41, 59.97, 112.35°)
OKLaboklab(66.82% -0.0679 0.1231)
OKLCHoklch(66.82% 0.141 118.9)
XYZxyz(23.8044, 30.8844, 6.8973)
Luminance0.3088 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA02A #3E2AA0
analogous
#A0792A #8CA02A #51A02A
triadic
#8CA02A #2A8CA0 #A02A8C
tetradic
#8CA02A #2AA079 #3E2AA0 #A02A51
square
#8CA02A #2AA079 #3E2AA0 #A02A51
split-complementary
#8CA02A #2A51A0 #792AA0
monochromatic
#373F11 #62701D #8CA02A #B3CC3C #C6D86C

Accessibility & contrast

On white

2.93
#8CA02A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8CA02A#FFFFFF#000000##000000
##8CA02A1.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8ca02a;
/* rgb */ color: rgb(140, 160, 42);
/* oklch */ color: oklch(66.8% 0.141 118.9);
Tailwind
colors: {
  custom: {
    50: '#b1bc6c',
    500: '#8ca02a',
    950: '#000000',
  },
}
SCSS
$custom: #8ca02a;
$custom-light: #b1bc6c;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca02a",
  "rgb": {
    "r": 140,
    "g": 160,
    "b": 42
  },
  "hsl": {
    "h": 70.169,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.66815,
    "c": 0.14058,
    "h": 118.9
  },
  "luminance": 0.30884
}

Semantic roles & 50–950 ramp

primary
#8CA02A
secondary
#7667BF
accent
#46E261
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8CA02A

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

Preview Lab → · Contrast checker → · Palette generator →

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