#40C775#40C775

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

Color values

HEX#40C775
RGBrgb(64, 199, 117)
HSLhsl(144, 55%, 52%)
HSVhsv(144, 68%, 78%)
CMYKcmyk(67.8%, 0%, 41.2%, 22%)
CIE-LABlab(71.70, -54.51, 30.72)
CIE-LCHlch(71.70, 62.57, 150.60°)
OKLaboklab(73.75% -0.1471 0.0762)
OKLCHoklch(73.75% 0.166 152.6)
XYZxyz(25.7465, 43.2184, 23.8113)
Luminance0.4322 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C775 #C74092
analogous
#4FC740 #40C775 #40C7B9
triadic
#40C775 #7540C7 #C77540
tetradic
#40C775 #404FC7 #C74092 #C7B940
square
#40C775 #404FC7 #C74092 #C7B940
split-complementary
#40C775 #B940C7 #C7404F
monochromatic
#206D3E #2E9C59 #40C775 #6FD597 #9FE3B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40C775#FFFFFF#000000##000000
##40C7751.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)
#C7B76F
Deuteranopia (green-blind)
#B6AB7A
Tritanopia (blue-blind)
#00C4B3
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #40c775;
/* rgb */ color: rgb(64, 199, 117);
/* oklch */ color: oklch(73.7% 0.166 152.6);
Tailwind
colors: {
  custom: {
    50: '#85d99d',
    500: '#40c775',
    950: '#000000',
  },
}
SCSS
$custom: #40c775;
$custom-light: #85d99d;
$custom-dark: #000000;
JSON
{
  "hex": "#40c775",
  "rgb": {
    "r": 64,
    "g": 199,
    "b": 117
  },
  "hsl": {
    "h": 143.556,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.73747,
    "c": 0.16564,
    "h": 152.6
  },
  "luminance": 0.43221
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40C775

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

Preview Lab → · Contrast checker → · Palette generator →

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