#40CB5F#40CB5F

#40CB5F is a light, vivid green. Relative luminance 0.446; OKLCH L 74.4% C 0.191 H 147.3°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#40CB5F
RGBrgb(64, 203, 95)
HSLhsl(133, 57%, 52%)
HSVhsv(133, 68%, 80%)
CMYKcmyk(68.5%, 0%, 53.2%, 20.4%)
CIE-LABlab(72.64, -59.46, 42.88)
CIE-LCHlch(72.64, 73.31, 144.20°)
OKLaboklab(74.42% -0.1603 0.103)
OKLCHoklch(74.42% 0.191 147.3)
XYZxyz(25.5340, 44.6253, 18.0921)
Luminance0.4463 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40CB5F #CB40AC
analogous
#67CB40 #40CB5F #40CBA4
triadic
#40CB5F #5F40CB #CB5F40
tetradic
#40CB5F #4067CB #CB40AC #CBA440
square
#40CB5F #4067CB #CB40AC #CBA440
split-complementary
#40CB5F #A440CB #CB4067
monochromatic
#1F7231 #2CA246 #40CB5F #70D887 #A0E5B0

Accessibility & contrast

On white

2.12
#40CB5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.93
#40CB5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40CB5F
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40CB5F#FFFFFF#000000##000000
##40CB5F1.002.129.939.93
#FFFFFF2.121.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB955
Deuteranopia (green-blind)
#BDAE67
Tritanopia (blue-blind)
#00C7B2
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #40cb5f;
/* rgb */ color: rgb(64, 203, 95);
/* oklch */ color: oklch(74.4% 0.191 147.3);
Tailwind
colors: {
  custom: {
    50: '#86dc8f',
    500: '#40cb5f',
    950: '#000000',
  },
}
SCSS
$custom: #40cb5f;
$custom-light: #86dc8f;
$custom-dark: #000000;
JSON
{
  "hex": "#40cb5f",
  "rgb": {
    "r": 64,
    "g": 203,
    "b": 95
  },
  "hsl": {
    "h": 133.381,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.74424,
    "c": 0.19053,
    "h": 147.3
  },
  "luminance": 0.44628
}

Semantic roles & 50–950 ramp

primary
#40CB5F
secondary
#D295C4
accent
#47BEE0
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0D150C
muted
#7D837D

Preview Lab

Preview with #40CB5F

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

Preview Lab → · Contrast checker → · Palette generator →

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