#40C755#40C755

#40C755 is a light, vivid green. Relative luminance 0.426; OKLCH L 73.3% C 0.194 H 145.8°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#40C755
RGBrgb(64, 199, 85)
HSLhsl(129, 55%, 52%)
HSVhsv(129, 68%, 78%)
CMYKcmyk(67.8%, 0%, 57.3%, 22%)
CIE-LABlab(71.28, -59.39, 45.96)
CIE-LCHlch(71.28, 75.10, 142.27°)
OKLaboklab(73.26% -0.1604 0.109)
OKLCHoklch(73.26% 0.194 145.8)
XYZxyz(24.1758, 42.5901, 15.5392)
Luminance0.4259 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C755 #C740B2
analogous
#6FC740 #40C755 #40C799
triadic
#40C755 #5540C7 #C75540
tetradic
#40C755 #406FC7 #C740B2 #C79940
square
#40C755 #406FC7 #C740B2 #C79940
split-complementary
#40C755 #9940C7 #C7406F
monochromatic
#206D2C #2E9C3F #40C755 #6FD57F #9FE3A9

Accessibility & contrast

On white

2.21
#40C755 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#40C755 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C755
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C755#FFFFFF#000000##000000
##40C7551.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB54A
Deuteranopia (green-blind)
#BAAA5E
Tritanopia (blue-blind)
#0EC2AE
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #40c755;
/* rgb */ color: rgb(64, 199, 85);
/* oklch */ color: oklch(73.3% 0.194 145.8);
Tailwind
colors: {
  custom: {
    50: '#86d988',
    500: '#40c755',
    950: '#000000',
  },
}
SCSS
$custom: #40c755;
$custom-light: #86d988;
$custom-dark: #000000;
JSON
{
  "hex": "#40c755",
  "rgb": {
    "r": 64,
    "g": 199,
    "b": 85
  },
  "hsl": {
    "h": 129.333,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.73256,
    "c": 0.19393,
    "h": 145.8
  },
  "luminance": 0.42593
}

Semantic roles & 50–950 ramp

primary
#40C755
secondary
#CF94C6
accent
#4AC7DE
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0C150C
muted
#7D837D

Preview Lab

Preview with #40C755

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

Preview Lab → · Contrast checker → · Palette generator →

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