#8CB952#8CB952

#8CB952 is a light, vivid yellow-green. Relative luminance 0.409; OKLCH L 73.1% C 0.142 H 129.1°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#8CB952
RGBrgb(140, 185, 82)
HSLhsl(86, 42%, 52%)
HSVhsv(86, 56%, 73%)
CMYKcmyk(24.3%, 0%, 55.7%, 27.5%)
CIE-LABlab(70.09, -31.85, 46.76)
CIE-LCHlch(70.09, 56.57, 124.26°)
OKLaboklab(73.13% -0.0892 0.11)
OKLCHoklch(73.13% 0.142 129.1)
XYZxyz(29.6870, 40.8820, 14.3079)
Luminance0.4088 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB952 #7F52B9
analogous
#B9B352 #8CB952 #58B952
triadic
#8CB952 #528CB9 #B9528C
tetradic
#8CB952 #52B9B3 #7F52B9 #B95258
square
#8CB952 #52B9B3 #7F52B9 #B95258
split-complementary
#8CB952 #5258B9 #B352B9
monochromatic
#4C672A #6C933B #8CB952 #A9CB7E #C6DCA9

Accessibility & contrast

On white

2.29
#8CB952 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#8CB952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB952
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB952#FFFFFF#000000##000000
##8CB9521.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD48
Deuteranopia (green-blind)
#BBAA59
Tritanopia (blue-blind)
#90B2A2
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #8cb952;
/* rgb */ color: rgb(140, 185, 82);
/* oklch */ color: oklch(73.1% 0.142 129.1);
Tailwind
colors: {
  custom: {
    50: '#b0ce86',
    500: '#8cb952',
    950: '#000000',
  },
}
SCSS
$custom: #8cb952;
$custom-light: #b0ce86;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb952",
  "rgb": {
    "r": 140,
    "g": 185,
    "b": 82
  },
  "hsl": {
    "h": 86.214,
    "s": 42.387,
    "l": 52.353
  },
  "oklch": {
    "l": 0.73125,
    "c": 0.14163,
    "h": 129.1
  },
  "luminance": 0.40883
}

Semantic roles & 50–950 ramp

primary
#8CB952
secondary
#B19DCA
accent
#56D28C
background
#FBFCF8
surface
#F6F9EF
border
#D0D2CA
text
#11130B
muted
#80827C

Preview Lab

Preview with #8CB952

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

Preview Lab → · Contrast checker → · Palette generator →

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