#8CB72A#8CB72A

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

Color values

HEX#8CB72A
RGBrgb(140, 183, 42)
HSLhsl(78, 63%, 44%)
HSVhsv(78, 77%, 72%)
CMYKcmyk(23.5%, 0%, 77%, 28.2%)
CIE-LABlab(69.19, -33.85, 61.90)
CIE-LCHlch(69.19, 70.55, 118.67°)
OKLaboklab(72.29% -0.0981 0.1367)
OKLCHoklch(72.29% 0.168 125.7)
XYZxyz(28.1668, 39.6092, 8.3514)
Luminance0.3961 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB72A #552AB7
analogous
#B79C2A #8CB72A #46B72A
triadic
#8CB72A #2A8CB7 #B72A8C
tetradic
#8CB72A #2AB79C #552AB7 #B72A46
square
#8CB72A #2AB79C #552AB7 #B72A46
split-complementary
#8CB72A #2A46B7 #9C2AB7
monochromatic
#405313 #66851F #8CB72A #AAD549 #C2E17B

Accessibility & contrast

On white

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

On black

8.92
#8CB72A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB72A
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB72A#FFFFFF#000000##000000
##8CB72A1.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8cb72a;
/* rgb */ color: rgb(140, 183, 42);
/* oklch */ color: oklch(72.3% 0.168 125.7);
Tailwind
colors: {
  custom: {
    50: '#b2cc6f',
    500: '#8cb72a',
    950: '#000000',
  },
}
SCSS
$custom: #8cb72a;
$custom-light: #b2cc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb72a",
  "rgb": {
    "r": 140,
    "g": 183,
    "b": 42
  },
  "hsl": {
    "h": 78.298,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.72293,
    "c": 0.16826,
    "h": 125.7
  },
  "luminance": 0.3961
}

Semantic roles & 50–950 ramp

primary
#8CB72A
secondary
#8E74C9
accent
#42E674
background
#FBFCF7
surface
#F6F9ED
border
#D0D2C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8CB72A

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

Preview Lab → · Contrast checker → · Palette generator →

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