#8CB52A#8CB52A

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

Color values

HEX#8CB52A
RGBrgb(140, 181, 42)
HSLhsl(78, 62%, 44%)
HSVhsv(78, 77%, 71%)
CMYKcmyk(22.7%, 0%, 76.8%, 29%)
CIE-LABlab(68.60, -32.92, 61.35)
CIE-LCHlch(68.60, 69.63, 118.22°)
OKLaboklab(71.81% -0.0956 0.1355)
OKLCHoklch(71.81% 0.166 125.2)
XYZxyz(27.7572, 38.7900, 8.2149)
Luminance0.3879 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB52A #532AB5
analogous
#B5982A #8CB52A #46B52A
triadic
#8CB52A #2A8CB5 #B52A8C
tetradic
#8CB52A #2AB598 #532AB5 #B52A46
square
#8CB52A #2AB598 #532AB5 #B52A46
split-complementary
#8CB52A #2A46B5 #982AB5
monochromatic
#3F5213 #66831E #8CB52A #ABD448 #C2E079

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8CB52A#FFFFFF#000000##000000
##8CB52A1.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)
#BFA904
Deuteranopia (green-blind)
#BAA738
Tritanopia (blue-blind)
#93AC9B
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8cb52a;
/* rgb */ color: rgb(140, 181, 42);
/* oklch */ color: oklch(71.8% 0.166 125.2);
Tailwind
colors: {
  custom: {
    50: '#b2cb6f',
    500: '#8cb52a',
    950: '#000000',
  },
}
SCSS
$custom: #8cb52a;
$custom-light: #b2cb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb52a",
  "rgb": {
    "r": 140,
    "g": 181,
    "b": 42
  },
  "hsl": {
    "h": 77.698,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.71814,
    "c": 0.16585,
    "h": 125.2
  },
  "luminance": 0.3879
}

Semantic roles & 50–950 ramp

primary
#8CB52A
secondary
#8C73C8
accent
#42E572
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8CB52A

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

Preview Lab → · Contrast checker → · Palette generator →

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