#40C960#40C960

#40C960 is a light, vivid green. Relative luminance 0.437; OKLCH L 73.9% C 0.187 H 147.6°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#40C960
RGBrgb(64, 201, 96)
HSLhsl(134, 56%, 52%)
HSVhsv(134, 68%, 79%)
CMYKcmyk(68.2%, 0%, 52.2%, 21.2%)
CIE-LABlab(72.03, -58.61, 41.65)
CIE-LCHlch(72.03, 71.91, 144.60°)
OKLaboklab(73.92% -0.158 0.1003)
OKLCHoklch(73.92% 0.187 147.6)
XYZxyz(25.1105, 43.7051, 18.1766)
Luminance0.4371 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C960 #C940A9
analogous
#64C940 #40C960 #40C9A5
triadic
#40C960 #6040C9 #C96040
tetradic
#40C960 #4064C9 #C940A9 #C9A540
square
#40C960 #4064C9 #C940A9 #C9A540
split-complementary
#40C960 #A540C9 #C94064
monochromatic
#1F6F32 #2D9F48 #40C960 #70D688 #9FE4AF

Accessibility & contrast

On white

2.16
#40C960 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.74
#40C960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C960
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C960#FFFFFF#000000##000000
##40C9601.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB857
Deuteranopia (green-blind)
#BBAC68
Tritanopia (blue-blind)
#00C5B1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #40c960;
/* rgb */ color: rgb(64, 201, 96);
/* oklch */ color: oklch(73.9% 0.187 147.6);
Tailwind
colors: {
  custom: {
    50: '#86da8f',
    500: '#40c960',
    950: '#000000',
  },
}
SCSS
$custom: #40c960;
$custom-light: #86da8f;
$custom-dark: #000000;
JSON
{
  "hex": "#40c960",
  "rgb": {
    "r": 64,
    "g": 201,
    "b": 96
  },
  "hsl": {
    "h": 134.015,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.73921,
    "c": 0.18714,
    "h": 147.6
  },
  "luminance": 0.43708
}

Semantic roles & 50–950 ramp

primary
#40C960
secondary
#D094C2
accent
#49BCDF
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0C150D
muted
#7D837D

Preview Lab

Preview with #40C960

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

Preview Lab → · Contrast checker → · Palette generator →

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