#40D98C#40D98C

#40D98C is a light, vivid green. Relative luminance 0.526; OKLCH L 78.8% C 0.168 H 156.5°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#40D98C
RGBrgb(64, 217, 140)
HSLhsl(150, 67%, 55%)
HSVhsv(150, 71%, 85%)
CMYKcmyk(70.5%, 0%, 35.5%, 14.9%)
CIE-LABlab(77.64, -57.04, 26.71)
CIE-LCHlch(77.64, 62.98, 154.90°)
OKLaboklab(78.77% -0.1544 0.0671)
OKLCHoklch(78.77% 0.168 156.5)
XYZxyz(31.6578, 52.6055, 33.2913)
Luminance0.5261 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D98C #D9408D
analogous
#40D940 #40D98C #40D9D8
triadic
#40D98C #8C40D9 #D98C40
tetradic
#40D98C #4040D9 #D9408D #D9D840
square
#40D98C #4040D9 #D9408D #D9D840
split-complementary
#40D98C #D840D9 #D94040
monochromatic
#1A844F #24B76D #40D98C #73E3AB #A6EDC9

Accessibility & contrast

On white

1.82
#40D98C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.52
#40D98C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D98C
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D98C#FFFFFF#000000##000000
##40D98C1.001.8211.5211.52
#FFFFFF1.821.0021.0021.00
#00000011.5221.001.001.00
##00000011.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C887
Deuteranopia (green-blind)
#C5BA91
Tritanopia (blue-blind)
#00D7C5
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #40d98c;
/* rgb */ color: rgb(64, 217, 140);
/* oklch */ color: oklch(78.8% 0.168 156.5);
Tailwind
colors: {
  custom: {
    50: '#88e6ae',
    500: '#40d98c',
    950: '#000000',
  },
}
SCSS
$custom: #40d98c;
$custom-light: #88e6ae;
$custom-dark: #000000;
JSON
{
  "hex": "#40d98c",
  "rgb": {
    "r": 64,
    "g": 217,
    "b": 140
  },
  "hsl": {
    "h": 149.804,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.78765,
    "c": 0.16833,
    "h": 156.5
  },
  "luminance": 0.52609
}

Semantic roles & 50–950 ramp

primary
#40D98C
secondary
#8B325F
accent
#3E94EA
background
#FCFEFD
surface
#F4FCF7
border
#CED5D0
text
#0D1610
muted
#7F8481

Preview Lab

Preview with #40D98C

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

Preview Lab → · Contrast checker → · Palette generator →

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