#40C366#40C366

#40C366 is a light, vivid green. Relative luminance 0.411; OKLCH L 72.5% C 0.174 H 149.3°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#40C366
RGBrgb(64, 195, 102)
HSLhsl(137, 52%, 51%)
HSVhsv(137, 67%, 76%)
CMYKcmyk(67.2%, 0%, 47.7%, 23.5%)
CIE-LABlab(70.23, -55.54, 36.46)
CIE-LCHlch(70.23, 66.44, 146.71°)
OKLaboklab(72.46% -0.1497 0.0889)
OKLCHoklch(72.46% 0.174 149.3)
XYZxyz(24.0259, 41.0769, 19.2303)
Luminance0.4108 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C366 #C3409D
analogous
#5BC340 #40C366 #40C3A8
triadic
#40C366 #6640C3 #C36640
tetradic
#40C366 #405BC3 #C3409D #C3A840
square
#40C366 #405BC3 #C3409D #C3A840
split-complementary
#40C366 #A840C3 #C3405B
monochromatic
#216835 #2F974D #40C366 #6FD28B #9DE0B1

Accessibility & contrast

On white

2.28
#40C366 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#40C366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C366
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C366#FFFFFF#000000##000000
##40C3661.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B35F
Deuteranopia (green-blind)
#B4A76D
Tritanopia (blue-blind)
#00BFAD
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #40c366;
/* rgb */ color: rgb(64, 195, 102);
/* oklch */ color: oklch(72.5% 0.174 149.3);
Tailwind
colors: {
  custom: {
    50: '#84d693',
    500: '#40c366',
    950: '#000000',
  },
}
SCSS
$custom: #40c366;
$custom-light: #84d693;
$custom-dark: #000000;
JSON
{
  "hex": "#40c366",
  "rgb": {
    "r": 64,
    "g": 195,
    "b": 102
  },
  "hsl": {
    "h": 137.405,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.7246,
    "c": 0.17411,
    "h": 149.3
  },
  "luminance": 0.4108
}

Semantic roles & 50–950 ramp

primary
#40C366
secondary
#CC92BC
accent
#4CB2DC
background
#F8FDF9
surface
#F0FAF1
border
#CBD3CB
text
#0C140D
muted
#7D837E

Preview Lab

Preview with #40C366

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

Preview Lab → · Contrast checker → · Palette generator →

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