#40C97F#40C97F

#40C97F is a light, vivid green. Relative luminance 0.444; OKLCH L 74.5% C 0.159 H 155.3°. Best body text is #000000 at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#40C97F
RGBrgb(64, 201, 127)
HSLhsl(148, 56%, 52%)
HSVhsv(148, 68%, 79%)
CMYKcmyk(68.2%, 0%, 36.8%, 21.2%)
CIE-LABlab(72.49, -53.43, 26.56)
CIE-LCHlch(72.49, 59.67, 153.57°)
OKLaboklab(74.45% -0.1446 0.0666)
OKLCHoklch(74.45% 0.159 155.3)
XYZxyz(26.8293, 44.3926, 27.2292)
Luminance0.4440 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C97F #C9408A
analogous
#46C940 #40C97F #40C9C3
triadic
#40C97F #7F40C9 #C97F40
tetradic
#40C97F #4046C9 #C9408A #C9C340
square
#40C97F #4046C9 #C9408A #C9C340
split-complementary
#40C97F #C340C9 #C94046
monochromatic
#1F6F44 #2D9F61 #40C97F #70D69F #9FE4BF

Accessibility & contrast

On white

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

On black

9.88
#40C97F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C97F
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C97F#FFFFFF#000000##000000
##40C97F1.002.139.889.88
#FFFFFF2.131.0021.0021.00
#0000009.8821.001.001.00
##0000009.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40c97f;
/* rgb */ color: rgb(64, 201, 127);
/* oklch */ color: oklch(74.5% 0.159 155.3);
Tailwind
colors: {
  custom: {
    50: '#85daa4',
    500: '#40c97f',
    950: '#000000',
  },
}
SCSS
$custom: #40c97f;
$custom-light: #85daa4;
$custom-dark: #000000;
JSON
{
  "hex": "#40c97f",
  "rgb": {
    "r": 64,
    "g": 201,
    "b": 127
  },
  "hsl": {
    "h": 147.591,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.7445,
    "c": 0.15913,
    "h": 155.3
  },
  "luminance": 0.44396
}

Semantic roles & 50–950 ramp

primary
#40C97F
secondary
#D094B5
accent
#499ADF
background
#F8FDFA
surface
#F0FBF4
border
#CBD4CE
text
#0C150F
muted
#7D837F

Preview Lab

Preview with #40C97F

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

Preview Lab → · Contrast checker → · Palette generator →

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