#8CA71D#8CA71D

#8CA71D is a light, vivid yellow-green. Relative luminance 0.333; OKLCH L 68.4% C 0.155 H 120.9°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#8CA71D
RGBrgb(140, 167, 29)
HSLhsl(72, 70%, 38%)
HSVhsv(72, 83%, 65%)
CMYKcmyk(16.2%, 0%, 82.6%, 34.5%)
CIE-LABlab(64.40, -26.83, 61.35)
CIE-LCHlch(64.40, 66.96, 113.62°)
OKLaboklab(68.4% -0.0799 0.1334)
OKLCHoklch(68.4% 0.155 120.9)
XYZxyz(24.8562, 33.3016, 6.2806)
Luminance0.3330 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA71D #381DA7
analogous
#A77D1D #8CA71D #47A71D
triadic
#8CA71D #1D8CA7 #A71D8C
tetradic
#8CA71D #1DA77D #381DA7 #A71D47
square
#8CA71D #1DA77D #381DA7 #A71D47
split-complementary
#8CA71D #1D47A7 #7D1DA7
monochromatic
#353F0B #607314 #8CA71D #B7DA28 #C8E35C

Accessibility & contrast

On white

2.74
#8CA71D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#8CA71D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA71D
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA71D#FFFFFF#000000##000000
##8CA71D1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#AF9C2C
Tritanopia (blue-blind)
#949E8E
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #8ca71d;
/* rgb */ color: rgb(140, 167, 29);
/* oklch */ color: oklch(68.4% 0.155 120.9);
Tailwind
colors: {
  custom: {
    50: '#b1c168',
    500: '#8ca71d',
    950: '#000000',
  },
}
SCSS
$custom: #8ca71d;
$custom-light: #b1c168;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca71d",
  "rgb": {
    "r": 140,
    "g": 167,
    "b": 29
  },
  "hsl": {
    "h": 71.739,
    "s": 70.408,
    "l": 38.431
  },
  "oklch": {
    "l": 0.68402,
    "c": 0.15547,
    "h": 120.9
  },
  "luminance": 0.33302
}

Semantic roles & 50–950 ramp

primary
#8CA71D
secondary
#6F59C7
accent
#3BED5E
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8CA71D

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

Preview Lab → · Contrast checker → · Palette generator →

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