#40C564#40C564

#40C564 is a light, vivid green. Relative luminance 0.419; OKLCH L 72.9% C 0.178 H 148.7°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#40C564
RGBrgb(64, 197, 100)
HSLhsl(136, 53%, 51%)
HSVhsv(136, 68%, 77%)
CMYKcmyk(67.5%, 0%, 49.2%, 22.7%)
CIE-LABlab(70.83, -56.58, 38.21)
CIE-LCHlch(70.83, 68.27, 145.97°)
OKLaboklab(72.95% -0.1525 0.0928)
OKLCHoklch(72.95% 0.179 148.7)
XYZxyz(24.3790, 41.9400, 18.8645)
Luminance0.4194 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C564 #C540A1
analogous
#5EC540 #40C564 #40C5A7
triadic
#40C564 #6440C5 #C56440
tetradic
#40C564 #405EC5 #C540A1 #C5A740
square
#40C564 #405EC5 #C540A1 #C5A740
split-complementary
#40C564 #A740C5 #C5405E
monochromatic
#206A34 #2F994B #40C564 #6FD38A #9EE2B0

Accessibility & contrast

On white

2.24
#40C564 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.39
#40C564 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C564
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C564#FFFFFF#000000##000000
##40C5641.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B45C
Deuteranopia (green-blind)
#B6A96B
Tritanopia (blue-blind)
#00C1AE
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #40c564;
/* rgb */ color: rgb(64, 197, 100);
/* oklch */ color: oklch(72.9% 0.178 148.7);
Tailwind
colors: {
  custom: {
    50: '#85d892',
    500: '#40c564',
    950: '#000000',
  },
}
SCSS
$custom: #40c564;
$custom-light: #85d892;
$custom-dark: #000000;
JSON
{
  "hex": "#40c564",
  "rgb": {
    "r": 64,
    "g": 197,
    "b": 100
  },
  "hsl": {
    "h": 136.241,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.72946,
    "c": 0.1785,
    "h": 148.7
  },
  "luminance": 0.41943
}

Semantic roles & 50–950 ramp

primary
#40C564
secondary
#CE93BE
accent
#4BB5DD
background
#F8FDF9
surface
#F0FAF1
border
#CBD3CB
text
#0C150D
muted
#7D837E

Preview Lab

Preview with #40C564

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

Preview Lab → · Contrast checker → · Palette generator →

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