#40C864#40C864

#40C864 is a light, vivid green. Relative luminance 0.433; OKLCH L 73.7% C 0.182 H 148.4°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#40C864
RGBrgb(64, 200, 100)
HSLhsl(136, 55%, 52%)
HSVhsv(136, 68%, 78%)
CMYKcmyk(68%, 0%, 50%, 21.6%)
CIE-LABlab(71.77, -57.67, 39.38)
CIE-LCHlch(71.77, 69.83, 145.67°)
OKLaboklab(73.72% -0.1554 0.0954)
OKLCHoklch(73.72% 0.182 148.4)
XYZxyz(25.0670, 43.3159, 19.0939)
Luminance0.4332 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C864 #C840A4
analogous
#60C840 #40C864 #40C8A8
triadic
#40C864 #6440C8 #C86440
tetradic
#40C864 #4060C8 #C840A4 #C8A840
square
#40C864 #4060C8 #C840A4 #C8A840
split-complementary
#40C864 #A840C8 #C84060
monochromatic
#206E34 #2D9D4B #40C864 #70D68B #9FE3B1

Accessibility & contrast

On white

2.17
#40C864 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.66
#40C864 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C864
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C864#FFFFFF#000000##000000
##40C8641.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB75C
Deuteranopia (green-blind)
#B9AB6B
Tritanopia (blue-blind)
#00C4B1
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #40c864;
/* rgb */ color: rgb(64, 200, 100);
/* oklch */ color: oklch(73.7% 0.182 148.4);
Tailwind
colors: {
  custom: {
    50: '#85da92',
    500: '#40c864',
    950: '#000000',
  },
}
SCSS
$custom: #40c864;
$custom-light: #85da92;
$custom-dark: #000000;
JSON
{
  "hex": "#40c864",
  "rgb": {
    "r": 64,
    "g": 200,
    "b": 100
  },
  "hsl": {
    "h": 135.882,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.73721,
    "c": 0.18236,
    "h": 148.4
  },
  "luminance": 0.43319
}

Semantic roles & 50–950 ramp

primary
#40C864
secondary
#D094C0
accent
#49B7DF
background
#F8FDF9
surface
#F0FBF1
border
#CBD4CB
text
#0C150D
muted
#7D837E

Preview Lab

Preview with #40C864

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

Preview Lab → · Contrast checker → · Palette generator →

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