#8CBE40#8CBE40

#8CBE40 is a light, vivid yellow-green. Relative luminance 0.428; OKLCH L 74.1% C 0.163 H 128.4°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#8CBE40
RGBrgb(140, 190, 64)
HSLhsl(84, 50%, 50%)
HSVhsv(84, 66%, 75%)
CMYKcmyk(26.3%, 0%, 66.3%, 25.5%)
CIE-LABlab(71.40, -35.71, 56.11)
CIE-LCHlch(71.40, 66.51, 122.48°)
OKLaboklab(74.13% -0.1014 0.1278)
OKLCHoklch(74.13% 0.163 128.4)
XYZxyz(30.1540, 42.7718, 11.5166)
Luminance0.4277 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CBE40 #7240BE
analogous
#BEB140 #8CBE40 #4DBE40
triadic
#8CBE40 #408CBE #BE408C
tetradic
#8CBE40 #40BEB1 #7240BE #BE404D
square
#8CBE40 #40BEB1 #7240BE #BE404D
split-complementary
#8CBE40 #404DBE #B140BE
monochromatic
#496221 #6A9031 #8CBE40 #A8CE6D #C3DD9B

Accessibility & contrast

On white

2.20
#8CBE40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.55
#8CBE40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CBE40
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CBE40#FFFFFF#000000##000000
##8CBE401.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B12F
Deuteranopia (green-blind)
#C0AE4A
Tritanopia (blue-blind)
#90B6A4
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #8cbe40;
/* rgb */ color: rgb(140, 190, 64);
/* oklch */ color: oklch(74.1% 0.163 128.4);
Tailwind
colors: {
  custom: {
    50: '#b1d27b',
    500: '#8cbe40',
    950: '#000000',
  },
}
SCSS
$custom: #8cbe40;
$custom-light: #b1d27b;
$custom-dark: #000000;
JSON
{
  "hex": "#8cbe40",
  "rgb": {
    "r": 140,
    "g": 190,
    "b": 64
  },
  "hsl": {
    "h": 83.81,
    "s": 49.606,
    "l": 49.804
  },
  "oklch": {
    "l": 0.7413,
    "c": 0.16319,
    "h": 128.4
  },
  "luminance": 0.42773
}

Semantic roles & 50–950 ramp

primary
#8CBE40
secondary
#A790C9
accent
#4FD986
background
#FBFCF7
surface
#F6F9EE
border
#D0D2C9
text
#11140A
muted
#80827C

Preview Lab

Preview with #8CBE40

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

Preview Lab → · Contrast checker → · Palette generator →

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