#8CB252#8CB252

#8CB252 is a light, vivid yellow-green. Relative luminance 0.380; OKLCH L 71.5% C 0.132 H 127.4°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#8CB252
RGBrgb(140, 178, 82)
HSLhsl(84, 38%, 51%)
HSVhsv(84, 54%, 70%)
CMYKcmyk(21.3%, 0%, 53.9%, 30.2%)
CIE-LABlab(68.04, -28.52, 44.36)
CIE-LCHlch(68.04, 52.74, 122.74°)
OKLaboklab(71.47% -0.08 0.1048)
OKLCHoklch(71.47% 0.132 127.4)
XYZxyz(28.2585, 38.0250, 13.8318)
Luminance0.3802 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB252 #7852B2
analogous
#B2A852 #8CB252 #5CB252
triadic
#8CB252 #528CB2 #B2528C
tetradic
#8CB252 #52B2A8 #7852B2 #B2525C
square
#8CB252 #52B2A8 #7852B2 #B2525C
split-complementary
#8CB252 #525CB2 #A852B2
monochromatic
#4A5F2A #6B8A3D #8CB252 #A8C57C #C4D8A7

Accessibility & contrast

On white

2.44
#8CB252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#8CB252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB252
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB252#FFFFFF#000000##000000
##8CB2521.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA749
Deuteranopia (green-blind)
#B5A558
Tritanopia (blue-blind)
#90AB9C
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8cb252;
/* rgb */ color: rgb(140, 178, 82);
/* oklch */ color: oklch(71.5% 0.132 127.4);
Tailwind
colors: {
  custom: {
    50: '#b0c985',
    500: '#8cb252',
    950: '#000000',
  },
}
SCSS
$custom: #8cb252;
$custom-light: #b0c985;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb252",
  "rgb": {
    "r": 140,
    "g": 178,
    "b": 82
  },
  "hsl": {
    "h": 83.75,
    "s": 38.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.71465,
    "c": 0.13183,
    "h": 127.4
  },
  "luminance": 0.38025
}

Semantic roles & 50–950 ramp

primary
#8CB252
secondary
#AB9BC5
accent
#59CE88
background
#FBFCF8
surface
#F6F8EF
border
#D0D1CA
text
#11130B
muted
#80827C

Preview Lab

Preview with #8CB252

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

Preview Lab → · Contrast checker → · Palette generator →

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