#40C880#40C880

#40C880 is a light, vivid green. Relative luminance 0.440; OKLCH L 74.2% C 0.157 H 155.8°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#40C880
RGBrgb(64, 200, 128)
HSLhsl(148, 55%, 52%)
HSVhsv(148, 68%, 78%)
CMYKcmyk(68%, 0%, 36%, 21.6%)
CIE-LABlab(72.20, -52.85, 25.65)
CIE-LCHlch(72.20, 58.75, 154.11°)
OKLaboklab(74.22% -0.1431 0.0644)
OKLCHoklch(74.22% 0.157 155.8)
XYZxyz(26.6625, 43.9541, 27.4967)
Luminance0.4396 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C880 #C84088
analogous
#44C840 #40C880 #40C8C4
triadic
#40C880 #8040C8 #C88040
tetradic
#40C880 #4044C8 #C84088 #C8C440
square
#40C880 #4044C8 #C84088 #C8C440
split-complementary
#40C880 #C440C8 #C84044
monochromatic
#206E44 #2D9D62 #40C880 #70D6A0 #9FE3BF

Accessibility & contrast

On white

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

On black

9.79
#40C880 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C880
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C880#FFFFFF#000000##000000
##40C8801.002.149.799.79
#FFFFFF2.141.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B87B
Deuteranopia (green-blind)
#B6AC85
Tritanopia (blue-blind)
#00C6B6
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #40c880;
/* rgb */ color: rgb(64, 200, 128);
/* oklch */ color: oklch(74.2% 0.157 155.8);
Tailwind
colors: {
  custom: {
    50: '#85daa5',
    500: '#40c880',
    950: '#000000',
  },
}
SCSS
$custom: #40c880;
$custom-light: #85daa5;
$custom-dark: #000000;
JSON
{
  "hex": "#40c880",
  "rgb": {
    "r": 64,
    "g": 200,
    "b": 128
  },
  "hsl": {
    "h": 148.235,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.74215,
    "c": 0.1569,
    "h": 155.8
  },
  "luminance": 0.43957
}

Semantic roles & 50–950 ramp

primary
#40C880
secondary
#D094B4
accent
#4998DF
background
#F8FDFA
surface
#F0FBF4
border
#CBD4CE
text
#0C150F
muted
#7D837F

Preview Lab

Preview with #40C880

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

Preview Lab → · Contrast checker → · Palette generator →

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