#8CB342#8CB342

#8CB342 is a light, vivid yellow-green. Relative luminance 0.382; OKLCH L 71.5% C 0.147 H 126.1°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#8CB342
RGBrgb(140, 179, 66)
HSLhsl(81, 46%, 48%)
HSVhsv(81, 63%, 70%)
CMYKcmyk(21.8%, 0%, 63.1%, 29.8%)
CIE-LABlab(68.17, -30.45, 51.82)
CIE-LCHlch(68.17, 60.10, 120.44°)
OKLaboklab(71.52% -0.0868 0.119)
OKLCHoklch(71.52% 0.147 126.1)
XYZxyz(27.9187, 38.2086, 11.0573)
Luminance0.3821 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB342 #6942B3
analogous
#B3A142 #8CB342 #53B342
triadic
#8CB342 #428CB3 #B3428C
tetradic
#8CB342 #42B3A1 #6942B3 #B34253
square
#8CB342 #42B3A1 #6942B3 #B34253
split-complementary
#8CB342 #4253B3 #A142B3
monochromatic
#465A21 #698632 #8CB342 #A8C86A #C2D997

Accessibility & contrast

On white

2.43
#8CB342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#8CB342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB342
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB342#FFFFFF#000000##000000
##8CB3421.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA834
Deuteranopia (green-blind)
#B7A64A
Tritanopia (blue-blind)
#91AB9B
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8cb342;
/* rgb */ color: rgb(140, 179, 66);
/* oklch */ color: oklch(71.5% 0.147 126.1);
Tailwind
colors: {
  custom: {
    50: '#b0ca7b',
    500: '#8cb342',
    950: '#000000',
  },
}
SCSS
$custom: #8cb342;
$custom-light: #b0ca7b;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb342",
  "rgb": {
    "r": 140,
    "g": 179,
    "b": 66
  },
  "hsl": {
    "h": 80.708,
    "s": 46.122,
    "l": 48.039
  },
  "oklch": {
    "l": 0.71523,
    "c": 0.1473,
    "h": 126.1
  },
  "luminance": 0.38209
}

Semantic roles & 50–950 ramp

primary
#8CB342
secondary
#A08CC4
accent
#52D67F
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#11130A
muted
#80827C

Preview Lab

Preview with #8CB342

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

Preview Lab → · Contrast checker → · Palette generator →

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