#40D052#40D052

#40D052 is a light, highly saturated green. Relative luminance 0.468; OKLCH L 75.6% C 0.207 H 145.0°. Best body text is #000000 at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#40D052
RGBrgb(64, 208, 82)
HSLhsl(128, 61%, 53%)
HSVhsv(128, 69%, 82%)
CMYKcmyk(69.2%, 0%, 60.6%, 18.4%)
CIE-LABlab(74.07, -62.85, 50.56)
CIE-LCHlch(74.07, 80.66, 141.19°)
OKLaboklab(75.56% -0.1698 0.1187)
OKLCHoklch(75.56% 0.207 145)
XYZxyz(26.1915, 46.8081, 15.6356)
Luminance0.4681 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D052 #D040BE
analogous
#76D040 #40D052 #40D09A
triadic
#40D052 #5240D0 #D05240
tetradic
#40D052 #4076D0 #D040BE #D09A40
square
#40D052 #4076D0 #D040BE #D09A40
split-complementary
#40D052 #9A40D0 #D04076
monochromatic
#1E7829 #2AA93A #40D052 #71DC7E #A2E8AB

Accessibility & contrast

On white

2.03
#40D052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.36
#40D052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D052
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D052#FFFFFF#000000##000000
##40D0521.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD44
Deuteranopia (green-blind)
#C2B25C
Tritanopia (blue-blind)
#03CBB5
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #40d052;
/* rgb */ color: rgb(64, 208, 82);
/* oklch */ color: oklch(75.6% 0.207 145.0);
Tailwind
colors: {
  custom: {
    50: '#88e087',
    500: '#40d052',
    950: '#000000',
  },
}
SCSS
$custom: #40d052;
$custom-light: #88e087;
$custom-dark: #000000;
JSON
{
  "hex": "#40d052",
  "rgb": {
    "r": 64,
    "g": 208,
    "b": 82
  },
  "hsl": {
    "h": 127.5,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.75555,
    "c": 0.20723,
    "h": 145
  },
  "luminance": 0.46811
}

Semantic roles & 50–950 ramp

primary
#40D052
secondary
#D597CD
accent
#44D0E4
background
#F9FDF8
surface
#F1FBF0
border
#CBD4CB
text
#0D150B
muted
#7E837C

Preview Lab

Preview with #40D052

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

Preview Lab → · Contrast checker → · Palette generator →

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