#40C54B#40C54B

#40C54B is a light, vivid green. Relative luminance 0.415; OKLCH L 72.6% C 0.199 H 144.4°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#40C54B
RGBrgb(64, 197, 75)
HSLhsl(125, 53%, 51%)
HSVhsv(125, 68%, 77%)
CMYKcmyk(67.5%, 0%, 61.9%, 22.7%)
CIE-LABlab(70.54, -59.89, 49.63)
CIE-LCHlch(70.54, 77.78, 140.35°)
OKLaboklab(72.62% -0.1621 0.1161)
OKLCHoklch(72.62% 0.199 144.4)
XYZxyz(23.3491, 41.5280, 13.4404)
Luminance0.4153 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C54B #C540BA
analogous
#77C540 #40C54B #40C58D
triadic
#40C54B #4B40C5 #C54B40
tetradic
#40C54B #4077C5 #C540BA #C58D40
square
#40C54B #4077C5 #C540BA #C58D40
split-complementary
#40C54B #8D40C5 #C54077
monochromatic
#206A26 #2F9937 #40C54B #6FD377 #9EE2A3

Accessibility & contrast

On white

2.26
#40C54B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#40C54B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C54B
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C54B#FFFFFF#000000##000000
##40C54B1.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B33D
Deuteranopia (green-blind)
#B9A855
Tritanopia (blue-blind)
#18C0AB
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #40c54b;
/* rgb */ color: rgb(64, 197, 75);
/* oklch */ color: oklch(72.6% 0.199 144.4);
Tailwind
colors: {
  custom: {
    50: '#86d882',
    500: '#40c54b',
    950: '#000000',
  },
}
SCSS
$custom: #40c54b;
$custom-light: #86d882;
$custom-dark: #000000;
JSON
{
  "hex": "#40c54b",
  "rgb": {
    "r": 64,
    "g": 197,
    "b": 75
  },
  "hsl": {
    "h": 124.962,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.72617,
    "c": 0.1994,
    "h": 144.4
  },
  "luminance": 0.4153
}

Semantic roles & 50–950 ramp

primary
#40C54B
secondary
#CE93C9
accent
#4BD1DD
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C150B
muted
#7D837C

Preview Lab

Preview with #40C54B

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

Preview Lab → · Contrast checker → · Palette generator →

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