#8CB240#8CB240

#8CB240 is a light, vivid yellow-green. Relative luminance 0.378; OKLCH L 71.3% C 0.148 H 125.7°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#8CB240
RGBrgb(140, 178, 64)
HSLhsl(80, 47%, 47%)
HSVhsv(80, 64%, 70%)
CMYKcmyk(21.3%, 0%, 64%, 30.2%)
CIE-LABlab(67.86, -30.13, 52.34)
CIE-LCHlch(67.86, 60.39, 119.93°)
OKLaboklab(71.27% -0.0861 0.1199)
OKLCHoklch(71.27% 0.148 125.7)
XYZxyz(27.6611, 37.7861, 10.6856)
Luminance0.3779 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB240 #6640B2
analogous
#B29F40 #8CB240 #53B240
triadic
#8CB240 #408CB2 #B2408C
tetradic
#8CB240 #40B29F #6640B2 #B24053
square
#8CB240 #40B29F #6640B2 #B24053
split-complementary
#8CB240 #4053B2 #9F40B2
monochromatic
#455820 #698530 #8CB240 #A8C867 #C2D894

Accessibility & contrast

On white

2.45
#8CB240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#8CB240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB240
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB240#FFFFFF#000000##000000
##8CB2401.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA732
Deuteranopia (green-blind)
#B6A548
Tritanopia (blue-blind)
#92AA9A
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8cb240;
/* rgb */ color: rgb(140, 178, 64);
/* oklch */ color: oklch(71.3% 0.148 125.7);
Tailwind
colors: {
  custom: {
    50: '#b0c97a',
    500: '#8cb240',
    950: '#000000',
  },
}
SCSS
$custom: #8cb240;
$custom-light: #b0c97a;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb240",
  "rgb": {
    "r": 140,
    "g": 178,
    "b": 64
  },
  "hsl": {
    "h": 80,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.71265,
    "c": 0.14758,
    "h": 125.7
  },
  "luminance": 0.37786
}

Semantic roles & 50–950 ramp

primary
#8CB240
secondary
#9D8AC4
accent
#51D77E
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#111309
muted
#80827B

Preview Lab

Preview with #8CB240

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

Preview Lab → · Contrast checker → · Palette generator →

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