#40C451#40C451

#40C451 is a light, vivid green. Relative luminance 0.412; OKLCH L 72.4% C 0.193 H 145.3°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#40C451
RGBrgb(64, 196, 81)
HSLhsl(128, 53%, 51%)
HSVhsv(128, 67%, 77%)
CMYKcmyk(67.3%, 0%, 58.7%, 23.1%)
CIE-LABlab(70.29, -58.84, 46.65)
CIE-LCHlch(70.29, 75.09, 141.59°)
OKLaboklab(72.43% -0.159 0.1102)
OKLCHoklch(72.43% 0.193 145.3)
XYZxyz(23.3379, 41.1615, 14.4980)
Luminance0.4116 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C451 #C440B3
analogous
#71C440 #40C451 #40C493
triadic
#40C451 #5140C4 #C45140
tetradic
#40C451 #4071C4 #C440B3 #C49340
square
#40C451 #4071C4 #C440B3 #C49340
split-complementary
#40C451 #9340C4 #C44071
monochromatic
#20692A #2F983C #40C451 #6FD27C #9EE1A6

Accessibility & contrast

On white

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

On black

9.23
#40C451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C451
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C451#FFFFFF#000000##000000
##40C4511.002.279.239.23
#FFFFFF2.271.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B345
Deuteranopia (green-blind)
#B7A85A
Tritanopia (blue-blind)
#15BFAB
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #40c451;
/* rgb */ color: rgb(64, 196, 81);
/* oklch */ color: oklch(72.4% 0.193 145.3);
Tailwind
colors: {
  custom: {
    50: '#85d785',
    500: '#40c451',
    950: '#000000',
  },
}
SCSS
$custom: #40c451;
$custom-light: #85d785;
$custom-dark: #000000;
JSON
{
  "hex": "#40c451",
  "rgb": {
    "r": 64,
    "g": 196,
    "b": 81
  },
  "hsl": {
    "h": 127.727,
    "s": 52.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.72425,
    "c": 0.19349,
    "h": 145.3
  },
  "luminance": 0.41164
}

Semantic roles & 50–950 ramp

primary
#40C451
secondary
#CD93C6
accent
#4CCADC
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140B
muted
#7D837C

Preview Lab

Preview with #40C451

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

Preview Lab → · Contrast checker → · Palette generator →

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