#40B52E#40B52E

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

Color values

HEX#40B52E
RGBrgb(64, 181, 46)
HSLhsl(112, 59%, 45%)
HSVhsv(112, 75%, 71%)
CMYKcmyk(64.6%, 0%, 74.6%, 29%)
CIE-LABlab(65.23, -57.09, 55.58)
CIE-LCHlch(65.23, 79.67, 135.77°)
OKLaboklab(68.14% -0.156 0.1253)
OKLCHoklch(68.14% 0.2 141.2)
XYZxyz(19.1304, 34.3331, 8.2030)
Luminance0.3433 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B52E #A32EB5
analogous
#84B52E #40B52E #2EB560
triadic
#40B52E #2E40B5 #B52E40
tetradic
#40B52E #2E84B5 #A32EB5 #B5602E
square
#40B52E #2E84B5 #A32EB5 #B5602E
split-complementary
#40B52E #602EB5 #B52E84
monochromatic
#1D5315 #2F8422 #40B52E #60D24E #8CDE7F

Accessibility & contrast

On white

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

On black

7.87
#40B52E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B52E
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B52E#FFFFFF#000000##000000
##40B52E1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA413
Deuteranopia (green-blind)
#AC9B3C
Tritanopia (blue-blind)
#2BAF9B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #40b52e;
/* rgb */ color: rgb(64, 181, 46);
/* oklch */ color: oklch(68.1% 0.200 141.2);
Tailwind
colors: {
  custom: {
    50: '#84cc70',
    500: '#40b52e',
    950: '#000000',
  },
}
SCSS
$custom: #40b52e;
$custom-light: #84cc70;
$custom-dark: #000000;
JSON
{
  "hex": "#40b52e",
  "rgb": {
    "r": 64,
    "g": 181,
    "b": 46
  },
  "hsl": {
    "h": 112,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.68141,
    "c": 0.20006,
    "h": 141.2
  },
  "luminance": 0.34335
}

Semantic roles & 50–950 ramp

primary
#40B52E
secondary
#BD78C7
accent
#45E3CE
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #40B52E

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

Preview Lab → · Contrast checker → · Palette generator →

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