#40AE28#40AE28

#40AE28 is a light, vivid green. Relative luminance 0.315; OKLCH L 66.2% C 0.195 H 140.6°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#40AE28
RGBrgb(64, 174, 40)
HSLhsl(109, 63%, 42%)
HSVhsv(109, 77%, 68%)
CMYKcmyk(63.2%, 0%, 77%, 31.8%)
CIE-LABlab(62.94, -55.09, 55.37)
CIE-LCHlch(62.94, 78.11, 134.85°)
OKLaboklab(66.24% -0.1509 0.124)
OKLCHoklch(66.24% 0.195 140.6)
XYZxyz(17.6326, 31.5136, 7.1606)
Luminance0.3151 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AE28 #9628AE
analogous
#83AE28 #40AE28 #28AE53
triadic
#40AE28 #2840AE #AE2840
tetradic
#40AE28 #2883AE #9628AE #AE5328
square
#40AE28 #2883AE #9628AE #AE5328
split-complementary
#40AE28 #5328AE #AE2883
monochromatic
#1B4A11 #2E7C1D #40AE28 #5AD340 #85DF72

Accessibility & contrast

On white

2.88
#40AE28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#40AE28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AE28
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AE28#FFFFFF#000000##000000
##40AE281.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E06
Deuteranopia (green-blind)
#A59537
Tritanopia (blue-blind)
#2FA895
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #40ae28;
/* rgb */ color: rgb(64, 174, 40);
/* oklch */ color: oklch(66.2% 0.195 140.6);
Tailwind
colors: {
  custom: {
    50: '#83c76c',
    500: '#40ae28',
    950: '#000000',
  },
}
SCSS
$custom: #40ae28;
$custom-light: #83c76c;
$custom-dark: #000000;
JSON
{
  "hex": "#40ae28",
  "rgb": {
    "r": 64,
    "g": 174,
    "b": 40
  },
  "hsl": {
    "h": 109.254,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.66236,
    "c": 0.19533,
    "h": 140.6
  },
  "luminance": 0.31515
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40AE28

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

Preview Lab → · Contrast checker → · Palette generator →

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