#40C54F#40C54F

#40C54F is a light, vivid green. Relative luminance 0.416; OKLCH L 72.7% C 0.196 H 144.9°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#40C54F
RGBrgb(64, 197, 79)
HSLhsl(127, 53%, 51%)
HSVhsv(127, 68%, 77%)
CMYKcmyk(67.5%, 0%, 59.9%, 22.7%)
CIE-LABlab(70.58, -59.43, 47.90)
CIE-LCHlch(70.58, 76.33, 141.13°)
OKLaboklab(72.66% -0.1607 0.1127)
OKLCHoklch(72.66% 0.196 144.9)
XYZxyz(23.4904, 41.5845, 14.1843)
Luminance0.4159 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C54F #C540B6
analogous
#73C540 #40C54F #40C591
triadic
#40C54F #4F40C5 #C54F40
tetradic
#40C54F #4073C5 #C540B6 #C59140
square
#40C54F #4073C5 #C540B6 #C59140
split-complementary
#40C54F #9140C5 #C54073
monochromatic
#206A29 #2F993B #40C54F #6FD37A #9EE2A6

Accessibility & contrast

On white

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

On black

9.32
#40C54F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C54F
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C54F#FFFFFF#000000##000000
##40C54F1.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B342
Deuteranopia (green-blind)
#B8A859
Tritanopia (blue-blind)
#15C0AC
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #40c54f;
/* rgb */ color: rgb(64, 197, 79);
/* oklch */ color: oklch(72.7% 0.196 144.9);
Tailwind
colors: {
  custom: {
    50: '#86d884',
    500: '#40c54f',
    950: '#000000',
  },
}
SCSS
$custom: #40c54f;
$custom-light: #86d884;
$custom-dark: #000000;
JSON
{
  "hex": "#40c54f",
  "rgb": {
    "r": 64,
    "g": 197,
    "b": 79
  },
  "hsl": {
    "h": 126.767,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.72663,
    "c": 0.1963,
    "h": 144.9
  },
  "luminance": 0.41587
}

Semantic roles & 50–950 ramp

primary
#40C54F
secondary
#CE93C7
accent
#4BCCDD
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C150B
muted
#7D837C

Preview Lab

Preview with #40C54F

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

Preview Lab → · Contrast checker → · Palette generator →

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