#40C982#40C982

#40C982 is a light, vivid green. Relative luminance 0.445; OKLCH L 74.5% C 0.156 H 156.3°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#40C982
RGBrgb(64, 201, 130)
HSLhsl(149, 56%, 52%)
HSVhsv(149, 68%, 79%)
CMYKcmyk(68.2%, 0%, 35.3%, 21.2%)
CIE-LABlab(72.54, -52.85, 25.06)
CIE-LCHlch(72.54, 58.49, 154.63°)
OKLaboklab(74.51% -0.1432 0.063)
OKLCHoklch(74.51% 0.156 156.3)
XYZxyz(27.0278, 44.4720, 28.2743)
Luminance0.4447 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C982 #C94087
analogous
#43C940 #40C982 #40C9C6
triadic
#40C982 #8240C9 #C98240
tetradic
#40C982 #4043C9 #C94087 #C9C640
square
#40C982 #4043C9 #C94087 #C9C640
split-complementary
#40C982 #C640C9 #C94043
monochromatic
#1F6F46 #2D9F64 #40C982 #70D6A1 #9FE4C0

Accessibility & contrast

On white

2.12
#40C982 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.90
#40C982 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C982
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C982#FFFFFF#000000##000000
##40C9821.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B97D
Deuteranopia (green-blind)
#B6AD87
Tritanopia (blue-blind)
#00C7B7
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #40c982;
/* rgb */ color: rgb(64, 201, 130);
/* oklch */ color: oklch(74.5% 0.156 156.3);
Tailwind
colors: {
  custom: {
    50: '#85daa6',
    500: '#40c982',
    950: '#000000',
  },
}
SCSS
$custom: #40c982;
$custom-light: #85daa6;
$custom-dark: #000000;
JSON
{
  "hex": "#40c982",
  "rgb": {
    "r": 64,
    "g": 201,
    "b": 130
  },
  "hsl": {
    "h": 148.905,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.74511,
    "c": 0.15641,
    "h": 156.3
  },
  "luminance": 0.44475
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40C982

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

Preview Lab → · Contrast checker → · Palette generator →

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