#8CA71E#8CA71E

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

Color values

HEX#8CA71E
RGBrgb(140, 167, 30)
HSLhsl(72, 70%, 39%)
HSVhsv(72, 82%, 65%)
CMYKcmyk(16.2%, 0%, 82%, 34.5%)
CIE-LABlab(64.41, -26.79, 61.09)
CIE-LCHlch(64.41, 66.71, 113.68°)
OKLaboklab(68.41% -0.0798 0.133)
OKLCHoklch(68.41% 0.155 121)
XYZxyz(24.8688, 33.3067, 6.3467)
Luminance0.3331 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA71E #391EA7
analogous
#A77D1E #8CA71E #47A71E
triadic
#8CA71E #1E8CA7 #A71E8C
tetradic
#8CA71E #1EA77D #391EA7 #A71E47
square
#8CA71E #1EA77D #391EA7 #A71E47
split-complementary
#8CA71E #1E47A7 #7D1EA7
monochromatic
#353F0B #617315 #8CA71E #B6D92A #C8E25D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8CA71E#FFFFFF#000000##000000
##8CA71E1.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)
#AE9C2D
Tritanopia (blue-blind)
#949E8E
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #8ca71e;
/* rgb */ color: rgb(140, 167, 30);
/* oklch */ color: oklch(68.4% 0.155 121.0);
Tailwind
colors: {
  custom: {
    50: '#b1c168',
    500: '#8ca71e',
    950: '#000000',
  },
}
SCSS
$custom: #8ca71e;
$custom-light: #b1c168;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca71e",
  "rgb": {
    "r": 140,
    "g": 167,
    "b": 30
  },
  "hsl": {
    "h": 71.825,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.68407,
    "c": 0.15504,
    "h": 121
  },
  "luminance": 0.33307
}

Semantic roles & 50–950 ramp

primary
#8CA71E
secondary
#705BC6
accent
#3BEC5E
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8CA71E

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

Preview Lab → · Contrast checker → · Palette generator →

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