#8CB22A#8CB22A

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

Color values

HEX#8CB22A
RGBrgb(140, 178, 42)
HSLhsl(77, 62%, 43%)
HSVhsv(77, 76%, 70%)
CMYKcmyk(21.3%, 0%, 76.4%, 30.2%)
CIE-LABlab(67.71, -31.52, 60.52)
CIE-LCHlch(67.71, 68.23, 117.51°)
OKLaboklab(71.1% -0.0918 0.1338)
OKLCHoklch(71.1% 0.162 124.5)
XYZxyz(27.1538, 37.5831, 8.0137)
Luminance0.3758 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB22A #502AB2
analogous
#B2942A #8CB22A #48B22A
triadic
#8CB22A #2A8CB2 #B22A8C
tetradic
#8CB22A #2AB294 #502AB2 #B22A48
square
#8CB22A #2AB294 #502AB2 #B22A48
split-complementary
#8CB22A #2A48B2 #942AB2
monochromatic
#3E4F13 #65801E #8CB22A #ACD346 #C2DF77

Accessibility & contrast

On white

2.47
#8CB22A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8CB22A#FFFFFF#000000##000000
##8CB22A1.002.478.528.52
#FFFFFF2.471.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA606
Deuteranopia (green-blind)
#B7A537
Tritanopia (blue-blind)
#93A998
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8cb22a;
/* rgb */ color: rgb(140, 178, 42);
/* oklch */ color: oklch(71.1% 0.162 124.5);
Tailwind
colors: {
  custom: {
    50: '#b1c96e',
    500: '#8cb22a',
    950: '#000000',
  },
}
SCSS
$custom: #8cb22a;
$custom-light: #b1c96e;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb22a",
  "rgb": {
    "r": 140,
    "g": 178,
    "b": 42
  },
  "hsl": {
    "h": 76.765,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.71096,
    "c": 0.16222,
    "h": 124.5
  },
  "luminance": 0.37583
}

Semantic roles & 50–950 ramp

primary
#8CB22A
secondary
#8971C7
accent
#43E570
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8CB22A

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

Preview Lab → · Contrast checker → · Palette generator →

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