#40D670#40D670

#40D670 is a light, vivid green. Relative luminance 0.504; OKLCH L 77.5% C 0.190 H 149.8°. Best body text is #000000 at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#40D670
RGBrgb(64, 214, 112)
HSLhsl(139, 65%, 55%)
HSVhsv(139, 70%, 84%)
CMYKcmyk(70.1%, 0%, 47.7%, 16.1%)
CIE-LABlab(76.28, -60.84, 39.12)
CIE-LCHlch(76.28, 72.34, 147.26°)
OKLaboklab(77.5% -0.1638 0.0954)
OKLCHoklch(77.5% 0.19 149.8)
XYZxyz(29.0832, 50.3497, 23.5118)
Luminance0.5035 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D670 #D640A6
analogous
#5BD640 #40D670 #40D6BB
triadic
#40D670 #7040D6 #D67040
tetradic
#40D670 #405BD6 #D640A6 #D6BB40
square
#40D670 #405BD6 #D640A6 #D6BB40
split-complementary
#40D670 #BB40D6 #D6405B
monochromatic
#1B803C #26B253 #40D670 #72E196 #A5ECBB

Accessibility & contrast

On white

1.90
#40D670 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.07
#40D670 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D670
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D670#FFFFFF#000000##000000
##40D6701.001.9011.0711.07
#FFFFFF1.901.0021.0021.00
#00000011.0721.001.001.00
##00000011.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C468
Deuteranopia (green-blind)
#C5B777
Tritanopia (blue-blind)
#00D2BE
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #40d670;
/* rgb */ color: rgb(64, 214, 112);
/* oklch */ color: oklch(77.5% 0.190 149.8);
Tailwind
colors: {
  custom: {
    50: '#88e49b',
    500: '#40d670',
    950: '#000000',
  },
}
SCSS
$custom: #40d670;
$custom-light: #88e49b;
$custom-dark: #000000;
JSON
{
  "hex": "#40d670",
  "rgb": {
    "r": 64,
    "g": 214,
    "b": 112
  },
  "hsl": {
    "h": 139.2,
    "s": 64.655,
    "l": 54.51
  },
  "oklch": {
    "l": 0.77502,
    "c": 0.18955,
    "h": 149.8
  },
  "luminance": 0.50353
}

Semantic roles & 50–950 ramp

primary
#40D670
secondary
#87336C
accent
#40B2E8
background
#FCFEFC
surface
#F4FCF5
border
#CED5CF
text
#0D160E
muted
#7F847F

Preview Lab

Preview with #40D670

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

Preview Lab → · Contrast checker → · Palette generator →

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