#40B52A#40B52A

#40B52A is a light, highly saturated green. Relative luminance 0.343; OKLCH L 68.1% C 0.202 H 140.9°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#40B52A
RGBrgb(64, 181, 42)
HSLhsl(111, 62%, 44%)
HSVhsv(111, 77%, 71%)
CMYKcmyk(64.6%, 0%, 76.8%, 29%)
CIE-LABlab(65.20, -57.37, 56.92)
CIE-LCHlch(65.20, 80.82, 135.23°)
OKLaboklab(68.11% -0.1569 0.1275)
OKLCHoklch(68.11% 0.202 140.9)
XYZxyz(19.0552, 34.3030, 7.8070)
Luminance0.3431 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B52A #9F2AB5
analogous
#85B52A #40B52A #2AB559
triadic
#40B52A #2A40B5 #B52A40
tetradic
#40B52A #2A85B5 #9F2AB5 #B5592A
square
#40B52A #2A85B5 #9F2AB5 #B5592A
split-complementary
#40B52A #592AB5 #B52A85
monochromatic
#1D5213 #2E831E #40B52A #5ED448 #8AE079

Accessibility & contrast

On white

2.67
#40B52A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#40B52A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B52A
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B52A#FFFFFF#000000##000000
##40B52A1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA406
Deuteranopia (green-blind)
#AC9B3A
Tritanopia (blue-blind)
#2CAF9B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #40b52a;
/* rgb */ color: rgb(64, 181, 42);
/* oklch */ color: oklch(68.1% 0.202 140.9);
Tailwind
colors: {
  custom: {
    50: '#84cc6e',
    500: '#40b52a',
    950: '#000000',
  },
}
SCSS
$custom: #40b52a;
$custom-light: #84cc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#40b52a",
  "rgb": {
    "r": 64,
    "g": 181,
    "b": 42
  },
  "hsl": {
    "h": 110.504,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.68114,
    "c": 0.20222,
    "h": 140.9
  },
  "luminance": 0.34305
}

Semantic roles & 50–950 ramp

primary
#40B52A
secondary
#BB73C8
accent
#42E5CC
background
#F8FCF6
surface
#F0F9EC
border
#CBD2C7
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #40B52A

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

Preview Lab → · Contrast checker → · Palette generator →

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