#40B66C#40B66C

#40B66C is a light, vivid green. Relative luminance 0.356; OKLCH L 69.2% C 0.151 H 152.4°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#40B66C
RGBrgb(64, 182, 108)
HSLhsl(142, 48%, 48%)
HSVhsv(142, 65%, 71%)
CMYKcmyk(64.8%, 0%, 40.7%, 28.6%)
CIE-LABlab(66.23, -49.58, 28.23)
CIE-LCHlch(66.23, 57.06, 150.34°)
OKLaboklab(69.2% -0.1339 0.0701)
OKLCHoklch(69.2% 0.151 152.4)
XYZxyz(21.5473, 35.6264, 19.9255)
Luminance0.3563 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B66C #B6408A
analogous
#4FB640 #40B66C #40B6A7
triadic
#40B66C #6C40B6 #B66C40
tetradic
#40B66C #404FB6 #B6408A #B6A740
square
#40B66C #404FB6 #B6408A #B6A740
split-complementary
#40B66C #A740B6 #B6404F
monochromatic
#205B36 #308951 #40B66C #69CA8D #96DAB0

Accessibility & contrast

On white

2.58
#40B66C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#40B66C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B66C
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B66C#FFFFFF#000000##000000
##40B66C1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A767
Deuteranopia (green-blind)
#A79D71
Tritanopia (blue-blind)
#05B3A4
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #40b66c;
/* rgb */ color: rgb(64, 182, 108);
/* oklch */ color: oklch(69.2% 0.151 152.4);
Tailwind
colors: {
  custom: {
    50: '#82cd97',
    500: '#40b66c',
    950: '#000000',
  },
}
SCSS
$custom: #40b66c;
$custom-light: #82cd97;
$custom-dark: #000000;
JSON
{
  "hex": "#40b66c",
  "rgb": {
    "r": 64,
    "g": 182,
    "b": 108
  },
  "hsl": {
    "h": 142.373,
    "s": 47.967,
    "l": 48.235
  },
  "oklch": {
    "l": 0.69196,
    "c": 0.15118,
    "h": 152.4
  },
  "luminance": 0.35629
}

Semantic roles & 50–950 ramp

primary
#40B66C
secondary
#C68CB0
accent
#50A5D8
background
#F8FCF9
surface
#F0F9F2
border
#CBD2CC
text
#0C130D
muted
#7D827E

Preview Lab

Preview with #40B66C

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

Preview Lab → · Contrast checker → · Palette generator →

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