#40C165#40C165

#40C165 is a light, vivid green. Relative luminance 0.402; OKLCH L 71.9% C 0.172 H 149.2°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#40C165
RGBrgb(64, 193, 101)
HSLhsl(137, 51%, 50%)
HSVhsv(137, 67%, 76%)
CMYKcmyk(66.8%, 0%, 47.7%, 24.3%)
CIE-LABlab(69.59, -54.96, 36.15)
CIE-LCHlch(69.59, 65.78, 146.66°)
OKLaboklab(71.93% -0.1481 0.0882)
OKLCHoklch(71.93% 0.172 149.2)
XYZxyz(23.5315, 40.1670, 18.8223)
Luminance0.4017 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C165 #C1409C
analogous
#5CC140 #40C165 #40C1A5
triadic
#40C165 #6540C1 #C16540
tetradic
#40C165 #405CC1 #C1409C #C1A540
square
#40C165 #405CC1 #C1409C #C1A540
split-complementary
#40C165 #A540C1 #C1405C
monochromatic
#216635 #30944D #40C165 #6ED08A #9CDFB0

Accessibility & contrast

On white

2.32
#40C165 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#40C165 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C165
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C165#FFFFFF#000000##000000
##40C1651.002.329.039.03
#FFFFFF2.321.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2B15E
Deuteranopia (green-blind)
#B3A66B
Tritanopia (blue-blind)
#01BDAB
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #40c165;
/* rgb */ color: rgb(64, 193, 101);
/* oklch */ color: oklch(71.9% 0.172 149.2);
Tailwind
colors: {
  custom: {
    50: '#84d592',
    500: '#40c165',
    950: '#000000',
  },
}
SCSS
$custom: #40c165;
$custom-light: #84d592;
$custom-dark: #000000;
JSON
{
  "hex": "#40c165",
  "rgb": {
    "r": 64,
    "g": 193,
    "b": 101
  },
  "hsl": {
    "h": 137.209,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.71926,
    "c": 0.1724,
    "h": 149.2
  },
  "luminance": 0.4017
}

Semantic roles & 50–950 ramp

primary
#40C165
secondary
#CB92BB
accent
#4DB2DA
background
#F8FDF9
surface
#F0FAF1
border
#CBD3CB
text
#0C140D
muted
#7D837E

Preview Lab

Preview with #40C165

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

Preview Lab → · Contrast checker → · Palette generator →

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