#40C422#40C422

#40C422 is a light, highly saturated green. Relative luminance 0.407; OKLCH L 72.0% C 0.222 H 140.7°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#40C422
RGBrgb(64, 196, 34)
HSLhsl(109, 70%, 45%)
HSVhsv(109, 83%, 77%)
CMYKcmyk(67.3%, 0%, 82.7%, 23.1%)
CIE-LABlab(69.95, -62.83, 63.74)
CIE-LCHlch(69.95, 89.50, 134.59°)
OKLaboklab(72.04% -0.172 0.1407)
OKLCHoklch(72.04% 0.222 140.7)
XYZxyz(22.1419, 40.6830, 8.1988)
Luminance0.4068 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C422 #A622C4
analogous
#91C422 #40C422 #22C455
triadic
#40C422 #2240C4 #C42240
tetradic
#40C422 #2291C4 #A622C4 #C45522
square
#40C422 #2291C4 #A622C4 #C45522
split-complementary
#40C422 #5522C4 #C42291
monochromatic
#1E5C10 #2F9019 #40C422 #61DF45 #8DE879

Accessibility & contrast

On white

2.30
#40C422 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#40C422 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C422
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C422#FFFFFF#000000##000000
##40C4221.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B100
Deuteranopia (green-blind)
#BAA737
Tritanopia (blue-blind)
#26BEA7
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #40c422;
/* rgb */ color: rgb(64, 196, 34);
/* oklch */ color: oklch(72.0% 0.222 140.7);
Tailwind
colors: {
  custom: {
    50: '#87d76d',
    500: '#40c422',
    950: '#000000',
  },
}
SCSS
$custom: #40c422;
$custom-light: #87d76d;
$custom-dark: #000000;
JSON
{
  "hex": "#40c422",
  "rgb": {
    "r": 64,
    "g": 196,
    "b": 34
  },
  "hsl": {
    "h": 108.889,
    "s": 70.435,
    "l": 45.098
  },
  "oklch": {
    "l": 0.7204,
    "c": 0.22223,
    "h": 140.7
  },
  "luminance": 0.40685
}

Semantic roles & 50–950 ramp

primary
#40C422
secondary
#BE73CF
accent
#3BEDCC
background
#F9FDF7
surface
#F1FAED
border
#CBD3C8
text
#0D1408
muted
#7E837B

Preview Lab

Preview with #40C422

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

Preview Lab → · Contrast checker → · Palette generator →

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