#40D251#40D251

#40D251 is a light, highly saturated green. Relative luminance 0.478; OKLCH L 76.1% C 0.210 H 144.9°. Best body text is #000000 at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#40D251
RGBrgb(64, 210, 81)
HSLhsl(127, 62%, 54%)
HSVhsv(127, 70%, 82%)
CMYKcmyk(69.5%, 0%, 61.4%, 17.6%)
CIE-LABlab(74.68, -63.64, 51.70)
CIE-LCHlch(74.68, 81.99, 140.91°)
OKLaboklab(76.06% -0.172 0.1211)
OKLCHoklch(76.06% 0.21 144.9)
XYZxyz(26.6444, 47.7743, 15.6002)
Luminance0.4778 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D251 #D240C1
analogous
#78D240 #40D251 #40D29A
triadic
#40D251 #5140D2 #D25140
tetradic
#40D251 #4078D2 #D240C1 #D29A40
square
#40D251 #4078D2 #D240C1 #D29A40
split-complementary
#40D251 #9A40D2 #D24078
monochromatic
#1D7B28 #29AC38 #40D251 #72DE7E #A3E9AB

Accessibility & contrast

On white

1.99
#40D251 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.56
#40D251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D251
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D251#FFFFFF#000000##000000
##40D2511.001.9910.5610.56
#FFFFFF1.991.0021.0021.00
#00000010.5621.001.001.00
##00000010.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF43
Deuteranopia (green-blind)
#C4B35C
Tritanopia (blue-blind)
#01CDB7
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #40d251;
/* rgb */ color: rgb(64, 210, 81);
/* oklch */ color: oklch(76.1% 0.210 144.9);
Tailwind
colors: {
  custom: {
    50: '#88e186',
    500: '#40d251',
    950: '#000000',
  },
}
SCSS
$custom: #40d251;
$custom-light: #88e186;
$custom-dark: #000000;
JSON
{
  "hex": "#40d251",
  "rgb": {
    "r": 64,
    "g": 210,
    "b": 81
  },
  "hsl": {
    "h": 126.986,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.76062,
    "c": 0.21036,
    "h": 144.9
  },
  "luminance": 0.47777
}

Semantic roles & 50–950 ramp

primary
#40D251
secondary
#D698CF
accent
#43D2E5
background
#F9FDF8
surface
#F1FBF0
border
#CBD4CB
text
#0D150B
muted
#7E837C

Preview Lab

Preview with #40D251

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

Preview Lab → · Contrast checker → · Palette generator →

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