#8CA72F#8CA72F

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

Color values

HEX#8CA72F
RGBrgb(140, 167, 47)
HSLhsl(74, 56%, 42%)
HSVhsv(74, 72%, 65%)
CMYKcmyk(16.2%, 0%, 71.9%, 34.5%)
CIE-LABlab(64.50, -25.99, 55.68)
CIE-LCHlch(64.50, 61.44, 115.02°)
OKLaboklab(68.51% -0.0762 0.1244)
OKLCHoklch(68.51% 0.146 121.5)
XYZxyz(25.1474, 33.4181, 7.8143)
Luminance0.3342 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA72F #4A2FA7
analogous
#A7862F #8CA72F #50A72F
triadic
#8CA72F #2F8CA7 #A72F8C
tetradic
#8CA72F #2FA786 #4A2FA7 #A72F50
square
#8CA72F #2FA786 #4A2FA7 #A72F50
split-complementary
#8CA72F #2F50A7 #862FA7
monochromatic
#3C4714 #647722 #8CA72F #AECB48 #C3D978

Accessibility & contrast

On white

2.73
#8CA72F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8CA72F#FFFFFF#000000##000000
##8CA72F1.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D1A
Deuteranopia (green-blind)
#AE9C39
Tritanopia (blue-blind)
#949E90
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #8ca72f;
/* rgb */ color: rgb(140, 167, 47);
/* oklch */ color: oklch(68.5% 0.146 121.5);
Tailwind
colors: {
  custom: {
    50: '#b1c170',
    500: '#8ca72f',
    950: '#000000',
  },
}
SCSS
$custom: #8ca72f;
$custom-light: #b1c170;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca72f",
  "rgb": {
    "r": 140,
    "g": 167,
    "b": 47
  },
  "hsl": {
    "h": 73.5,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.68508,
    "c": 0.14587,
    "h": 121.5
  },
  "luminance": 0.33418
}

Semantic roles & 50–950 ramp

primary
#8CA72F
secondary
#8371C1
accent
#48DF6A
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#111208
muted
#80817B

Preview Lab

Preview with #8CA72F

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

Preview Lab → · Contrast checker → · Palette generator →

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