#40B52F#40B52F

#40B52F is a light, vivid green. Relative luminance 0.343; OKLCH L 68.1% C 0.199 H 141.3°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#40B52F
RGBrgb(64, 181, 47)
HSLhsl(112, 59%, 45%)
HSVhsv(112, 74%, 71%)
CMYKcmyk(64.6%, 0%, 74%, 29%)
CIE-LABlab(65.23, -57.02, 55.23)
CIE-LCHlch(65.23, 79.38, 135.91°)
OKLaboklab(68.15% -0.1557 0.1247)
OKLCHoklch(68.15% 0.199 141.3)
XYZxyz(19.1503, 34.3411, 8.3081)
Luminance0.3434 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B52F #A42FB5
analogous
#83B52F #40B52F #2FB561
triadic
#40B52F #2F40B5 #B52F40
tetradic
#40B52F #2F83B5 #A42FB5 #B5612F
square
#40B52F #2F83B5 #A42FB5 #B5612F
split-complementary
#40B52F #612FB5 #B52F83
monochromatic
#1E5416 #2F8422 #40B52F #60D150 #8CDE80

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40B52F#FFFFFF#000000##000000
##40B52F1.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)
#BAA415
Deuteranopia (green-blind)
#AC9B3D
Tritanopia (blue-blind)
#2BAF9B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #40b52f;
/* rgb */ color: rgb(64, 181, 47);
/* oklch */ color: oklch(68.1% 0.199 141.3);
Tailwind
colors: {
  custom: {
    50: '#84cc70',
    500: '#40b52f',
    950: '#000000',
  },
}
SCSS
$custom: #40b52f;
$custom-light: #84cc70;
$custom-dark: #000000;
JSON
{
  "hex": "#40b52f",
  "rgb": {
    "r": 64,
    "g": 181,
    "b": 47
  },
  "hsl": {
    "h": 112.388,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.68148,
    "c": 0.19949,
    "h": 141.3
  },
  "luminance": 0.34343
}

Semantic roles & 50–950 ramp

primary
#40B52F
secondary
#BD79C7
accent
#46E2CE
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #40B52F

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

Preview Lab → · Contrast checker → · Palette generator →

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