#40C865#40C865

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

Color values

HEX#40C865
RGBrgb(64, 200, 101)
HSLhsl(136, 55%, 52%)
HSVhsv(136, 68%, 78%)
CMYKcmyk(68%, 0%, 49.5%, 21.6%)
CIE-LABlab(71.78, -57.52, 38.90)
CIE-LCHlch(71.78, 69.44, 145.93°)
OKLaboklab(73.74% -0.155 0.0944)
OKLCHoklch(73.74% 0.181 148.7)
XYZxyz(25.1157, 43.3354, 19.3503)
Luminance0.4334 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C865 #C840A3
analogous
#5FC840 #40C865 #40C8A9
triadic
#40C865 #6540C8 #C86540
tetradic
#40C865 #405FC8 #C840A3 #C8A940
square
#40C865 #405FC8 #C840A3 #C8A940
split-complementary
#40C865 #A940C8 #C8405F
monochromatic
#206E35 #2D9D4C #40C865 #70D68B #9FE3B2

Accessibility & contrast

On white

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

On black

9.67
#40C865 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C865
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C865#FFFFFF#000000##000000
##40C8651.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40c865;
/* rgb */ color: rgb(64, 200, 101);
/* oklch */ color: oklch(73.7% 0.181 148.7);
Tailwind
colors: {
  custom: {
    50: '#85da93',
    500: '#40c865',
    950: '#000000',
  },
}
SCSS
$custom: #40c865;
$custom-light: #85da93;
$custom-dark: #000000;
JSON
{
  "hex": "#40c865",
  "rgb": {
    "r": 64,
    "g": 200,
    "b": 101
  },
  "hsl": {
    "h": 136.324,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.73736,
    "c": 0.18148,
    "h": 148.7
  },
  "luminance": 0.43338
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40C865

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

Preview Lab → · Contrast checker → · Palette generator →

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