#40AD28#40AD28

#40AD28 is a light, vivid green. Relative luminance 0.311; OKLCH L 66.0% C 0.194 H 140.6°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#40AD28
RGBrgb(64, 173, 40)
HSLhsl(109, 62%, 42%)
HSVhsv(109, 77%, 68%)
CMYKcmyk(63%, 0%, 76.9%, 32.2%)
CIE-LABlab(62.62, -54.74, 55.06)
CIE-LCHlch(62.62, 77.64, 134.83°)
OKLaboklab(65.97% -0.1499 0.1234)
OKLCHoklch(65.97% 0.194 140.6)
XYZxyz(17.4401, 31.1287, 7.0964)
Luminance0.3113 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AD28 #9528AD
analogous
#83AD28 #40AD28 #28AD53
triadic
#40AD28 #2840AD #AD2840
tetradic
#40AD28 #2883AD #9528AD #AD5328
square
#40AD28 #2883AD #9528AD #AD5328
split-complementary
#40AD28 #5328AD #AD2883
monochromatic
#1B4A11 #2E7B1D #40AD28 #5AD33F #85DE71

Accessibility & contrast

On white

2.91
#40AD28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#40AD28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AD28
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AD28#FFFFFF#000000##000000
##40AD281.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D07
Deuteranopia (green-blind)
#A49437
Tritanopia (blue-blind)
#2FA794
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #40ad28;
/* rgb */ color: rgb(64, 173, 40);
/* oklch */ color: oklch(66.0% 0.194 140.6);
Tailwind
colors: {
  custom: {
    50: '#83c66c',
    500: '#40ad28',
    950: '#000000',
  },
}
SCSS
$custom: #40ad28;
$custom-light: #83c66c;
$custom-dark: #000000;
JSON
{
  "hex": "#40ad28",
  "rgb": {
    "r": 64,
    "g": 173,
    "b": 40
  },
  "hsl": {
    "h": 109.173,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.65969,
    "c": 0.19418,
    "h": 140.6
  },
  "luminance": 0.3113
}

Semantic roles & 50–950 ramp

primary
#40AD28
secondary
#B56CC5
accent
#42E6C8
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #40AD28

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

Preview Lab → · Contrast checker → · Palette generator →

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