#40C536#40C536

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

Color values

HEX#40C536
RGBrgb(64, 197, 54)
HSLhsl(116, 57%, 49%)
HSVhsv(116, 73%, 77%)
CMYKcmyk(67.5%, 0%, 72.6%, 22.7%)
CIE-LABlab(70.38, -61.89, 57.91)
CIE-LCHlch(70.38, 84.76, 136.90°)
OKLaboklab(72.42% -0.1685 0.1312)
OKLCHoklch(72.42% 0.214 142.1)
XYZxyz(22.7452, 41.2864, 10.2597)
Luminance0.4129 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C536 #BB36C5
analogous
#88C536 #40C536 #36C574
triadic
#40C536 #3640C5 #C53640
tetradic
#40C536 #3688C5 #BB36C5 #C57436
square
#40C536 #3688C5 #BB36C5 #C57436
split-complementary
#40C536 #7436C5 #C53688
monochromatic
#21651C #309529 #40C536 #6CD464 #99E294

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40C536#FFFFFF#000000##000000
##40C5361.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)
#CAB31C
Deuteranopia (green-blind)
#BAA845
Tritanopia (blue-blind)
#21BFA9
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #40c536;
/* rgb */ color: rgb(64, 197, 54);
/* oklch */ color: oklch(72.4% 0.214 142.1);
Tailwind
colors: {
  custom: {
    50: '#87d876',
    500: '#40c536',
    950: '#000000',
  },
}
SCSS
$custom: #40c536;
$custom-light: #87d876;
$custom-dark: #000000;
JSON
{
  "hex": "#40c536",
  "rgb": {
    "r": 64,
    "g": 197,
    "b": 54
  },
  "hsl": {
    "h": 115.804,
    "s": 56.972,
    "l": 49.216
  },
  "oklch": {
    "l": 0.72424,
    "c": 0.21359,
    "h": 142.1
  },
  "luminance": 0.41289
}

Semantic roles & 50–950 ramp

primary
#40C536
secondary
#C88ACD
accent
#48E0D6
background
#F9FDF7
surface
#F1FAED
border
#CBD3C8
text
#0D1509
muted
#7E837B

Preview Lab

Preview with #40C536

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

Preview Lab → · Contrast checker → · Palette generator →

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