#40AD27#40AD27

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

Color values

HEX#40AD27
RGBrgb(64, 173, 39)
HSLhsl(109, 63%, 42%)
HSVhsv(109, 77%, 68%)
CMYKcmyk(63%, 0%, 77.5%, 32.2%)
CIE-LABlab(62.61, -54.81, 55.38)
CIE-LCHlch(62.61, 77.92, 134.70°)
OKLaboklab(65.96% -0.1502 0.1239)
OKLCHoklch(65.96% 0.195 140.5)
XYZxyz(17.4233, 31.1219, 7.0080)
Luminance0.3112 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AD27 #9427AD
analogous
#83AD27 #40AD27 #27AD51
triadic
#40AD27 #2740AD #AD2740
tetradic
#40AD27 #2783AD #9427AD #AD5127
square
#40AD27 #2783AD #9427AD #AD5127
split-complementary
#40AD27 #5127AD #AD2783
monochromatic
#1B4910 #2E7B1C #40AD27 #5AD33E #84DF70

Accessibility & contrast

On white

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

On black

7.22
#40AD27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AD27
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AD27#FFFFFF#000000##000000
##40AD271.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40ad27;
/* rgb */ color: rgb(64, 173, 39);
/* oklch */ color: oklch(66.0% 0.195 140.5);
Tailwind
colors: {
  custom: {
    50: '#83c66b',
    500: '#40ad27',
    950: '#000000',
  },
}
SCSS
$custom: #40ad27;
$custom-light: #83c66b;
$custom-dark: #000000;
JSON
{
  "hex": "#40ad27",
  "rgb": {
    "r": 64,
    "g": 173,
    "b": 39
  },
  "hsl": {
    "h": 108.806,
    "s": 63.208,
    "l": 41.569
  },
  "oklch": {
    "l": 0.65962,
    "c": 0.19471,
    "h": 140.5
  },
  "luminance": 0.31124
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40AD27

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

Preview Lab → · Contrast checker → · Palette generator →

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