#8CB22D#8CB22D

#8CB22D is a light, vivid yellow-green. Relative luminance 0.376; OKLCH L 71.1% C 0.161 H 124.6°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#8CB22D
RGBrgb(140, 178, 45)
HSLhsl(77, 60%, 44%)
HSVhsv(77, 75%, 70%)
CMYKcmyk(21.3%, 0%, 74.7%, 30.2%)
CIE-LABlab(67.73, -31.37, 59.53)
CIE-LCHlch(67.73, 67.29, 117.78°)
OKLaboklab(71.11% -0.0911 0.1322)
OKLCHoklch(71.11% 0.161 124.6)
XYZxyz(27.2095, 37.6054, 8.3072)
Luminance0.3761 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB22D #532DB2
analogous
#B2952D #8CB22D #49B22D
triadic
#8CB22D #2D8CB2 #B22D8C
tetradic
#8CB22D #2DB295 #532DB2 #B22D49
square
#8CB22D #2DB295 #532DB2 #B22D49
split-complementary
#8CB22D #2D49B2 #952DB2
monochromatic
#3F5014 #668121 #8CB22D #ABD14B #C2DE7C

Accessibility & contrast

On white

2.46
#8CB22D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#8CB22D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB22D
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB22D#FFFFFF#000000##000000
##8CB22D1.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA610
Deuteranopia (green-blind)
#B7A539
Tritanopia (blue-blind)
#93A999
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8cb22d;
/* rgb */ color: rgb(140, 178, 45);
/* oklch */ color: oklch(71.1% 0.161 124.6);
Tailwind
colors: {
  custom: {
    50: '#b1c970',
    500: '#8cb22d',
    950: '#000000',
  },
}
SCSS
$custom: #8cb22d;
$custom-light: #b1c970;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb22d",
  "rgb": {
    "r": 140,
    "g": 178,
    "b": 45
  },
  "hsl": {
    "h": 77.143,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.71114,
    "c": 0.16055,
    "h": 124.6
  },
  "luminance": 0.37606
}

Semantic roles & 50–950 ramp

primary
#8CB22D
secondary
#8C75C6
accent
#45E372
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8CB22D

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

Preview Lab → · Contrast checker → · Palette generator →

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