#40C955#40C955

#40C955 is a light, vivid green. Relative luminance 0.435; OKLCH L 73.8% C 0.196 H 145.7°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#40C955
RGBrgb(64, 201, 85)
HSLhsl(129, 56%, 52%)
HSVhsv(129, 68%, 79%)
CMYKcmyk(68.2%, 0%, 57.7%, 21.2%)
CIE-LABlab(71.90, -60.09, 46.70)
CIE-LCHlch(71.90, 76.10, 142.15°)
OKLaboklab(73.78% -0.1623 0.1106)
OKLCHoklch(73.78% 0.196 145.7)
XYZxyz(24.6390, 43.5165, 15.6936)
Luminance0.4352 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C955 #C940B4
analogous
#70C940 #40C955 #40C99A
triadic
#40C955 #5540C9 #C95540
tetradic
#40C955 #4070C9 #C940B4 #C99A40
square
#40C955 #4070C9 #C940B4 #C99A40
split-complementary
#40C955 #9A40C9 #C94070
monochromatic
#1F6F2C #2D9F3E #40C955 #70D67F #9FE4AA

Accessibility & contrast

On white

2.16
#40C955 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.70
#40C955 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C955
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C955#FFFFFF#000000##000000
##40C9551.002.169.709.70
#FFFFFF2.161.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB749
Deuteranopia (green-blind)
#BCAC5E
Tritanopia (blue-blind)
#0BC4B0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #40c955;
/* rgb */ color: rgb(64, 201, 85);
/* oklch */ color: oklch(73.8% 0.196 145.7);
Tailwind
colors: {
  custom: {
    50: '#86db88',
    500: '#40c955',
    950: '#000000',
  },
}
SCSS
$custom: #40c955;
$custom-light: #86db88;
$custom-dark: #000000;
JSON
{
  "hex": "#40c955",
  "rgb": {
    "r": 64,
    "g": 201,
    "b": 85
  },
  "hsl": {
    "h": 129.197,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.73775,
    "c": 0.19639,
    "h": 145.7
  },
  "luminance": 0.43519
}

Semantic roles & 50–950 ramp

primary
#40C955
secondary
#D094C7
accent
#49C8DF
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0D150C
muted
#7D837D

Preview Lab

Preview with #40C955

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

Preview Lab → · Contrast checker → · Palette generator →

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