#40C436#40C436

#40C436 is a light, highly saturated green. Relative luminance 0.408; OKLCH L 72.2% C 0.212 H 142.1°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#40C436
RGBrgb(64, 196, 54)
HSLhsl(116, 57%, 49%)
HSVhsv(116, 72%, 77%)
CMYKcmyk(67.3%, 0%, 72.4%, 23.1%)
CIE-LABlab(70.06, -61.56, 57.59)
CIE-LCHlch(70.06, 84.30, 136.91°)
OKLaboklab(72.16% -0.1676 0.1305)
OKLCHoklch(72.16% 0.212 142.1)
XYZxyz(22.5189, 40.8338, 10.1843)
Luminance0.4084 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C436 #BA36C4
analogous
#87C436 #40C436 #36C473
triadic
#40C436 #3640C4 #C43640
tetradic
#40C436 #3687C4 #BA36C4 #C47336
square
#40C436 #3687C4 #BA36C4 #C47336
split-complementary
#40C436 #7336C4 #C43687
monochromatic
#21641C #309429 #40C436 #6BD463 #99E193

Accessibility & contrast

On white

2.29
#40C436 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#40C436 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C436
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C436#FFFFFF#000000##000000
##40C4361.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B21D
Deuteranopia (green-blind)
#B9A745
Tritanopia (blue-blind)
#21BEA8
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #40c436;
/* rgb */ color: rgb(64, 196, 54);
/* oklch */ color: oklch(72.2% 0.212 142.1);
Tailwind
colors: {
  custom: {
    50: '#86d776',
    500: '#40c436',
    950: '#000000',
  },
}
SCSS
$custom: #40c436;
$custom-light: #86d776;
$custom-dark: #000000;
JSON
{
  "hex": "#40c436",
  "rgb": {
    "r": 64,
    "g": 196,
    "b": 54
  },
  "hsl": {
    "h": 115.775,
    "s": 56.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.72162,
    "c": 0.21247,
    "h": 142.1
  },
  "luminance": 0.40836
}

Semantic roles & 50–950 ramp

primary
#40C436
secondary
#C889CC
accent
#48E0D5
background
#F9FDF7
surface
#F1FAED
border
#CBD3C8
text
#0D1409
muted
#7E837B

Preview Lab

Preview with #40C436

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

Preview Lab → · Contrast checker → · Palette generator →

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