#40C064#40C064

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

Color values

HEX#40C064
RGBrgb(64, 192, 100)
HSLhsl(137, 50%, 50%)
HSVhsv(137, 67%, 75%)
CMYKcmyk(66.7%, 0%, 47.9%, 24.7%)
CIE-LABlab(69.26, -54.74, 36.24)
CIE-LCHlch(69.26, 65.65, 146.49°)
OKLaboklab(71.65% -0.1476 0.0883)
OKLCHoklch(71.65% 0.172 149.1)
XYZxyz(23.2625, 39.7069, 18.4924)
Luminance0.3971 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C064 #C0409C
analogous
#5CC040 #40C064 #40C0A4
triadic
#40C064 #6440C0 #C06440
tetradic
#40C064 #405CC0 #C0409C #C0A440
square
#40C064 #405CC0 #C0409C #C0A440
split-complementary
#40C064 #A440C0 #C0405C
monochromatic
#216434 #30924C #40C064 #6ECF89 #9CDEAF

Accessibility & contrast

On white

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

On black

8.94
#40C064 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C064
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C064#FFFFFF#000000##000000
##40C0641.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2B05D
Deuteranopia (green-blind)
#B2A56A
Tritanopia (blue-blind)
#04BCAA
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #40c064;
/* rgb */ color: rgb(64, 192, 100);
/* oklch */ color: oklch(71.7% 0.172 149.1);
Tailwind
colors: {
  custom: {
    50: '#84d492',
    500: '#40c064',
    950: '#000000',
  },
}
SCSS
$custom: #40c064;
$custom-light: #84d492;
$custom-dark: #000000;
JSON
{
  "hex": "#40c064",
  "rgb": {
    "r": 64,
    "g": 192,
    "b": 100
  },
  "hsl": {
    "h": 136.875,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.71651,
    "c": 0.172,
    "h": 149.1
  },
  "luminance": 0.39709
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40C064

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

Preview Lab → · Contrast checker → · Palette generator →

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