#40C774#40C774

#40C774 is a light, vivid green. Relative luminance 0.432; OKLCH L 73.7% C 0.167 H 152.3°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#40C774
RGBrgb(64, 199, 116)
HSLhsl(143, 55%, 52%)
HSVhsv(143, 68%, 78%)
CMYKcmyk(67.8%, 0%, 41.7%, 22%)
CIE-LABlab(71.69, -54.69, 31.21)
CIE-LCHlch(71.69, 62.97, 150.29°)
OKLaboklab(73.73% -0.1475 0.0773)
OKLCHoklch(73.73% 0.167 152.3)
XYZxyz(25.6880, 43.1950, 23.5033)
Luminance0.4320 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C774 #C74093
analogous
#50C740 #40C774 #40C7B8
triadic
#40C774 #7440C7 #C77440
tetradic
#40C774 #4050C7 #C74093 #C7B840
square
#40C774 #4050C7 #C74093 #C7B840
split-complementary
#40C774 #B840C7 #C74050
monochromatic
#206D3D #2E9C58 #40C774 #6FD596 #9FE3B9

Accessibility & contrast

On white

2.18
#40C774 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.64
#40C774 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C774
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C774#FFFFFF#000000##000000
##40C7741.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B76E
Deuteranopia (green-blind)
#B6AB7A
Tritanopia (blue-blind)
#00C4B3
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #40c774;
/* rgb */ color: rgb(64, 199, 116);
/* oklch */ color: oklch(73.7% 0.167 152.3);
Tailwind
colors: {
  custom: {
    50: '#85d99d',
    500: '#40c774',
    950: '#000000',
  },
}
SCSS
$custom: #40c774;
$custom-light: #85d99d;
$custom-dark: #000000;
JSON
{
  "hex": "#40c774",
  "rgb": {
    "r": 64,
    "g": 199,
    "b": 116
  },
  "hsl": {
    "h": 143.111,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.73729,
    "c": 0.16656,
    "h": 152.3
  },
  "luminance": 0.43198
}

Semantic roles & 50–950 ramp

primary
#40C774
secondary
#CF94B8
accent
#4AA5DE
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150E
muted
#7D837E

Preview Lab

Preview with #40C774

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

Preview Lab → · Contrast checker → · Palette generator →

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