#8CB42E#8CB42E

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

Color values

HEX#8CB42E
RGBrgb(140, 180, 46)
HSLhsl(78, 59%, 44%)
HSVhsv(78, 74%, 71%)
CMYKcmyk(22.2%, 0%, 74.4%, 29.4%)
CIE-LABlab(68.33, -32.25, 59.77)
CIE-LCHlch(68.33, 67.91, 118.35°)
OKLaboklab(71.6% -0.0935 0.1328)
OKLCHoklch(71.6% 0.162 125.1)
XYZxyz(27.6298, 38.4149, 8.5434)
Luminance0.3841 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB42E #562EB4
analogous
#B4992E #8CB42E #49B42E
triadic
#8CB42E #2E8CB4 #B42E8C
tetradic
#8CB42E #2EB499 #562EB4 #B42E49
square
#8CB42E #2EB499 #562EB4 #B42E49
split-complementary
#8CB42E #2E49B4 #992EB4
monochromatic
#405315 #668322 #8CB42E #AAD24E #C2DE7E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8CB42E#FFFFFF#000000##000000
##8CB42E1.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)
#BEA811
Deuteranopia (green-blind)
#B9A63A
Tritanopia (blue-blind)
#92AB9A
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8cb42e;
/* rgb */ color: rgb(140, 180, 46);
/* oklch */ color: oklch(71.6% 0.162 125.1);
Tailwind
colors: {
  custom: {
    50: '#b1ca71',
    500: '#8cb42e',
    950: '#000000',
  },
}
SCSS
$custom: #8cb42e;
$custom-light: #b1ca71;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb42e",
  "rgb": {
    "r": 140,
    "g": 180,
    "b": 46
  },
  "hsl": {
    "h": 77.91,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.71599,
    "c": 0.16242,
    "h": 125.1
  },
  "luminance": 0.38415
}

Semantic roles & 50–950 ramp

primary
#8CB42E
secondary
#8F77C7
accent
#45E274
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8CB42E

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

Preview Lab → · Contrast checker → · Palette generator →

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