#40C063#40C063

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

Color values

HEX#40C063
RGBrgb(64, 192, 99)
HSLhsl(136, 50%, 50%)
HSVhsv(136, 67%, 75%)
CMYKcmyk(66.7%, 0%, 48.4%, 24.7%)
CIE-LABlab(69.25, -54.90, 36.73)
CIE-LCHlch(69.25, 66.05, 146.22°)
OKLaboklab(71.64% -0.148 0.0894)
OKLCHoklch(71.64% 0.173 148.9)
XYZxyz(23.2144, 39.6877, 18.2390)
Luminance0.3969 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C063 #C0409D
analogous
#5DC040 #40C063 #40C0A3
triadic
#40C063 #6340C0 #C06340
tetradic
#40C063 #405DC0 #C0409D #C0A340
square
#40C063 #405DC0 #C0409D #C0A340
split-complementary
#40C063 #A340C0 #C0405D
monochromatic
#216434 #30924B #40C063 #6ECF89 #9CDEAE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40C063#FFFFFF#000000##000000
##40C0631.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)
#C2B05B
Deuteranopia (green-blind)
#B2A56A
Tritanopia (blue-blind)
#05BCAA
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #40c063;
/* rgb */ color: rgb(64, 192, 99);
/* oklch */ color: oklch(71.6% 0.173 148.9);
Tailwind
colors: {
  custom: {
    50: '#84d491',
    500: '#40c063',
    950: '#000000',
  },
}
SCSS
$custom: #40c063;
$custom-light: #84d491;
$custom-dark: #000000;
JSON
{
  "hex": "#40c063",
  "rgb": {
    "r": 64,
    "g": 192,
    "b": 99
  },
  "hsl": {
    "h": 136.406,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.71635,
    "c": 0.17291,
    "h": 148.9
  },
  "luminance": 0.3969
}

Semantic roles & 50–950 ramp

primary
#40C063
secondary
#CB91BB
accent
#4EB4DA
background
#F8FDF9
surface
#F0FAF1
border
#CBD3CB
text
#0C140D
muted
#7D837E

Preview Lab

Preview with #40C063

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

Preview Lab → · Contrast checker → · Palette generator →

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