#40C06A#40C06A

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

Color values

HEX#40C06A
RGBrgb(64, 192, 106)
HSLhsl(140, 50%, 50%)
HSVhsv(140, 67%, 75%)
CMYKcmyk(66.7%, 0%, 44.8%, 24.7%)
CIE-LABlab(69.35, -53.77, 33.31)
CIE-LCHlch(69.35, 63.25, 148.22°)
OKLaboklab(71.75% -0.145 0.0819)
OKLCHoklch(71.75% 0.167 150.5)
XYZxyz(23.5636, 39.8274, 20.0785)
Luminance0.3983 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C06A #C04096
analogous
#56C040 #40C06A #40C0AA
triadic
#40C06A #6A40C0 #C06A40
tetradic
#40C06A #4056C0 #C04096 #C0AA40
square
#40C06A #4056C0 #C04096 #C0AA40
split-complementary
#40C06A #AA40C0 #C04056
monochromatic
#216437 #309251 #40C06A #6ECF8E #9CDEB2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40C06A#FFFFFF#000000##000000
##40C06A1.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)
#C1B063
Deuteranopia (green-blind)
#B1A570
Tritanopia (blue-blind)
#00BDAB
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #40c06a;
/* rgb */ color: rgb(64, 192, 106);
/* oklch */ color: oklch(71.8% 0.167 150.5);
Tailwind
colors: {
  custom: {
    50: '#84d496',
    500: '#40c06a',
    950: '#000000',
  },
}
SCSS
$custom: #40c06a;
$custom-light: #84d496;
$custom-dark: #000000;
JSON
{
  "hex": "#40c06a",
  "rgb": {
    "r": 64,
    "g": 192,
    "b": 106
  },
  "hsl": {
    "h": 139.688,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.7175,
    "c": 0.1665,
    "h": 150.5
  },
  "luminance": 0.3983
}

Semantic roles & 50–950 ramp

primary
#40C06A
secondary
#CB91B8
accent
#4EACDA
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140D
muted
#7D837E

Preview Lab

Preview with #40C06A

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

Preview Lab → · Contrast checker → · Palette generator →

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