#40D285#40D285

#40D285 is a light, vivid green. Relative luminance 0.489; OKLCH L 76.9% C 0.166 H 155.6°. Best body text is #000000 at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#40D285
RGBrgb(64, 210, 133)
HSLhsl(148, 62%, 54%)
HSVhsv(148, 70%, 82%)
CMYKcmyk(69.5%, 0%, 36.7%, 17.6%)
CIE-LABlab(75.37, -55.73, 27.30)
CIE-LCHlch(75.37, 62.06, 153.91°)
OKLaboklab(76.86% -0.1507 0.0684)
OKLCHoklch(76.86% 0.166 155.6)
XYZxyz(29.3919, 48.8733, 30.0702)
Luminance0.4888 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D285 #D2408D
analogous
#44D240 #40D285 #40D2CE
triadic
#40D285 #8540D2 #D28540
tetradic
#40D285 #4044D2 #D2408D #D2CE40
square
#40D285 #4044D2 #D2408D #D2CE40
split-complementary
#40D285 #CE40D2 #D24044
monochromatic
#1D7B49 #29AC67 #40D285 #72DEA5 #A3E9C4

Accessibility & contrast

On white

1.95
#40D285 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.78
#40D285 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D285
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D285#FFFFFF#000000##000000
##40D2851.001.9510.7810.78
#FFFFFF1.951.0021.0021.00
#00000010.7821.001.001.00
##00000010.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1C180
Deuteranopia (green-blind)
#BFB48A
Tritanopia (blue-blind)
#00D0BE
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #40d285;
/* rgb */ color: rgb(64, 210, 133);
/* oklch */ color: oklch(76.9% 0.166 155.6);
Tailwind
colors: {
  custom: {
    50: '#87e1a9',
    500: '#40d285',
    950: '#000000',
  },
}
SCSS
$custom: #40d285;
$custom-light: #87e1a9;
$custom-dark: #000000;
JSON
{
  "hex": "#40d285",
  "rgb": {
    "r": 64,
    "g": 210,
    "b": 133
  },
  "hsl": {
    "h": 148.356,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.76857,
    "c": 0.16551,
    "h": 155.6
  },
  "luminance": 0.48877
}

Semantic roles & 50–950 ramp

primary
#40D285
secondary
#D698B9
accent
#4398E5
background
#F9FDFA
surface
#F1FBF4
border
#CBD4CE
text
#0D1510
muted
#7E837F

Preview Lab

Preview with #40D285

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

Preview Lab → · Contrast checker → · Palette generator →

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