#40C539#40C539

#40C539 is a light, highly saturated green. Relative luminance 0.413; OKLCH L 72.4% C 0.212 H 142.4°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#40C539
RGBrgb(64, 197, 57)
HSLhsl(117, 55%, 50%)
HSVhsv(117, 71%, 77%)
CMYKcmyk(67.5%, 0%, 71.1%, 22.7%)
CIE-LABlab(70.40, -61.65, 56.83)
CIE-LCHlch(70.40, 83.85, 137.33°)
OKLaboklab(72.45% -0.1677 0.1293)
OKLCHoklch(72.45% 0.212 142.4)
XYZxyz(22.8178, 41.3155, 10.6423)
Luminance0.4132 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C539 #BE39C5
analogous
#86C539 #40C539 #39C578
triadic
#40C539 #3940C5 #C53940
tetradic
#40C539 #3986C5 #BE39C5 #C57839
square
#40C539 #3986C5 #BE39C5 #C57839
split-complementary
#40C539 #7839C5 #C53986
monochromatic
#21661E #31962B #40C539 #6DD368 #9BE197

Accessibility & contrast

On white

2.27
#40C539 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.26
#40C539 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C539
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C539#FFFFFF#000000##000000
##40C5391.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B322
Deuteranopia (green-blind)
#BAA847
Tritanopia (blue-blind)
#20BFA9
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #40c539;
/* rgb */ color: rgb(64, 197, 57);
/* oklch */ color: oklch(72.4% 0.212 142.4);
Tailwind
colors: {
  custom: {
    50: '#87d877',
    500: '#40c539',
    950: '#000000',
  },
}
SCSS
$custom: #40c539;
$custom-light: #87d877;
$custom-dark: #000000;
JSON
{
  "hex": "#40c539",
  "rgb": {
    "r": 64,
    "g": 197,
    "b": 57
  },
  "hsl": {
    "h": 117,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.72447,
    "c": 0.2118,
    "h": 142.4
  },
  "luminance": 0.41318
}

Semantic roles & 50–950 ramp

primary
#40C539
secondary
#C98DCD
accent
#49DED7
background
#F9FDF7
surface
#F1FAEE
border
#CBD3C9
text
#0D1509
muted
#7E837B

Preview Lab

Preview with #40C539

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

Preview Lab → · Contrast checker → · Palette generator →

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