#40AB27#40AB27

#40AB27 is a light, vivid green. Relative luminance 0.304; OKLCH L 65.4% C 0.192 H 140.4°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#40AB27
RGBrgb(64, 171, 39)
HSLhsl(109, 63%, 41%)
HSVhsv(109, 77%, 67%)
CMYKcmyk(62.6%, 0%, 77.2%, 32.9%)
CIE-LABlab(61.96, -54.10, 54.76)
CIE-LCHlch(61.96, 76.98, 134.66°)
OKLaboklab(65.43% -0.1483 0.1226)
OKLCHoklch(65.43% 0.192 140.4)
XYZxyz(17.0427, 30.3607, 6.8811)
Luminance0.3036 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AB27 #9227AB
analogous
#82AB27 #40AB27 #27AB50
triadic
#40AB27 #2740AB #AB2740
tetradic
#40AB27 #2782AB #9227AB #AB5027
square
#40AB27 #2782AB #9227AB #AB5027
split-complementary
#40AB27 #5027AB #AB2782
monochromatic
#1B4710 #2D791C #40AB27 #59D33D #84DE6E

Accessibility & contrast

On white

2.97
#40AB27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#40AB27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AB27
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AB27#FFFFFF#000000##000000
##40AB271.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B05
Deuteranopia (green-blind)
#A39236
Tritanopia (blue-blind)
#30A592
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #40ab27;
/* rgb */ color: rgb(64, 171, 39);
/* oklch */ color: oklch(65.4% 0.192 140.4);
Tailwind
colors: {
  custom: {
    50: '#82c56b',
    500: '#40ab27',
    950: '#000000',
  },
}
SCSS
$custom: #40ab27;
$custom-light: #82c56b;
$custom-dark: #000000;
JSON
{
  "hex": "#40ab27",
  "rgb": {
    "r": 64,
    "g": 171,
    "b": 39
  },
  "hsl": {
    "h": 108.636,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.65428,
    "c": 0.19241,
    "h": 140.4
  },
  "luminance": 0.30362
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40AB27

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

Preview Lab → · Contrast checker → · Palette generator →

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