#40AE27#40AE27

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

Color values

HEX#40AE27
RGBrgb(64, 174, 39)
HSLhsl(109, 63%, 42%)
HSVhsv(109, 78%, 68%)
CMYKcmyk(63.2%, 0%, 77.6%, 31.8%)
CIE-LABlab(62.93, -55.16, 55.70)
CIE-LCHlch(62.93, 78.39, 134.72°)
OKLaboklab(66.23% -0.1511 0.1246)
OKLCHoklch(66.23% 0.196 140.5)
XYZxyz(17.6158, 31.5069, 7.0722)
Luminance0.3151 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AE27 #9527AE
analogous
#84AE27 #40AE27 #27AE52
triadic
#40AE27 #2740AE #AE2740
tetradic
#40AE27 #2784AE #9527AE #AE5227
square
#40AE27 #2784AE #9527AE #AE5227
split-complementary
#40AE27 #5227AE #AE2784
monochromatic
#1B4A11 #2E7C1C #40AE27 #5AD43E #85DF70

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40AE27#FFFFFF#000000##000000
##40AE271.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)
#B39E03
Deuteranopia (green-blind)
#A59536
Tritanopia (blue-blind)
#2FA895
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #40ae27;
/* rgb */ color: rgb(64, 174, 39);
/* oklch */ color: oklch(66.2% 0.196 140.5);
Tailwind
colors: {
  custom: {
    50: '#83c76c',
    500: '#40ae27',
    950: '#000000',
  },
}
SCSS
$custom: #40ae27;
$custom-light: #83c76c;
$custom-dark: #000000;
JSON
{
  "hex": "#40ae27",
  "rgb": {
    "r": 64,
    "g": 174,
    "b": 39
  },
  "hsl": {
    "h": 108.889,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.6623,
    "c": 0.19585,
    "h": 140.5
  },
  "luminance": 0.31509
}

Semantic roles & 50–950 ramp

primary
#40AE27
secondary
#B56BC6
accent
#41E6C8
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #40AE27

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

Preview Lab → · Contrast checker → · Palette generator →

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