#40C882#40C882

#40C882 is a light, vivid green. Relative luminance 0.440; OKLCH L 74.3% C 0.155 H 156.4°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#40C882
RGBrgb(64, 200, 130)
HSLhsl(149, 55%, 52%)
HSVhsv(149, 68%, 78%)
CMYKcmyk(68%, 0%, 35%, 21.6%)
CIE-LABlab(72.23, -52.46, 24.65)
CIE-LCHlch(72.23, 57.97, 154.84°)
OKLaboklab(74.26% -0.1422 0.062)
OKLCHoklch(74.26% 0.155 156.4)
XYZxyz(26.7954, 44.0073, 28.1969)
Luminance0.4401 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C882 #C84086
analogous
#42C840 #40C882 #40C8C6
triadic
#40C882 #8240C8 #C88240
tetradic
#40C882 #4042C8 #C84086 #C8C640
square
#40C882 #4042C8 #C84086 #C8C640
split-complementary
#40C882 #C640C8 #C84042
monochromatic
#206E46 #2D9D64 #40C882 #70D6A1 #9FE3C0

Accessibility & contrast

On white

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

On black

9.80
#40C882 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C882
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C882#FFFFFF#000000##000000
##40C8821.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40c882;
/* rgb */ color: rgb(64, 200, 130);
/* oklch */ color: oklch(74.3% 0.155 156.4);
Tailwind
colors: {
  custom: {
    50: '#85daa6',
    500: '#40c882',
    950: '#000000',
  },
}
SCSS
$custom: #40c882;
$custom-light: #85daa6;
$custom-dark: #000000;
JSON
{
  "hex": "#40c882",
  "rgb": {
    "r": 64,
    "g": 200,
    "b": 130
  },
  "hsl": {
    "h": 149.118,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.74256,
    "c": 0.15509,
    "h": 156.4
  },
  "luminance": 0.4401
}

Semantic roles & 50–950 ramp

primary
#40C882
secondary
#D094B3
accent
#4996DF
background
#F8FDFA
surface
#F0FBF4
border
#CBD4CE
text
#0C150F
muted
#7D837F

Preview Lab

Preview with #40C882

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

Preview Lab → · Contrast checker → · Palette generator →

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