#40C558#40C558

#40C558 is a light, vivid green. Relative luminance 0.417; OKLCH L 72.8% C 0.189 H 146.4°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#40C558
RGBrgb(64, 197, 88)
HSLhsl(131, 53%, 51%)
HSVhsv(131, 68%, 77%)
CMYKcmyk(67.5%, 0%, 55.3%, 22.7%)
CIE-LABlab(70.68, -58.30, 43.85)
CIE-LCHlch(70.68, 72.95, 143.05°)
OKLaboklab(72.77% -0.1573 0.1046)
OKLCHoklch(72.77% 0.189 146.4)
XYZxyz(23.8404, 41.7245, 16.0279)
Luminance0.4173 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C558 #C540AD
analogous
#6AC540 #40C558 #40C59A
triadic
#40C558 #5840C5 #C55840
tetradic
#40C558 #406AC5 #C540AD #C59A40
square
#40C558 #406AC5 #C540AD #C59A40
split-complementary
#40C558 #9A40C5 #C5406A
monochromatic
#206A2E #2F9942 #40C558 #6FD381 #9EE2AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40C558#FFFFFF#000000##000000
##40C5581.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)
#C8B44E
Deuteranopia (green-blind)
#B8A960
Tritanopia (blue-blind)
#0DC0AD
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #40c558;
/* rgb */ color: rgb(64, 197, 88);
/* oklch */ color: oklch(72.8% 0.189 146.4);
Tailwind
colors: {
  custom: {
    50: '#85d88a',
    500: '#40c558',
    950: '#000000',
  },
}
SCSS
$custom: #40c558;
$custom-light: #85d88a;
$custom-dark: #000000;
JSON
{
  "hex": "#40c558",
  "rgb": {
    "r": 64,
    "g": 197,
    "b": 88
  },
  "hsl": {
    "h": 130.827,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.72774,
    "c": 0.18896,
    "h": 146.4
  },
  "luminance": 0.41727
}

Semantic roles & 50–950 ramp

primary
#40C558
secondary
#CE93C3
accent
#4BC2DD
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C150C
muted
#7D837D

Preview Lab

Preview with #40C558

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

Preview Lab → · Contrast checker → · Palette generator →

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