#8CB72B#8CB72B

#8CB72B 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#8CB72B
RGBrgb(140, 183, 43)
HSLhsl(78, 62%, 44%)
HSVhsv(78, 77%, 72%)
CMYKcmyk(23.5%, 0%, 76.5%, 28.2%)
CIE-LABlab(69.20, -33.80, 61.59)
CIE-LCHlch(69.20, 70.25, 118.76°)
OKLaboklab(72.3% -0.0979 0.1362)
OKLCHoklch(72.3% 0.168 125.7)
XYZxyz(28.1849, 39.6164, 8.4469)
Luminance0.3962 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB72B #562BB7
analogous
#B79C2B #8CB72B #46B72B
triadic
#8CB72B #2B8CB7 #B72B8C
tetradic
#8CB72B #2BB79C #562BB7 #B72B46
square
#8CB72B #2BB79C #562BB7 #B72B46
split-complementary
#8CB72B #2B46B7 #9C2BB7
monochromatic
#405414 #66851F #8CB72B #AAD54B #C2E07C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8CB72B#FFFFFF#000000##000000
##8CB72B1.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)
#C1AB05
Deuteranopia (green-blind)
#BBA839
Tritanopia (blue-blind)
#92AE9D
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #8cb72b;
/* rgb */ color: rgb(140, 183, 43);
/* oklch */ color: oklch(72.3% 0.168 125.7);
Tailwind
colors: {
  custom: {
    50: '#b2cc70',
    500: '#8cb72b',
    950: '#000000',
  },
}
SCSS
$custom: #8cb72b;
$custom-light: #b2cc70;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb72b",
  "rgb": {
    "r": 140,
    "g": 183,
    "b": 43
  },
  "hsl": {
    "h": 78.429,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.72299,
    "c": 0.16773,
    "h": 125.7
  },
  "luminance": 0.39617
}

Semantic roles & 50–950 ramp

primary
#8CB72B
secondary
#8F75C9
accent
#43E575
background
#FBFCF7
surface
#F6F9ED
border
#D0D2C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8CB72B

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

Preview Lab → · Contrast checker → · Palette generator →

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