#40D262#40D262

#40D262 is a light, vivid green. Relative luminance 0.481; OKLCH L 76.3% C 0.197 H 147.4°. Best body text is #000000 at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#40D262
RGBrgb(64, 210, 98)
HSLhsl(134, 62%, 54%)
HSVhsv(134, 70%, 82%)
CMYKcmyk(69.5%, 0%, 53.3%, 17.6%)
CIE-LABlab(74.86, -61.50, 44.14)
CIE-LCHlch(74.86, 75.71, 144.33°)
OKLaboklab(76.27% -0.1657 0.1059)
OKLCHoklch(76.27% 0.197 147.4)
XYZxyz(27.3635, 48.0620, 19.3877)
Luminance0.4807 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D262 #D240B0
analogous
#67D240 #40D262 #40D2AB
triadic
#40D262 #6240D2 #D26240
tetradic
#40D262 #4067D2 #D240B0 #D2AB40
square
#40D262 #4067D2 #D240B0 #D2AB40
split-complementary
#40D262 #AB40D2 #D24067
monochromatic
#1D7B33 #29AC47 #40D262 #72DE8B #A3E9B3

Accessibility & contrast

On white

1.98
#40D262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.61
#40D262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D262
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D262#FFFFFF#000000##000000
##40D2621.001.9810.6110.61
#FFFFFF1.981.0021.0021.00
#00000010.6121.001.001.00
##00000010.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C058
Deuteranopia (green-blind)
#C3B36A
Tritanopia (blue-blind)
#00CEB9
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #40d262;
/* rgb */ color: rgb(64, 210, 98);
/* oklch */ color: oklch(76.3% 0.197 147.4);
Tailwind
colors: {
  custom: {
    50: '#87e191',
    500: '#40d262',
    950: '#000000',
  },
}
SCSS
$custom: #40d262;
$custom-light: #87e191;
$custom-dark: #000000;
JSON
{
  "hex": "#40d262",
  "rgb": {
    "r": 64,
    "g": 210,
    "b": 98
  },
  "hsl": {
    "h": 133.973,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.76271,
    "c": 0.1967,
    "h": 147.4
  },
  "luminance": 0.48065
}

Semantic roles & 50–950 ramp

primary
#40D262
secondary
#D698C8
accent
#43BFE5
background
#F9FDF9
surface
#F1FBF1
border
#CBD4CB
text
#0D150D
muted
#7E837E

Preview Lab

Preview with #40D262

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

Preview Lab → · Contrast checker → · Palette generator →

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