#40C065#40C065

#40C065 is a light, vivid green. Relative luminance 0.397; OKLCH L 71.7% C 0.171 H 149.3°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#40C065
RGBrgb(64, 192, 101)
HSLhsl(137, 50%, 50%)
HSVhsv(137, 67%, 75%)
CMYKcmyk(66.7%, 0%, 47.4%, 24.7%)
CIE-LABlab(69.27, -54.58, 35.76)
CIE-LCHlch(69.27, 65.25, 146.77°)
OKLaboklab(71.67% -0.1471 0.0873)
OKLCHoklch(71.67% 0.171 149.3)
XYZxyz(23.3112, 39.7264, 18.7488)
Luminance0.3973 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C065 #C0409B
analogous
#5BC040 #40C065 #40C0A5
triadic
#40C065 #6540C0 #C06540
tetradic
#40C065 #405BC0 #C0409B #C0A540
square
#40C065 #405BC0 #C0409B #C0A540
split-complementary
#40C065 #A540C0 #C0405B
monochromatic
#216435 #30924D #40C065 #6ECF8A #9CDEAF

Accessibility & contrast

On white

2.35
#40C065 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#40C065 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C065
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C065#FFFFFF#000000##000000
##40C0651.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1B05E
Deuteranopia (green-blind)
#B2A56B
Tritanopia (blue-blind)
#02BCAA
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #40c065;
/* rgb */ color: rgb(64, 192, 101);
/* oklch */ color: oklch(71.7% 0.171 149.3);
Tailwind
colors: {
  custom: {
    50: '#84d492',
    500: '#40c065',
    950: '#000000',
  },
}
SCSS
$custom: #40c065;
$custom-light: #84d492;
$custom-dark: #000000;
JSON
{
  "hex": "#40c065",
  "rgb": {
    "r": 64,
    "g": 192,
    "b": 101
  },
  "hsl": {
    "h": 137.344,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.71667,
    "c": 0.17109,
    "h": 149.3
  },
  "luminance": 0.39729
}

Semantic roles & 50–950 ramp

primary
#40C065
secondary
#CB91BA
accent
#4EB1DA
background
#F8FDF9
surface
#F0FAF1
border
#CBD3CB
text
#0C140D
muted
#7D837E

Preview Lab

Preview with #40C065

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

Preview Lab → · Contrast checker → · Palette generator →

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