#40C97C#40C97C

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

Color values

HEX#40C97C
RGBrgb(64, 201, 124)
HSLhsl(146, 56%, 52%)
HSVhsv(146, 68%, 79%)
CMYKcmyk(68.2%, 0%, 38.3%, 21.2%)
CIE-LABlab(72.44, -54.00, 28.06)
CIE-LCHlch(72.44, 60.85, 152.54°)
OKLaboklab(74.39% -0.1459 0.0701)
OKLCHoklch(74.39% 0.162 154.4)
XYZxyz(26.6367, 44.3156, 26.2148)
Luminance0.4432 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C97C #C9408D
analogous
#49C940 #40C97C #40C9C0
triadic
#40C97C #7C40C9 #C97C40
tetradic
#40C97C #4049C9 #C9408D #C9C040
square
#40C97C #4049C9 #C9408D #C9C040
split-complementary
#40C97C #C040C9 #C94049
monochromatic
#1F6F42 #2D9F5F #40C97C #70D69D #9FE4BD

Accessibility & contrast

On white

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

On black

9.86
#40C97C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C97C
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C97C#FFFFFF#000000##000000
##40C97C1.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40c97c;
/* rgb */ color: rgb(64, 201, 124);
/* oklch */ color: oklch(74.4% 0.162 154.4);
Tailwind
colors: {
  custom: {
    50: '#85daa2',
    500: '#40c97c',
    950: '#000000',
  },
}
SCSS
$custom: #40c97c;
$custom-light: #85daa2;
$custom-dark: #000000;
JSON
{
  "hex": "#40c97c",
  "rgb": {
    "r": 64,
    "g": 201,
    "b": 124
  },
  "hsl": {
    "h": 146.277,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.74391,
    "c": 0.16186,
    "h": 154.4
  },
  "luminance": 0.44319
}

Semantic roles & 50–950 ramp

primary
#40C97C
secondary
#D094B6
accent
#499DDF
background
#F8FDFA
surface
#F0FBF3
border
#CBD4CD
text
#0C150F
muted
#7D837F

Preview Lab

Preview with #40C97C

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

Preview Lab → · Contrast checker → · Palette generator →

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