#40C52A#40C52A

#40C52A is a light, highly saturated green. Relative luminance 0.412; OKLCH L 72.3% C 0.220 H 141.2°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#40C52A
RGBrgb(64, 197, 42)
HSLhsl(111, 65%, 47%)
HSVhsv(111, 79%, 77%)
CMYKcmyk(67.5%, 0%, 78.7%, 22.7%)
CIE-LABlab(70.31, -62.72, 61.83)
CIE-LCHlch(70.31, 88.07, 135.41°)
OKLaboklab(72.35% -0.1714 0.1378)
OKLCHoklch(72.35% 0.22 141.2)
XYZxyz(22.4973, 41.1873, 8.9544)
Luminance0.4119 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C52A #AF2AC5
analogous
#8EC52A #40C52A #2AC562
triadic
#40C52A #2A40C5 #C52A40
tetradic
#40C52A #2A8EC5 #AF2AC5 #C5622A
square
#40C52A #2A8EC5 #AF2AC5 #C5622A
split-complementary
#40C52A #622AC5 #C52A8E
monochromatic
#1F6014 #30931F #40C52A #65DA52 #92E585

Accessibility & contrast

On white

2.27
#40C52A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#40C52A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C52A
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C52A#FFFFFF#000000##000000
##40C52A1.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB200
Deuteranopia (green-blind)
#BBA83C
Tritanopia (blue-blind)
#24BFA8
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #40c52a;
/* rgb */ color: rgb(64, 197, 42);
/* oklch */ color: oklch(72.3% 0.220 141.2);
Tailwind
colors: {
  custom: {
    50: '#87d870',
    500: '#40c52a',
    950: '#000000',
  },
}
SCSS
$custom: #40c52a;
$custom-light: #87d870;
$custom-dark: #000000;
JSON
{
  "hex": "#40c52a",
  "rgb": {
    "r": 64,
    "g": 197,
    "b": 42
  },
  "hsl": {
    "h": 111.484,
    "s": 64.854,
    "l": 46.863
  },
  "oklch": {
    "l": 0.72345,
    "c": 0.2199,
    "h": 141.2
  },
  "luminance": 0.4119
}

Semantic roles & 50–950 ramp

primary
#40C52A
secondary
#C37DCE
accent
#40E8D0
background
#F9FDF7
surface
#F1FAED
border
#CBD3C8
text
#0D1508
muted
#7E837B

Preview Lab

Preview with #40C52A

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

Preview Lab → · Contrast checker → · Palette generator →

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