#40AA27#40AA27

#40AA27 is a light, vivid green. Relative luminance 0.300; OKLCH L 65.2% C 0.191 H 140.4°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#40AA27
RGBrgb(64, 170, 39)
HSLhsl(109, 63%, 41%)
HSVhsv(109, 77%, 67%)
CMYKcmyk(62.4%, 0%, 77.1%, 33.3%)
CIE-LABlab(61.64, -53.75, 54.44)
CIE-LCHlch(61.64, 76.51, 134.63°)
OKLaboklab(65.16% -0.1473 0.1219)
OKLCHoklch(65.16% 0.191 140.4)
XYZxyz(16.8545, 29.9843, 6.8184)
Luminance0.2999 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AA27 #9127AA
analogous
#81AA27 #40AA27 #27AA50
triadic
#40AA27 #2740AA #AA2740
tetradic
#40AA27 #2781AA #9127AA #AA5027
square
#40AA27 #2781AA #9127AA #AA5027
split-complementary
#40AA27 #5027AA #AA2781
monochromatic
#1B4610 #2D781C #40AA27 #59D23C #83DE6E

Accessibility & contrast

On white

3.00
#40AA27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#40AA27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AA27
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AA27#FFFFFF#000000##000000
##40AA271.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A06
Deuteranopia (green-blind)
#A29236
Tritanopia (blue-blind)
#30A491
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #40aa27;
/* rgb */ color: rgb(64, 170, 39);
/* oklch */ color: oklch(65.2% 0.191 140.4);
Tailwind
colors: {
  custom: {
    50: '#82c46b',
    500: '#40aa27',
    950: '#000000',
  },
}
SCSS
$custom: #40aa27;
$custom-light: #82c46b;
$custom-dark: #000000;
JSON
{
  "hex": "#40aa27",
  "rgb": {
    "r": 64,
    "g": 170,
    "b": 39
  },
  "hsl": {
    "h": 108.55,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.6516,
    "c": 0.19125,
    "h": 140.4
  },
  "luminance": 0.29986
}

Semantic roles & 50–950 ramp

primary
#40AA27
secondary
#B369C4
accent
#42E6C7
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #40AA27

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

Preview Lab → · Contrast checker → · Palette generator →

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