#40C06C#40C06C

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

Color values

HEX#40C06C
RGBrgb(64, 192, 108)
HSLhsl(141, 50%, 50%)
HSVhsv(141, 67%, 75%)
CMYKcmyk(66.7%, 0%, 43.7%, 24.7%)
CIE-LABlab(69.38, -53.43, 32.33)
CIE-LCHlch(69.38, 62.45, 148.83°)
OKLaboklab(71.78% -0.1441 0.0797)
OKLCHoklch(71.78% 0.165 151.1)
XYZxyz(23.6689, 39.8695, 20.6327)
Luminance0.3987 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C06C #C04094
analogous
#54C040 #40C06C #40C0AC
triadic
#40C06C #6C40C0 #C06C40
tetradic
#40C06C #4054C0 #C04094 #C0AC40
square
#40C06C #4054C0 #C04094 #C0AC40
split-complementary
#40C06C #AC40C0 #C04054
monochromatic
#216438 #309252 #40C06C #6ECF8F #9CDEB3

Accessibility & contrast

On white

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

On black

8.97
#40C06C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C06C
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C06C#FFFFFF#000000##000000
##40C06C1.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40c06c;
/* rgb */ color: rgb(64, 192, 108);
/* oklch */ color: oklch(71.8% 0.165 151.1);
Tailwind
colors: {
  custom: {
    50: '#84d497',
    500: '#40c06c',
    950: '#000000',
  },
}
SCSS
$custom: #40c06c;
$custom-light: #84d497;
$custom-dark: #000000;
JSON
{
  "hex": "#40c06c",
  "rgb": {
    "r": 64,
    "g": 192,
    "b": 108
  },
  "hsl": {
    "h": 140.625,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.71784,
    "c": 0.16466,
    "h": 151.1
  },
  "luminance": 0.39872
}

Semantic roles & 50–950 ramp

primary
#40C06C
secondary
#CB91B7
accent
#4EAADA
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140D
muted
#7D837E

Preview Lab

Preview with #40C06C

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

Preview Lab → · Contrast checker → · Palette generator →

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