#40C950#40C950

#40C950 is a light, highly saturated green. Relative luminance 0.434; OKLCH L 73.7% C 0.200 H 145.0°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#40C950
RGBrgb(64, 201, 80)
HSLhsl(127, 56%, 52%)
HSVhsv(127, 68%, 79%)
CMYKcmyk(68.2%, 0%, 60.2%, 21.2%)
CIE-LABlab(71.85, -60.69, 48.91)
CIE-LCHlch(71.85, 77.95, 141.14°)
OKLaboklab(73.72% -0.1641 0.115)
OKLCHoklch(73.72% 0.2 145)
XYZxyz(24.4474, 43.4398, 14.6842)
Luminance0.4344 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C950 #C940B9
analogous
#75C940 #40C950 #40C994
triadic
#40C950 #5040C9 #C95040
tetradic
#40C950 #4075C9 #C940B9 #C99440
square
#40C950 #4075C9 #C940B9 #C99440
split-complementary
#40C950 #9440C9 #C94075
monochromatic
#1F6F29 #2D9F3A #40C950 #70D67C #9FE4A7

Accessibility & contrast

On white

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

On black

9.69
#40C950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C950
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C950#FFFFFF#000000##000000
##40C9501.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB743
Deuteranopia (green-blind)
#BCAC5A
Tritanopia (blue-blind)
#10C4AF
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #40c950;
/* rgb */ color: rgb(64, 201, 80);
/* oklch */ color: oklch(73.7% 0.200 145.0);
Tailwind
colors: {
  custom: {
    50: '#86db85',
    500: '#40c950',
    950: '#000000',
  },
}
SCSS
$custom: #40c950;
$custom-light: #86db85;
$custom-dark: #000000;
JSON
{
  "hex": "#40c950",
  "rgb": {
    "r": 64,
    "g": 201,
    "b": 80
  },
  "hsl": {
    "h": 127.007,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.73716,
    "c": 0.20038,
    "h": 145
  },
  "luminance": 0.43442
}

Semantic roles & 50–950 ramp

primary
#40C950
secondary
#D094C9
accent
#49CEDF
background
#F8FDF8
surface
#F0FBEF
border
#CBD4CA
text
#0D150B
muted
#7D837C

Preview Lab

Preview with #40C950

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

Preview Lab → · Contrast checker → · Palette generator →

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