#40C974#40C974

#40C974 is a light, vivid green. Relative luminance 0.441; OKLCH L 74.2% C 0.169 H 152.1°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#40C974
RGBrgb(64, 201, 116)
HSLhsl(143, 56%, 52%)
HSVhsv(143, 68%, 79%)
CMYKcmyk(68.2%, 0%, 42.3%, 21.2%)
CIE-LABlab(72.31, -55.44, 32.02)
CIE-LCHlch(72.31, 64.03, 149.99°)
OKLaboklab(74.24% -0.1495 0.0792)
OKLCHoklch(74.24% 0.169 152.1)
XYZxyz(26.1512, 44.1214, 23.6577)
Luminance0.4412 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C974 #C94095
analogous
#51C940 #40C974 #40C9B9
triadic
#40C974 #7440C9 #C97440
tetradic
#40C974 #4051C9 #C94095 #C9B940
square
#40C974 #4051C9 #C94095 #C9B940
split-complementary
#40C974 #B940C9 #C94051
monochromatic
#1F6F3E #2D9F58 #40C974 #70D697 #9FE4B9

Accessibility & contrast

On white

2.14
#40C974 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.82
#40C974 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C974
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C974#FFFFFF#000000##000000
##40C9741.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B96E
Deuteranopia (green-blind)
#B8AD7A
Tritanopia (blue-blind)
#00C6B4
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #40c974;
/* rgb */ color: rgb(64, 201, 116);
/* oklch */ color: oklch(74.2% 0.169 152.1);
Tailwind
colors: {
  custom: {
    50: '#85da9d',
    500: '#40c974',
    950: '#000000',
  },
}
SCSS
$custom: #40c974;
$custom-light: #85da9d;
$custom-dark: #000000;
JSON
{
  "hex": "#40c974",
  "rgb": {
    "r": 64,
    "g": 201,
    "b": 116
  },
  "hsl": {
    "h": 142.774,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.74242,
    "c": 0.16918,
    "h": 152.1
  },
  "luminance": 0.44124
}

Semantic roles & 50–950 ramp

primary
#40C974
secondary
#D094BA
accent
#49A6DF
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150E
muted
#7D837E

Preview Lab

Preview with #40C974

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

Preview Lab → · Contrast checker → · Palette generator →

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