#8CB72F#8CB72F

#8CB72F is a light, vivid yellow-green. Relative luminance 0.396; OKLCH L 72.3% C 0.166 H 125.9°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#8CB72F
RGBrgb(140, 183, 47)
HSLhsl(79, 59%, 45%)
HSVhsv(79, 74%, 72%)
CMYKcmyk(23.5%, 0%, 74.3%, 28.2%)
CIE-LABlab(69.22, -33.59, 60.28)
CIE-LCHlch(69.22, 69.01, 119.13°)
OKLaboklab(72.32% -0.0971 0.1341)
OKLCHoklch(72.32% 0.166 125.9)
XYZxyz(28.2620, 39.6472, 8.8525)
Luminance0.3965 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB72F #5A2FB7
analogous
#B79E2F #8CB72F #48B72F
triadic
#8CB72F #2F8CB7 #B72F8C
tetradic
#8CB72F #2FB79E #5A2FB7 #B72F48
square
#8CB72F #2FB79E #5A2FB7 #B72F48
split-complementary
#8CB72F #2F48B7 #9E2FB7
monochromatic
#415616 #678622 #8CB72F #A9D251 #C1DF82

Accessibility & contrast

On white

2.35
#8CB72F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#8CB72F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB72F
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB72F#FFFFFF#000000##000000
##8CB72F1.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB12
Deuteranopia (green-blind)
#BBA83C
Tritanopia (blue-blind)
#92AE9D
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #8cb72f;
/* rgb */ color: rgb(140, 183, 47);
/* oklch */ color: oklch(72.3% 0.166 125.9);
Tailwind
colors: {
  custom: {
    50: '#b1cc71',
    500: '#8cb72f',
    950: '#000000',
  },
}
SCSS
$custom: #8cb72f;
$custom-light: #b1cc71;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb72f",
  "rgb": {
    "r": 140,
    "g": 183,
    "b": 47
  },
  "hsl": {
    "h": 78.971,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.72324,
    "c": 0.16552,
    "h": 125.9
  },
  "luminance": 0.39648
}

Semantic roles & 50–950 ramp

primary
#8CB72F
secondary
#937AC8
accent
#45E277
background
#FBFCF7
surface
#F6F9ED
border
#D0D2C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8CB72F

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

Preview Lab → · Contrast checker → · Palette generator →

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