#40C22C#40C22C

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

Color values

HEX#40C22C
RGBrgb(64, 194, 44)
HSLhsl(112, 63%, 47%)
HSVhsv(112, 77%, 76%)
CMYKcmyk(67%, 0%, 77.3%, 23.9%)
CIE-LABlab(69.36, -61.61, 60.31)
CIE-LCHlch(69.36, 86.22, 135.61°)
OKLaboklab(71.57% -0.1683 0.1349)
OKLCHoklch(71.57% 0.216 141.3)
XYZxyz(21.8596, 39.8531, 8.9228)
Luminance0.3986 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C22C #AE2CC2
analogous
#8BC22C #40C22C #2CC263
triadic
#40C22C #2C40C2 #C22C40
tetradic
#40C22C #2C8BC2 #AE2CC2 #C2632C
square
#40C22C #2C8BC2 #AE2CC2 #C2632C
split-complementary
#40C22C #632CC2 #C22C8B
monochromatic
#1F5E15 #309021 #40C22C #65D853 #92E385

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40C22C#FFFFFF#000000##000000
##40C22C1.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)
#C7B001
Deuteranopia (green-blind)
#B8A53D
Tritanopia (blue-blind)
#25BCA6
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #40c22c;
/* rgb */ color: rgb(64, 194, 44);
/* oklch */ color: oklch(71.6% 0.216 141.3);
Tailwind
colors: {
  custom: {
    50: '#87d671',
    500: '#40c22c',
    950: '#000000',
  },
}
SCSS
$custom: #40c22c;
$custom-light: #87d671;
$custom-dark: #000000;
JSON
{
  "hex": "#40c22c",
  "rgb": {
    "r": 64,
    "g": 194,
    "b": 44
  },
  "hsl": {
    "h": 112,
    "s": 63.025,
    "l": 46.667
  },
  "oklch": {
    "l": 0.71567,
    "c": 0.21567,
    "h": 141.3
  },
  "luminance": 0.39855
}

Semantic roles & 50–950 ramp

primary
#40C22C
secondary
#C27DCD
accent
#42E6D0
background
#F9FDF7
surface
#F1FAED
border
#CBD3C8
text
#0D1408
muted
#7E837B

Preview Lab

Preview with #40C22C

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

Preview Lab → · Contrast checker → · Palette generator →

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