#8CA72A#8CA72A

#8CA72A is a light, vivid yellow-green. Relative luminance 0.334; OKLCH L 68.5% C 0.149 H 121.3°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#8CA72A
RGBrgb(140, 167, 42)
HSLhsl(73, 60%, 41%)
HSVhsv(73, 75%, 65%)
CMYKcmyk(16.2%, 0%, 74.9%, 34.5%)
CIE-LABlab(64.47, -26.26, 57.44)
CIE-LCHlch(64.47, 63.16, 114.57°)
OKLaboklab(68.47% -0.0774 0.1273)
OKLCHoklch(68.47% 0.149 121.3)
XYZxyz(25.0523, 33.3801, 7.3132)
Luminance0.3338 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA72A #452AA7
analogous
#A7832A #8CA72A #4DA72A
triadic
#8CA72A #2A8CA7 #A72A8C
tetradic
#8CA72A #2AA783 #452AA7 #A72A4D
square
#8CA72A #2AA783 #452AA7 #A72A4D
split-complementary
#8CA72A #2A4DA7 #832AA7
monochromatic
#3A4511 #63761E #8CA72A #B0CF3F #C4DB70

Accessibility & contrast

On white

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

On black

7.68
#8CA72A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA72A
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA72A#FFFFFF#000000##000000
##8CA72A1.002.747.687.68
#FFFFFF2.741.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D0F
Deuteranopia (green-blind)
#AE9C35
Tritanopia (blue-blind)
#949E8F
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #8ca72a;
/* rgb */ color: rgb(140, 167, 42);
/* oklch */ color: oklch(68.5% 0.149 121.3);
Tailwind
colors: {
  custom: {
    50: '#b1c16d',
    500: '#8ca72a',
    950: '#000000',
  },
}
SCSS
$custom: #8ca72a;
$custom-light: #b1c16d;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca72a",
  "rgb": {
    "r": 140,
    "g": 167,
    "b": 42
  },
  "hsl": {
    "h": 72.96,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.68473,
    "c": 0.14895,
    "h": 121.3
  },
  "luminance": 0.3338
}

Semantic roles & 50–950 ramp

primary
#8CA72A
secondary
#7E6BC2
accent
#45E367
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111208
muted
#80817B

Preview Lab

Preview with #8CA72A

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

Preview Lab → · Contrast checker → · Palette generator →

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