#40C06F#40C06F

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

Color values

HEX#40C06F
RGBrgb(64, 192, 111)
HSLhsl(142, 50%, 50%)
HSVhsv(142, 67%, 75%)
CMYKcmyk(66.7%, 0%, 42.2%, 24.7%)
CIE-LABlab(69.42, -52.91, 30.84)
CIE-LCHlch(69.42, 61.25, 149.77°)
OKLaboklab(71.84% -0.1428 0.0763)
OKLCHoklch(71.84% 0.162 151.9)
XYZxyz(23.8313, 39.9344, 21.4880)
Luminance0.3994 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C06F #C04091
analogous
#51C040 #40C06F #40C0AF
triadic
#40C06F #6F40C0 #C06F40
tetradic
#40C06F #4051C0 #C04091 #C0AF40
square
#40C06F #4051C0 #C04091 #C0AF40
split-complementary
#40C06F #AF40C0 #C04051
monochromatic
#21643A #309254 #40C06F #6ECF92 #9CDEB4

Accessibility & contrast

On white

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

On black

8.99
#40C06F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C06F
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C06F#FFFFFF#000000##000000
##40C06F1.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0B069
Deuteranopia (green-blind)
#B0A574
Tritanopia (blue-blind)
#00BDAC
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #40c06f;
/* rgb */ color: rgb(64, 192, 111);
/* oklch */ color: oklch(71.8% 0.162 151.9);
Tailwind
colors: {
  custom: {
    50: '#84d499',
    500: '#40c06f',
    950: '#000000',
  },
}
SCSS
$custom: #40c06f;
$custom-light: #84d499;
$custom-dark: #000000;
JSON
{
  "hex": "#40c06f",
  "rgb": {
    "r": 64,
    "g": 192,
    "b": 111
  },
  "hsl": {
    "h": 142.031,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.71838,
    "c": 0.16188,
    "h": 151.9
  },
  "luminance": 0.39937
}

Semantic roles & 50–950 ramp

primary
#40C06F
secondary
#CB91B5
accent
#4EA6DA
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140E
muted
#7D837E

Preview Lab

Preview with #40C06F

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

Preview Lab → · Contrast checker → · Palette generator →

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