#8CB452#8CB452

#8CB452 is a light, vivid yellow-green. Relative luminance 0.388; OKLCH L 71.9% C 0.135 H 127.9°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#8CB452
RGBrgb(140, 180, 82)
HSLhsl(84, 40%, 51%)
HSVhsv(84, 54%, 71%)
CMYKcmyk(22.2%, 0%, 54.4%, 29.4%)
CIE-LABlab(68.63, -29.48, 45.04)
CIE-LCHlch(68.63, 53.83, 123.20°)
OKLaboklab(71.94% -0.0827 0.1063)
OKLCHoklch(71.94% 0.135 127.9)
XYZxyz(28.6593, 38.8267, 13.9654)
Luminance0.3883 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB452 #7A52B4
analogous
#B4AB52 #8CB452 #5BB452
triadic
#8CB452 #528CB4 #B4528C
tetradic
#8CB452 #52B4AB #7A52B4 #B4525B
square
#8CB452 #52B4AB #7A52B4 #B4525B
split-complementary
#8CB452 #525BB4 #AB52B4
monochromatic
#4B612A #6C8C3D #8CB452 #A8C77D #C5D9A7

Accessibility & contrast

On white

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

On black

8.77
#8CB452 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB452
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB452#FFFFFF#000000##000000
##8CB4521.002.408.778.77
#FFFFFF2.401.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA949
Deuteranopia (green-blind)
#B6A758
Tritanopia (blue-blind)
#90AD9E
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8cb452;
/* rgb */ color: rgb(140, 180, 82);
/* oklch */ color: oklch(71.9% 0.135 127.9);
Tailwind
colors: {
  custom: {
    50: '#b0ca85',
    500: '#8cb452',
    950: '#000000',
  },
}
SCSS
$custom: #8cb452;
$custom-light: #b0ca85;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb452",
  "rgb": {
    "r": 140,
    "g": 180,
    "b": 82
  },
  "hsl": {
    "h": 84.49,
    "s": 39.516,
    "l": 51.373
  },
  "oklch": {
    "l": 0.71938,
    "c": 0.13464,
    "h": 127.9
  },
  "luminance": 0.38827
}

Semantic roles & 50–950 ramp

primary
#8CB452
secondary
#AD9BC7
accent
#58CF89
background
#FBFCF8
surface
#F6F8EF
border
#D0D1CA
text
#11130B
muted
#80827C

Preview Lab

Preview with #8CB452

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

Preview Lab → · Contrast checker → · Palette generator →

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