#40C751#40C751

#40C751 is a light, vivid green. Relative luminance 0.425; OKLCH L 73.2% C 0.197 H 145.2°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#40C751
RGBrgb(64, 199, 81)
HSLhsl(128, 55%, 52%)
HSVhsv(128, 68%, 78%)
CMYKcmyk(67.8%, 0%, 59.3%, 22%)
CIE-LABlab(71.23, -59.88, 47.74)
CIE-LCHlch(71.23, 76.59, 141.44°)
OKLaboklab(73.21% -0.1619 0.1126)
OKLCHoklch(73.21% 0.197 145.2)
XYZxyz(24.0214, 42.5284, 14.7258)
Luminance0.4253 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C751 #C740B6
analogous
#73C740 #40C751 #40C795
triadic
#40C751 #5140C7 #C75140
tetradic
#40C751 #4073C7 #C740B6 #C79540
square
#40C751 #4073C7 #C740B6 #C79540
split-complementary
#40C751 #9540C7 #C74073
monochromatic
#206D2A #2E9C3C #40C751 #6FD57C #9FE3A7

Accessibility & contrast

On white

2.21
#40C751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.51
#40C751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C751
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C751#FFFFFF#000000##000000
##40C7511.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB545
Deuteranopia (green-blind)
#BAAA5B
Tritanopia (blue-blind)
#12C2AD
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #40c751;
/* rgb */ color: rgb(64, 199, 81);
/* oklch */ color: oklch(73.2% 0.197 145.2);
Tailwind
colors: {
  custom: {
    50: '#86d985',
    500: '#40c751',
    950: '#000000',
  },
}
SCSS
$custom: #40c751;
$custom-light: #86d985;
$custom-dark: #000000;
JSON
{
  "hex": "#40c751",
  "rgb": {
    "r": 64,
    "g": 199,
    "b": 81
  },
  "hsl": {
    "h": 127.556,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.73207,
    "c": 0.19716,
    "h": 145.2
  },
  "luminance": 0.42531
}

Semantic roles & 50–950 ramp

primary
#40C751
secondary
#CF94C8
accent
#4ACBDE
background
#F8FDF8
surface
#F0FBEF
border
#CBD4CA
text
#0D150B
muted
#7D837C

Preview Lab

Preview with #40C751

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

Preview Lab → · Contrast checker → · Palette generator →

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