#40C537#40C537

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

Color values

HEX#40C537
RGBrgb(64, 197, 55)
HSLhsl(116, 56%, 49%)
HSVhsv(116, 72%, 77%)
CMYKcmyk(67.5%, 0%, 72.1%, 22.7%)
CIE-LABlab(70.38, -61.81, 57.56)
CIE-LCHlch(70.38, 84.46, 137.04°)
OKLaboklab(72.43% -0.1683 0.1306)
OKLCHoklch(72.43% 0.213 142.2)
XYZxyz(22.7689, 41.2959, 10.3847)
Luminance0.4130 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C537 #BC37C5
analogous
#87C537 #40C537 #37C575
triadic
#40C537 #3740C5 #C53740
tetradic
#40C537 #3787C5 #BC37C5 #C57537
square
#40C537 #3787C5 #BC37C5 #C57537
split-complementary
#40C537 #7537C5 #C53787
monochromatic
#21651C #30952A #40C537 #6CD465 #9AE195

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40C537#FFFFFF#000000##000000
##40C5371.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)
#CAB31E
Deuteranopia (green-blind)
#BAA846
Tritanopia (blue-blind)
#20BFA9
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #40c537;
/* rgb */ color: rgb(64, 197, 55);
/* oklch */ color: oklch(72.4% 0.213 142.2);
Tailwind
colors: {
  custom: {
    50: '#87d876',
    500: '#40c537',
    950: '#000000',
  },
}
SCSS
$custom: #40c537;
$custom-light: #87d876;
$custom-dark: #000000;
JSON
{
  "hex": "#40c537",
  "rgb": {
    "r": 64,
    "g": 197,
    "b": 55
  },
  "hsl": {
    "h": 116.197,
    "s": 56.349,
    "l": 49.412
  },
  "oklch": {
    "l": 0.72432,
    "c": 0.213,
    "h": 142.2
  },
  "luminance": 0.41298
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40C537

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

Preview Lab → · Contrast checker → · Palette generator →

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