#40D26B#40D26B

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

Color values

HEX#40D26B
RGBrgb(64, 210, 107)
HSLhsl(138, 62%, 54%)
HSVhsv(138, 70%, 82%)
CMYKcmyk(69.5%, 0%, 49%, 17.6%)
CIE-LABlab(74.98, -60.19, 39.94)
CIE-LCHlch(74.98, 72.24, 146.44°)
OKLaboklab(76.4% -0.1621 0.097)
OKLCHoklch(76.4% 0.189 149.1)
XYZxyz(27.8126, 48.2416, 21.7529)
Luminance0.4824 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D26B #D240A7
analogous
#5ED240 #40D26B #40D2B4
triadic
#40D26B #6B40D2 #D26B40
tetradic
#40D26B #405ED2 #D240A7 #D2B440
square
#40D26B #405ED2 #D240A7 #D2B440
split-complementary
#40D26B #B440D2 #D2405E
monochromatic
#1D7B39 #29AC4F #40D26B #72DE91 #A3E9B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40D26B#FFFFFF#000000##000000
##40D26B1.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)
#D4C063
Deuteranopia (green-blind)
#C2B472
Tritanopia (blue-blind)
#00CEBA
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #40d26b;
/* rgb */ color: rgb(64, 210, 107);
/* oklch */ color: oklch(76.4% 0.189 149.1);
Tailwind
colors: {
  custom: {
    50: '#87e197',
    500: '#40d26b',
    950: '#000000',
  },
}
SCSS
$custom: #40d26b;
$custom-light: #87e197;
$custom-dark: #000000;
JSON
{
  "hex": "#40d26b",
  "rgb": {
    "r": 64,
    "g": 210,
    "b": 107
  },
  "hsl": {
    "h": 137.671,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.76401,
    "c": 0.1889,
    "h": 149.1
  },
  "luminance": 0.48245
}

Semantic roles & 50–950 ramp

primary
#40D26B
secondary
#D698C4
accent
#43B5E5
background
#F9FDF9
surface
#F1FBF2
border
#CBD4CC
text
#0D150E
muted
#7E837E

Preview Lab

Preview with #40D26B

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

Preview Lab → · Contrast checker → · Palette generator →

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