#8CB52C#8CB52C

#8CB52C is a light, vivid yellow-green. Relative luminance 0.388; OKLCH L 71.8% C 0.165 H 125.3°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#8CB52C
RGBrgb(140, 181, 44)
HSLhsl(78, 61%, 44%)
HSVhsv(78, 76%, 71%)
CMYKcmyk(22.7%, 0%, 75.7%, 29%)
CIE-LABlab(68.61, -32.82, 60.71)
CIE-LCHlch(68.61, 69.02, 118.40°)
OKLaboklab(71.83% -0.0952 0.1345)
OKLCHoklch(71.83% 0.165 125.3)
XYZxyz(27.7939, 38.8047, 8.4081)
Luminance0.3881 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB52C #552CB5
analogous
#B59A2C #8CB52C #48B52C
triadic
#8CB52C #2C8CB5 #B52C8C
tetradic
#8CB52C #2CB59A #552CB5 #B52C48
square
#8CB52C #2CB59A #552CB5 #B52C48
split-complementary
#8CB52C #2C48B5 #9A2CB5
monochromatic
#405314 #668420 #8CB52C #AAD34B #C2DF7C

Accessibility & contrast

On white

2.40
#8CB52C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#8CB52C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB52C
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB52C#FFFFFF#000000##000000
##8CB52C1.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA90B
Deuteranopia (green-blind)
#BAA739
Tritanopia (blue-blind)
#92AC9B
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8cb52c;
/* rgb */ color: rgb(140, 181, 44);
/* oklch */ color: oklch(71.8% 0.165 125.3);
Tailwind
colors: {
  custom: {
    50: '#b1cb70',
    500: '#8cb52c',
    950: '#000000',
  },
}
SCSS
$custom: #8cb52c;
$custom-light: #b1cb70;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb52c",
  "rgb": {
    "r": 140,
    "g": 181,
    "b": 44
  },
  "hsl": {
    "h": 77.956,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.71826,
    "c": 0.16477,
    "h": 125.3
  },
  "luminance": 0.38805
}

Semantic roles & 50–950 ramp

primary
#8CB52C
secondary
#8E75C8
accent
#44E474
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8CB52C

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

Preview Lab → · Contrast checker → · Palette generator →

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