#40C97A#40C97A

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

Color values

HEX#40C97A
RGBrgb(64, 201, 122)
HSLhsl(145, 56%, 52%)
HSVhsv(145, 68%, 79%)
CMYKcmyk(68.2%, 0%, 39.3%, 21.2%)
CIE-LABlab(72.41, -54.37, 29.05)
CIE-LCHlch(72.41, 61.65, 151.88°)
OKLaboklab(74.35% -0.1468 0.0724)
OKLCHoklch(74.35% 0.164 153.8)
XYZxyz(26.5115, 44.2655, 25.5555)
Luminance0.4427 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C97A #C9408F
analogous
#4BC940 #40C97A #40C9BE
triadic
#40C97A #7A40C9 #C97A40
tetradic
#40C97A #404BC9 #C9408F #C9BE40
square
#40C97A #404BC9 #C9408F #C9BE40
split-complementary
#40C97A #BE40C9 #C9404B
monochromatic
#1F6F41 #2D9F5D #40C97A #70D69B #9FE4BC

Accessibility & contrast

On white

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

On black

9.85
#40C97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C97A
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C97A#FFFFFF#000000##000000
##40C97A1.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B975
Deuteranopia (green-blind)
#B8AD7F
Tritanopia (blue-blind)
#00C7B5
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #40c97a;
/* rgb */ color: rgb(64, 201, 122);
/* oklch */ color: oklch(74.4% 0.164 153.8);
Tailwind
colors: {
  custom: {
    50: '#85daa1',
    500: '#40c97a',
    950: '#000000',
  },
}
SCSS
$custom: #40c97a;
$custom-light: #85daa1;
$custom-dark: #000000;
JSON
{
  "hex": "#40c97a",
  "rgb": {
    "r": 64,
    "g": 201,
    "b": 122
  },
  "hsl": {
    "h": 145.401,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.74353,
    "c": 0.16369,
    "h": 153.8
  },
  "luminance": 0.44268
}

Semantic roles & 50–950 ramp

primary
#40C97A
secondary
#D094B7
accent
#499FDF
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150F
muted
#7D837E

Preview Lab

Preview with #40C97A

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

Preview Lab → · Contrast checker → · Palette generator →

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