#40CB62#40CB62

#40CB62 is a light, vivid green. Relative luminance 0.447; OKLCH L 74.5% C 0.188 H 147.8°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#40CB62
RGBrgb(64, 203, 98)
HSLhsl(135, 57%, 52%)
HSVhsv(135, 68%, 80%)
CMYKcmyk(68.5%, 0%, 51.7%, 20.4%)
CIE-LABlab(72.68, -59.04, 41.48)
CIE-LCHlch(72.68, 72.15, 144.91°)
OKLaboklab(74.47% -0.1591 0.1)
OKLCHoklch(74.47% 0.188 147.8)
XYZxyz(25.6730, 44.6809, 18.8242)
Luminance0.4468 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40CB62 #CB40A9
analogous
#64CB40 #40CB62 #40CBA7
triadic
#40CB62 #6240CB #CB6240
tetradic
#40CB62 #4064CB #CB40A9 #CBA740
square
#40CB62 #4064CB #CB40A9 #CBA740
split-complementary
#40CB62 #A740CB #CB4064
monochromatic
#1F7233 #2CA249 #40CB62 #70D88A #A0E5B1

Accessibility & contrast

On white

2.11
#40CB62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.94
#40CB62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40CB62
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40CB62#FFFFFF#000000##000000
##40CB621.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB959
Deuteranopia (green-blind)
#BCAE6A
Tritanopia (blue-blind)
#00C7B3
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #40cb62;
/* rgb */ color: rgb(64, 203, 98);
/* oklch */ color: oklch(74.5% 0.188 147.8);
Tailwind
colors: {
  custom: {
    50: '#86dc91',
    500: '#40cb62',
    950: '#000000',
  },
}
SCSS
$custom: #40cb62;
$custom-light: #86dc91;
$custom-dark: #000000;
JSON
{
  "hex": "#40cb62",
  "rgb": {
    "r": 64,
    "g": 203,
    "b": 98
  },
  "hsl": {
    "h": 134.676,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.74467,
    "c": 0.18793,
    "h": 147.8
  },
  "luminance": 0.44684
}

Semantic roles & 50–950 ramp

primary
#40CB62
secondary
#D295C3
accent
#47BBE0
background
#F8FDF9
surface
#F0FBF1
border
#CBD4CB
text
#0D150D
muted
#7D837E

Preview Lab

Preview with #40CB62

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

Preview Lab → · Contrast checker → · Palette generator →

#40CB62 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva