#40D06C#40D06C

#40D06C is a light, vivid green. Relative luminance 0.473; OKLCH L 75.9% C 0.185 H 149.5°. Best body text is #000000 at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#40D06C
RGBrgb(64, 208, 108)
HSLhsl(138, 61%, 53%)
HSVhsv(138, 69%, 82%)
CMYKcmyk(69.2%, 0%, 48.1%, 18.4%)
CIE-LABlab(74.37, -59.33, 38.69)
CIE-LCHlch(74.37, 70.82, 146.89°)
OKLaboklab(75.9% -0.1598 0.0942)
OKLCHoklch(75.9% 0.185 149.5)
XYZxyz(27.3748, 47.2814, 21.8680)
Luminance0.4728 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D06C #D040A4
analogous
#5CD040 #40D06C #40D0B4
triadic
#40D06C #6C40D0 #D06C40
tetradic
#40D06C #405CD0 #D040A4 #D0B440
square
#40D06C #405CD0 #D040A4 #D0B440
split-complementary
#40D06C #B440D0 #D0405C
monochromatic
#1E7839 #2AA951 #40D06C #71DC92 #A2E8B8

Accessibility & contrast

On white

2.01
#40D06C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.46
#40D06C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D06C
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D06C#FFFFFF#000000##000000
##40D06C1.002.0110.4610.46
#FFFFFF2.011.0021.0021.00
#00000010.4621.001.001.00
##00000010.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BE64
Deuteranopia (green-blind)
#C0B273
Tritanopia (blue-blind)
#00CCB8
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #40d06c;
/* rgb */ color: rgb(64, 208, 108);
/* oklch */ color: oklch(75.9% 0.185 149.5);
Tailwind
colors: {
  custom: {
    50: '#87df98',
    500: '#40d06c',
    950: '#000000',
  },
}
SCSS
$custom: #40d06c;
$custom-light: #87df98;
$custom-dark: #000000;
JSON
{
  "hex": "#40d06c",
  "rgb": {
    "r": 64,
    "g": 208,
    "b": 108
  },
  "hsl": {
    "h": 138.333,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.75904,
    "c": 0.18548,
    "h": 149.5
  },
  "luminance": 0.47284
}

Semantic roles & 50–950 ramp

primary
#40D06C
secondary
#D597C2
accent
#44B3E4
background
#F9FDF9
surface
#F1FBF2
border
#CBD4CC
text
#0D150E
muted
#7E837E

Preview Lab

Preview with #40D06C

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

Preview Lab → · Contrast checker → · Palette generator →

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