#40D362#40D362

#40D362 is a light, vivid green. Relative luminance 0.486; OKLCH L 76.5% C 0.198 H 147.4°. Best body text is #000000 at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#40D362
RGBrgb(64, 211, 98)
HSLhsl(134, 63%, 54%)
HSVhsv(134, 70%, 83%)
CMYKcmyk(69.7%, 0%, 53.6%, 17.3%)
CIE-LABlab(75.18, -61.85, 44.52)
CIE-LCHlch(75.18, 76.21, 144.25°)
OKLaboklab(76.53% -0.1667 0.1068)
OKLCHoklch(76.53% 0.198 147.4)
XYZxyz(27.6112, 48.5573, 19.4703)
Luminance0.4856 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D362 #D340B1
analogous
#68D340 #40D362 #40D3AC
triadic
#40D362 #6240D3 #D36240
tetradic
#40D362 #4068D3 #D340B1 #D3AC40
square
#40D362 #4068D3 #D340B1 #D3AC40
split-complementary
#40D362 #AC40D3 #D34068
monochromatic
#1D7C33 #28AE47 #40D362 #72DE8B #A3EAB4

Accessibility & contrast

On white

1.96
#40D362 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.71
#40D362 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D362
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D362#FFFFFF#000000##000000
##40D3621.001.9610.7110.71
#FFFFFF1.961.0021.0021.00
#00000010.7121.001.001.00
##00000010.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C058
Deuteranopia (green-blind)
#C4B46B
Tritanopia (blue-blind)
#00CEB9
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #40d362;
/* rgb */ color: rgb(64, 211, 98);
/* oklch */ color: oklch(76.5% 0.198 147.4);
Tailwind
colors: {
  custom: {
    50: '#88e291',
    500: '#40d362',
    950: '#000000',
  },
}
SCSS
$custom: #40d362;
$custom-light: #88e291;
$custom-dark: #000000;
JSON
{
  "hex": "#40d362",
  "rgb": {
    "r": 64,
    "g": 211,
    "b": 98
  },
  "hsl": {
    "h": 133.878,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.76528,
    "c": 0.19793,
    "h": 147.4
  },
  "luminance": 0.4856
}

Semantic roles & 50–950 ramp

primary
#40D362
secondary
#D798C8
accent
#42C0E6
background
#F9FEF9
surface
#F1FCF1
border
#CBD5CB
text
#0D150D
muted
#7E847E

Preview Lab

Preview with #40D362

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

Preview Lab → · Contrast checker → · Palette generator →

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