#8CB42D#8CB42D

#8CB42D is a light, vivid yellow-green. Relative luminance 0.384; OKLCH L 71.6% C 0.163 H 125.1°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#8CB42D
RGBrgb(140, 180, 45)
HSLhsl(78, 60%, 44%)
HSVhsv(78, 75%, 71%)
CMYKcmyk(22.2%, 0%, 75%, 29.4%)
CIE-LABlab(68.32, -32.30, 60.10)
CIE-LCHlch(68.32, 68.23, 118.26°)
OKLaboklab(71.59% -0.0937 0.1334)
OKLCHoklch(71.59% 0.163 125.1)
XYZxyz(27.6104, 38.4071, 8.4408)
Luminance0.3841 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB42D #552DB4
analogous
#B4992D #8CB42D #49B42D
triadic
#8CB42D #2D8CB4 #B42D8C
tetradic
#8CB42D #2DB499 #552DB4 #B42D49
square
#8CB42D #2DB499 #552DB4 #B42D49
split-complementary
#8CB42D #2D49B4 #992DB4
monochromatic
#405215 #668321 #8CB42D #AAD24C #C2DE7D

Accessibility & contrast

On white

2.42
#8CB42D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#8CB42D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB42D
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB42D#FFFFFF#000000##000000
##8CB42D1.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA80F
Deuteranopia (green-blind)
#B9A63A
Tritanopia (blue-blind)
#92AB9A
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8cb42d;
/* rgb */ color: rgb(140, 180, 45);
/* oklch */ color: oklch(71.6% 0.163 125.1);
Tailwind
colors: {
  custom: {
    50: '#b1ca70',
    500: '#8cb42d',
    950: '#000000',
  },
}
SCSS
$custom: #8cb42d;
$custom-light: #b1ca70;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb42d",
  "rgb": {
    "r": 140,
    "g": 180,
    "b": 45
  },
  "hsl": {
    "h": 77.778,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.71593,
    "c": 0.16299,
    "h": 125.1
  },
  "luminance": 0.38407
}

Semantic roles & 50–950 ramp

primary
#8CB42D
secondary
#8E76C7
accent
#45E374
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8CB42D

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

Preview Lab → · Contrast checker → · Palette generator →

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