#40C22A#40C22A

#40C22A is a light, highly saturated green. Relative luminance 0.398; OKLCH L 71.6% C 0.217 H 141.2°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#40C22A
RGBrgb(64, 194, 42)
HSLhsl(111, 64%, 46%)
HSVhsv(111, 78%, 76%)
CMYKcmyk(67%, 0%, 78.4%, 23.9%)
CIE-LABlab(69.35, -61.74, 60.92)
CIE-LCHlch(69.35, 86.74, 135.38°)
OKLaboklab(71.56% -0.1687 0.1359)
OKLCHoklch(71.56% 0.217 141.2)
XYZxyz(21.8229, 39.8385, 8.7296)
Luminance0.3984 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C22A #AC2AC2
analogous
#8CC22A #40C22A #2AC260
triadic
#40C22A #2A40C2 #C22A40
tetradic
#40C22A #2A8CC2 #AC2AC2 #C2602A
square
#40C22A #2A8CC2 #AC2AC2 #C2602A
split-complementary
#40C22A #602AC2 #C22A8C
monochromatic
#1F5D14 #2F901F #40C22A #64D950 #91E482

Accessibility & contrast

On white

2.34
#40C22A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#40C22A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C22A
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C22A#FFFFFF#000000##000000
##40C22A1.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B000
Deuteranopia (green-blind)
#B8A53C
Tritanopia (blue-blind)
#25BCA6
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #40c22a;
/* rgb */ color: rgb(64, 194, 42);
/* oklch */ color: oklch(71.6% 0.217 141.2);
Tailwind
colors: {
  custom: {
    50: '#87d670',
    500: '#40c22a',
    950: '#000000',
  },
}
SCSS
$custom: #40c22a;
$custom-light: #87d670;
$custom-dark: #000000;
JSON
{
  "hex": "#40c22a",
  "rgb": {
    "r": 64,
    "g": 194,
    "b": 42
  },
  "hsl": {
    "h": 111.316,
    "s": 64.407,
    "l": 46.275
  },
  "oklch": {
    "l": 0.71555,
    "c": 0.21663,
    "h": 141.2
  },
  "luminance": 0.39841
}

Semantic roles & 50–950 ramp

primary
#40C22A
secondary
#C17BCD
accent
#40E7CF
background
#F9FDF7
surface
#F1FAED
border
#CBD3C8
text
#0D1408
muted
#7E837B

Preview Lab

Preview with #40C22A

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

Preview Lab → · Contrast checker → · Palette generator →

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