#40AE22#40AE22

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

Color values

HEX#40AE22
RGBrgb(64, 174, 34)
HSLhsl(107, 67%, 41%)
HSVhsv(107, 80%, 68%)
CMYKcmyk(63.2%, 0%, 80.5%, 31.8%)
CIE-LABlab(62.91, -55.46, 57.23)
CIE-LCHlch(62.91, 79.69, 134.10°)
OKLaboklab(66.2% -0.1522 0.1271)
OKLCHoklch(66.2% 0.198 140.1)
XYZxyz(17.5383, 31.4759, 6.6643)
Luminance0.3148 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AE22 #9022AE
analogous
#86AE22 #40AE22 #22AE4A
triadic
#40AE22 #2240AE #AE2240
tetradic
#40AE22 #2286AE #9022AE #AE4A22
square
#40AE22 #2286AE #9022AE #AE4A22
split-complementary
#40AE22 #4A22AE #AE2286
monochromatic
#1A480E #2D7B18 #40AE22 #58D836 #83E269

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40AE22#FFFFFF#000000##000000
##40AE221.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)
#B39E00
Deuteranopia (green-blind)
#A69533
Tritanopia (blue-blind)
#30A894
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #40ae22;
/* rgb */ color: rgb(64, 174, 34);
/* oklch */ color: oklch(66.2% 0.198 140.1);
Tailwind
colors: {
  custom: {
    50: '#83c769',
    500: '#40ae22',
    950: '#000000',
  },
}
SCSS
$custom: #40ae22;
$custom-light: #83c769;
$custom-dark: #000000;
JSON
{
  "hex": "#40ae22",
  "rgb": {
    "r": 64,
    "g": 174,
    "b": 34
  },
  "hsl": {
    "h": 107.143,
    "s": 67.308,
    "l": 40.784
  },
  "oklch": {
    "l": 0.662,
    "c": 0.19827,
    "h": 140.1
  },
  "luminance": 0.31478
}

Semantic roles & 50–950 ramp

primary
#40AE22
secondary
#B264C7
accent
#3EEAC5
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #40AE22

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

Preview Lab → · Contrast checker → · Palette generator →

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