#40D351#40D351

#40D351 is a light, highly saturated green. Relative luminance 0.483; OKLCH L 76.3% C 0.212 H 144.8°. Best body text is #000000 at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#40D351
RGBrgb(64, 211, 81)
HSLhsl(127, 63%, 54%)
HSVhsv(127, 70%, 83%)
CMYKcmyk(69.7%, 0%, 61.6%, 17.3%)
CIE-LABlab(74.99, -63.97, 52.05)
CIE-LCHlch(74.99, 82.47, 140.87°)
OKLaboklab(76.32% -0.1729 0.1218)
OKLCHoklch(76.32% 0.212 144.8)
XYZxyz(26.8920, 48.2697, 15.6827)
Luminance0.4827 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D351 #D340C2
analogous
#79D340 #40D351 #40D39B
triadic
#40D351 #5140D3 #D35140
tetradic
#40D351 #4079D3 #D340C2 #D39B40
square
#40D351 #4079D3 #D340C2 #D39B40
split-complementary
#40D351 #9B40D3 #D34079
monochromatic
#1D7C28 #28AE37 #40D351 #72DE7E #A3EAAC

Accessibility & contrast

On white

1.97
#40D351 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.65
#40D351 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D351
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D351#FFFFFF#000000##000000
##40D3511.001.9710.6510.65
#FFFFFF1.971.0021.0021.00
#00000010.6521.001.001.00
##00000010.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C042
Deuteranopia (green-blind)
#C5B45C
Tritanopia (blue-blind)
#00CEB7
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #40d351;
/* rgb */ color: rgb(64, 211, 81);
/* oklch */ color: oklch(76.3% 0.212 144.8);
Tailwind
colors: {
  custom: {
    50: '#88e286',
    500: '#40d351',
    950: '#000000',
  },
}
SCSS
$custom: #40d351;
$custom-light: #88e286;
$custom-dark: #000000;
JSON
{
  "hex": "#40d351",
  "rgb": {
    "r": 64,
    "g": 211,
    "b": 81
  },
  "hsl": {
    "h": 126.939,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.76321,
    "c": 0.21154,
    "h": 144.8
  },
  "luminance": 0.48273
}

Semantic roles & 50–950 ramp

primary
#40D351
secondary
#D798D0
accent
#42D3E6
background
#F9FEF8
surface
#F1FCF0
border
#CBD5CB
text
#0D150B
muted
#7E847C

Preview Lab

Preview with #40D351

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

Preview Lab → · Contrast checker → · Palette generator →

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