#40D05C#40D05C

#40D05C is a light, vivid green. Relative luminance 0.470; OKLCH L 75.7% C 0.199 H 146.5°. Best body text is #000000 at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#40D05C
RGBrgb(64, 208, 92)
HSLhsl(132, 61%, 53%)
HSVhsv(132, 69%, 82%)
CMYKcmyk(69.2%, 0%, 55.8%, 18.4%)
CIE-LABlab(74.17, -61.62, 46.14)
CIE-LCHlch(74.17, 76.98, 143.18°)
OKLaboklab(75.68% -0.1662 0.1099)
OKLCHoklch(75.68% 0.199 146.5)
XYZxyz(26.6001, 46.9715, 17.7877)
Luminance0.4697 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D05C #D040B4
analogous
#6CD040 #40D05C #40D0A4
triadic
#40D05C #5C40D0 #D05C40
tetradic
#40D05C #406CD0 #D040B4 #D0A440
square
#40D05C #406CD0 #D040B4 #D0A440
split-complementary
#40D05C #A440D0 #D0406C
monochromatic
#1E782F #2AA942 #40D05C #71DC86 #A2E8B0

Accessibility & contrast

On white

2.02
#40D05C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.39
#40D05C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D05C
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D05C#FFFFFF#000000##000000
##40D05C1.002.0210.3910.39
#FFFFFF2.021.0021.0021.00
#00000010.3921.001.001.00
##00000010.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BE51
Deuteranopia (green-blind)
#C2B265
Tritanopia (blue-blind)
#00CBB6
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #40d05c;
/* rgb */ color: rgb(64, 208, 92);
/* oklch */ color: oklch(75.7% 0.199 146.5);
Tailwind
colors: {
  custom: {
    50: '#87e08d',
    500: '#40d05c',
    950: '#000000',
  },
}
SCSS
$custom: #40d05c;
$custom-light: #87e08d;
$custom-dark: #000000;
JSON
{
  "hex": "#40d05c",
  "rgb": {
    "r": 64,
    "g": 208,
    "b": 92
  },
  "hsl": {
    "h": 131.667,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.75676,
    "c": 0.19924,
    "h": 146.5
  },
  "luminance": 0.46974
}

Semantic roles & 50–950 ramp

primary
#40D05C
secondary
#D597C9
accent
#44C5E4
background
#F9FDF8
surface
#F1FBF0
border
#CBD4CB
text
#0D150C
muted
#7E837D

Preview Lab

Preview with #40D05C

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

Preview Lab → · Contrast checker → · Palette generator →

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