#40C568#40C568

#40C568 is a light, vivid green. Relative luminance 0.420; OKLCH L 73.0% C 0.175 H 149.6°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#40C568
RGBrgb(64, 197, 104)
HSLhsl(138, 53%, 51%)
HSVhsv(138, 68%, 77%)
CMYKcmyk(67.5%, 0%, 47.2%, 22.7%)
CIE-LABlab(70.88, -55.96, 36.28)
CIE-LCHlch(70.88, 66.69, 147.04°)
OKLaboklab(73.01% -0.1508 0.0886)
OKLCHoklch(73.01% 0.175 149.6)
XYZxyz(24.5774, 42.0193, 19.9093)
Luminance0.4202 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C568 #C5409D
analogous
#5AC540 #40C568 #40C5AA
triadic
#40C568 #6840C5 #C56840
tetradic
#40C568 #405AC5 #C5409D #C5AA40
square
#40C568 #405AC5 #C5409D #C5AA40
split-complementary
#40C568 #AA40C5 #C5405A
monochromatic
#206A37 #2F994F #40C568 #6FD38D #9EE2B2

Accessibility & contrast

On white

2.23
#40C568 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#40C568 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C568
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C568#FFFFFF#000000##000000
##40C5681.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B461
Deuteranopia (green-blind)
#B6A96F
Tritanopia (blue-blind)
#00C1AF
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #40c568;
/* rgb */ color: rgb(64, 197, 104);
/* oklch */ color: oklch(73.0% 0.175 149.6);
Tailwind
colors: {
  custom: {
    50: '#85d894',
    500: '#40c568',
    950: '#000000',
  },
}
SCSS
$custom: #40c568;
$custom-light: #85d894;
$custom-dark: #000000;
JSON
{
  "hex": "#40c568",
  "rgb": {
    "r": 64,
    "g": 197,
    "b": 104
  },
  "hsl": {
    "h": 138.045,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.73009,
    "c": 0.17491,
    "h": 149.6
  },
  "luminance": 0.42022
}

Semantic roles & 50–950 ramp

primary
#40C568
secondary
#CE93BC
accent
#4BB1DD
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C150D
muted
#7D837E

Preview Lab

Preview with #40C568

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

Preview Lab → · Contrast checker → · Palette generator →

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