#40C97D#40C97D

#40C97D is a light, vivid green. Relative luminance 0.443; OKLCH L 74.4% C 0.161 H 154.7°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#40C97D
RGBrgb(64, 201, 125)
HSLhsl(147, 56%, 52%)
HSVhsv(147, 68%, 79%)
CMYKcmyk(68.2%, 0%, 37.8%, 21.2%)
CIE-LABlab(72.46, -53.81, 27.56)
CIE-LCHlch(72.46, 60.46, 152.88°)
OKLaboklab(74.41% -0.1455 0.0689)
OKLCHoklch(74.41% 0.161 154.7)
XYZxyz(26.7003, 44.3410, 26.5496)
Luminance0.4434 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C97D #C9408C
analogous
#48C940 #40C97D #40C9C1
triadic
#40C97D #7D40C9 #C97D40
tetradic
#40C97D #4048C9 #C9408C #C9C140
square
#40C97D #4048C9 #C9408C #C9C140
split-complementary
#40C97D #C140C9 #C94048
monochromatic
#1F6F43 #2D9F60 #40C97D #70D69D #9FE4BE

Accessibility & contrast

On white

2.13
#40C97D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.87
#40C97D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C97D
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C97D#FFFFFF#000000##000000
##40C97D1.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B978
Deuteranopia (green-blind)
#B7AD82
Tritanopia (blue-blind)
#00C7B6
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #40c97d;
/* rgb */ color: rgb(64, 201, 125);
/* oklch */ color: oklch(74.4% 0.161 154.7);
Tailwind
colors: {
  custom: {
    50: '#85daa3',
    500: '#40c97d',
    950: '#000000',
  },
}
SCSS
$custom: #40c97d;
$custom-light: #85daa3;
$custom-dark: #000000;
JSON
{
  "hex": "#40c97d",
  "rgb": {
    "r": 64,
    "g": 201,
    "b": 125
  },
  "hsl": {
    "h": 146.715,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.7441,
    "c": 0.16095,
    "h": 154.7
  },
  "luminance": 0.44344
}

Semantic roles & 50–950 ramp

primary
#40C97D
secondary
#D094B6
accent
#499CDF
background
#F8FDFA
surface
#F0FBF4
border
#CBD4CE
text
#0C150F
muted
#7D837F

Preview Lab

Preview with #40C97D

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

Preview Lab → · Contrast checker → · Palette generator →

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