#40D273#40D273

#40D273 is a light, vivid green. Relative luminance 0.484; OKLCH L 76.5% C 0.182 H 150.8°. Best body text is #000000 at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#40D273
RGBrgb(64, 210, 115)
HSLhsl(141, 62%, 54%)
HSVhsv(141, 70%, 82%)
CMYKcmyk(69.5%, 0%, 45.2%, 17.6%)
CIE-LABlab(75.09, -58.93, 36.11)
CIE-LCHlch(75.09, 69.11, 148.50°)
OKLaboklab(76.53% -0.1587 0.0886)
OKLCHoklch(76.53% 0.182 150.8)
XYZxyz(28.2531, 48.4178, 24.0729)
Luminance0.4842 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D273 #D2409F
analogous
#56D240 #40D273 #40D2BC
triadic
#40D273 #7340D2 #D27340
tetradic
#40D273 #4056D2 #D2409F #D2BC40
square
#40D273 #4056D2 #D2409F #D2BC40
split-complementary
#40D273 #BC40D2 #D24056
monochromatic
#1D7B3E #29AC57 #40D273 #72DE97 #A3E9BC

Accessibility & contrast

On white

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

On black

10.68
#40D273 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D273
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D273#FFFFFF#000000##000000
##40D2731.001.9710.6810.68
#FFFFFF1.971.0021.0021.00
#00000010.6821.001.001.00
##00000010.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C06C
Deuteranopia (green-blind)
#C1B47A
Tritanopia (blue-blind)
#00CFBB
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #40d273;
/* rgb */ color: rgb(64, 210, 115);
/* oklch */ color: oklch(76.5% 0.182 150.8);
Tailwind
colors: {
  custom: {
    50: '#87e19c',
    500: '#40d273',
    950: '#000000',
  },
}
SCSS
$custom: #40d273;
$custom-light: #87e19c;
$custom-dark: #000000;
JSON
{
  "hex": "#40d273",
  "rgb": {
    "r": 64,
    "g": 210,
    "b": 115
  },
  "hsl": {
    "h": 140.959,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.76529,
    "c": 0.18178,
    "h": 150.8
  },
  "luminance": 0.48421
}

Semantic roles & 50–950 ramp

primary
#40D273
secondary
#D698C0
accent
#43ACE5
background
#F9FDF9
surface
#F1FBF2
border
#CBD4CC
text
#0D150E
muted
#7E837E

Preview Lab

Preview with #40D273

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

Preview Lab → · Contrast checker → · Palette generator →

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