#40C06E#40C06E

#40C06E is a light, vivid green. Relative luminance 0.399; OKLCH L 71.8% C 0.163 H 151.6°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#40C06E
RGBrgb(64, 192, 110)
HSLhsl(142, 50%, 50%)
HSVhsv(142, 67%, 75%)
CMYKcmyk(66.7%, 0%, 42.7%, 24.7%)
CIE-LABlab(69.41, -53.09, 31.34)
CIE-LCHlch(69.41, 61.65, 149.45°)
OKLaboklab(71.82% -0.1432 0.0774)
OKLCHoklch(71.82% 0.163 151.6)
XYZxyz(23.7765, 39.9125, 21.1997)
Luminance0.3992 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C06E #C04092
analogous
#52C040 #40C06E #40C0AE
triadic
#40C06E #6E40C0 #C06E40
tetradic
#40C06E #4052C0 #C04092 #C0AE40
square
#40C06E #4052C0 #C04092 #C0AE40
split-complementary
#40C06E #AE40C0 #C04052
monochromatic
#216439 #309254 #40C06E #6ECF91 #9CDEB4

Accessibility & contrast

On white

2.34
#40C06E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#40C06E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C06E
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C06E#FFFFFF#000000##000000
##40C06E1.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1B068
Deuteranopia (green-blind)
#B1A574
Tritanopia (blue-blind)
#00BDAC
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #40c06e;
/* rgb */ color: rgb(64, 192, 110);
/* oklch */ color: oklch(71.8% 0.163 151.6);
Tailwind
colors: {
  custom: {
    50: '#84d498',
    500: '#40c06e',
    950: '#000000',
  },
}
SCSS
$custom: #40c06e;
$custom-light: #84d498;
$custom-dark: #000000;
JSON
{
  "hex": "#40c06e",
  "rgb": {
    "r": 64,
    "g": 192,
    "b": 110
  },
  "hsl": {
    "h": 141.563,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.7182,
    "c": 0.1628,
    "h": 151.6
  },
  "luminance": 0.39915
}

Semantic roles & 50–950 ramp

primary
#40C06E
secondary
#CB91B6
accent
#4EA8DA
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140E
muted
#7D837E

Preview Lab

Preview with #40C06E

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

Preview Lab → · Contrast checker → · Palette generator →

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