#8CB340#8CB340

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

Color values

HEX#8CB340
RGBrgb(140, 179, 64)
HSLhsl(80, 47%, 48%)
HSVhsv(80, 64%, 70%)
CMYKcmyk(21.8%, 0%, 64.2%, 29.8%)
CIE-LABlab(68.16, -30.61, 52.66)
CIE-LCHlch(68.16, 60.90, 120.17°)
OKLaboklab(71.5% -0.0874 0.1206)
OKLCHoklch(71.5% 0.149 125.9)
XYZxyz(27.8608, 38.1854, 10.7522)
Luminance0.3819 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB340 #6740B3
analogous
#B3A140 #8CB340 #52B340
triadic
#8CB340 #408CB3 #B3408C
tetradic
#8CB340 #40B3A1 #6740B3 #B34052
square
#8CB340 #40B3A1 #6740B3 #B34052
split-complementary
#8CB340 #4052B3 #A140B3
monochromatic
#455920 #698630 #8CB340 #A8C967 #C2D994

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8CB340#FFFFFF#000000##000000
##8CB3401.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)
#BCA831
Deuteranopia (green-blind)
#B7A649
Tritanopia (blue-blind)
#92AB9B
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8cb340;
/* rgb */ color: rgb(140, 179, 64);
/* oklch */ color: oklch(71.5% 0.149 125.9);
Tailwind
colors: {
  custom: {
    50: '#b0ca7a',
    500: '#8cb340',
    950: '#000000',
  },
}
SCSS
$custom: #8cb340;
$custom-light: #b0ca7a;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb340",
  "rgb": {
    "r": 140,
    "g": 179,
    "b": 64
  },
  "hsl": {
    "h": 80.348,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.71503,
    "c": 0.14889,
    "h": 125.9
  },
  "luminance": 0.38186
}

Semantic roles & 50–950 ramp

primary
#8CB340
secondary
#9E8AC4
accent
#51D77E
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#11130A
muted
#80827C

Preview Lab

Preview with #8CB340

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

Preview Lab → · Contrast checker → · Palette generator →

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