#40C636#40C636

#40C636 is a light, highly saturated green. Relative luminance 0.417; OKLCH L 72.7% C 0.215 H 142.1°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#40C636
RGBrgb(64, 198, 54)
HSLhsl(116, 57%, 49%)
HSVhsv(116, 73%, 78%)
CMYKcmyk(67.7%, 0%, 72.7%, 22.4%)
CIE-LABlab(70.69, -62.22, 58.24)
CIE-LCHlch(70.69, 85.22, 136.89°)
OKLaboklab(72.69% -0.1694 0.1319)
OKLCHoklch(72.69% 0.215 142.1)
XYZxyz(22.9730, 41.7421, 10.3357)
Luminance0.4174 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C636 #BC36C6
analogous
#88C636 #40C636 #36C674
triadic
#40C636 #3640C6 #C63640
tetradic
#40C636 #3688C6 #BC36C6 #C67436
square
#40C636 #3688C6 #BC36C6 #C67436
split-complementary
#40C636 #7436C6 #C63688
monochromatic
#21661C #309629 #40C636 #6CD564 #9AE294

Accessibility & contrast

On white

2.25
#40C636 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.35
#40C636 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C636
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C636#FFFFFF#000000##000000
##40C6361.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB31C
Deuteranopia (green-blind)
#BBA945
Tritanopia (blue-blind)
#20C0AA
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #40c636;
/* rgb */ color: rgb(64, 198, 54);
/* oklch */ color: oklch(72.7% 0.215 142.1);
Tailwind
colors: {
  custom: {
    50: '#87d876',
    500: '#40c636',
    950: '#000000',
  },
}
SCSS
$custom: #40c636;
$custom-light: #87d876;
$custom-dark: #000000;
JSON
{
  "hex": "#40c636",
  "rgb": {
    "r": 64,
    "g": 198,
    "b": 54
  },
  "hsl": {
    "h": 115.833,
    "s": 57.143,
    "l": 49.412
  },
  "oklch": {
    "l": 0.72687,
    "c": 0.21471,
    "h": 142.1
  },
  "luminance": 0.41744
}

Semantic roles & 50–950 ramp

primary
#40C636
secondary
#C98BCD
accent
#47E0D6
background
#F9FDF7
surface
#F1FBED
border
#CBD4C8
text
#0D1509
muted
#7E837B

Preview Lab

Preview with #40C636

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

Preview Lab → · Contrast checker → · Palette generator →

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