#40C939#40C939

#40C939 is a light, highly saturated green. Relative luminance 0.432; OKLCH L 73.5% C 0.216 H 142.4°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#40C939
RGBrgb(64, 201, 57)
HSLhsl(117, 57%, 51%)
HSVhsv(117, 72%, 79%)
CMYKcmyk(68.2%, 0%, 71.6%, 21.2%)
CIE-LABlab(71.66, -62.97, 58.14)
CIE-LCHlch(71.66, 85.70, 137.29°)
OKLaboklab(73.5% -0.1713 0.1321)
OKLCHoklch(73.5% 0.216 142.4)
XYZxyz(23.7382, 43.1562, 10.9491)
Luminance0.4316 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C939 #C239C9
analogous
#88C939 #40C939 #39C97A
triadic
#40C939 #3940C9 #C93940
tetradic
#40C939 #3988C9 #C239C9 #C97A39
square
#40C939 #3988C9 #C239C9 #C97A39
split-complementary
#40C939 #7A39C9 #C93988
monochromatic
#216B1D #309B2A #40C939 #6ED669 #9DE399

Accessibility & contrast

On white

2.18
#40C939 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.63
#40C939 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C939
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C939#FFFFFF#000000##000000
##40C9391.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB620
Deuteranopia (green-blind)
#BEAB48
Tritanopia (blue-blind)
#1DC3AD
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #40c939;
/* rgb */ color: rgb(64, 201, 57);
/* oklch */ color: oklch(73.5% 0.216 142.4);
Tailwind
colors: {
  custom: {
    50: '#87db78',
    500: '#40c939',
    950: '#000000',
  },
}
SCSS
$custom: #40c939;
$custom-light: #87db78;
$custom-dark: #000000;
JSON
{
  "hex": "#40c939",
  "rgb": {
    "r": 64,
    "g": 201,
    "b": 57
  },
  "hsl": {
    "h": 117.083,
    "s": 57.143,
    "l": 50.588
  },
  "oklch": {
    "l": 0.73495,
    "c": 0.2163,
    "h": 142.4
  },
  "luminance": 0.43159
}

Semantic roles & 50–950 ramp

primary
#40C939
secondary
#CC8FCF
accent
#47E0D9
background
#F9FDF7
surface
#F1FBEE
border
#CBD4C9
text
#0D1509
muted
#7E837B

Preview Lab

Preview with #40C939

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

Preview Lab → · Contrast checker → · Palette generator →

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