#40C97E#40C97E

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

Color values

HEX#40C97E
RGBrgb(64, 201, 126)
HSLhsl(147, 56%, 52%)
HSVhsv(147, 68%, 79%)
CMYKcmyk(68.2%, 0%, 37.3%, 21.2%)
CIE-LABlab(72.47, -53.62, 27.06)
CIE-LCHlch(72.47, 60.07, 153.22°)
OKLaboklab(74.43% -0.145 0.0677)
OKLCHoklch(74.43% 0.16 155)
XYZxyz(26.7645, 44.3667, 26.8877)
Luminance0.4437 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C97E #C9408B
analogous
#47C940 #40C97E #40C9C2
triadic
#40C97E #7E40C9 #C97E40
tetradic
#40C97E #4047C9 #C9408B #C9C240
square
#40C97E #4047C9 #C9408B #C9C240
split-complementary
#40C97E #C240C9 #C94047
monochromatic
#1F6F44 #2D9F60 #40C97E #70D69E #9FE4BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40C97E#FFFFFF#000000##000000
##40C97E1.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)
#C8B979
Deuteranopia (green-blind)
#B7AD83
Tritanopia (blue-blind)
#00C7B6
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #40c97e;
/* rgb */ color: rgb(64, 201, 126);
/* oklch */ color: oklch(74.4% 0.160 155.0);
Tailwind
colors: {
  custom: {
    50: '#85daa4',
    500: '#40c97e',
    950: '#000000',
  },
}
SCSS
$custom: #40c97e;
$custom-light: #85daa4;
$custom-dark: #000000;
JSON
{
  "hex": "#40c97e",
  "rgb": {
    "r": 64,
    "g": 201,
    "b": 126
  },
  "hsl": {
    "h": 147.153,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.7443,
    "c": 0.16003,
    "h": 155
  },
  "luminance": 0.4437
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40C97E

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

Preview Lab → · Contrast checker → · Palette generator →

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