#40D26C#40D26C

#40D26C is a light, vivid green. Relative luminance 0.483; OKLCH L 76.4% C 0.188 H 149.3°. Best body text is #000000 at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#40D26C
RGBrgb(64, 210, 108)
HSLhsl(138, 62%, 54%)
HSVhsv(138, 70%, 82%)
CMYKcmyk(69.5%, 0%, 48.6%, 17.6%)
CIE-LABlab(74.99, -60.04, 39.46)
CIE-LCHlch(74.99, 71.85, 146.68°)
OKLaboklab(76.42% -0.1617 0.096)
OKLCHoklch(76.42% 0.188 149.3)
XYZxyz(27.8655, 48.2628, 22.0315)
Luminance0.4827 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D26C #D240A6
analogous
#5DD240 #40D26C #40D2B5
triadic
#40D26C #6C40D2 #D26C40
tetradic
#40D26C #405DD2 #D240A6 #D2B540
square
#40D26C #405DD2 #D240A6 #D2B540
split-complementary
#40D26C #B540D2 #D2405D
monochromatic
#1D7B39 #29AC50 #40D26C #72DE92 #A3E9B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40D26C#FFFFFF#000000##000000
##40D26C1.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)
#D4C064
Deuteranopia (green-blind)
#C2B473
Tritanopia (blue-blind)
#00CEBA
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #40d26c;
/* rgb */ color: rgb(64, 210, 108);
/* oklch */ color: oklch(76.4% 0.188 149.3);
Tailwind
colors: {
  custom: {
    50: '#87e198',
    500: '#40d26c',
    950: '#000000',
  },
}
SCSS
$custom: #40d26c;
$custom-light: #87e198;
$custom-dark: #000000;
JSON
{
  "hex": "#40d26c",
  "rgb": {
    "r": 64,
    "g": 210,
    "b": 108
  },
  "hsl": {
    "h": 138.082,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.76417,
    "c": 0.18802,
    "h": 149.3
  },
  "luminance": 0.48266
}

Semantic roles & 50–950 ramp

primary
#40D26C
secondary
#D698C3
accent
#43B4E5
background
#F9FDF9
surface
#F1FBF2
border
#CBD4CC
text
#0D150E
muted
#7E837E

Preview Lab

Preview with #40D26C

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

Preview Lab → · Contrast checker → · Palette generator →

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