#40B752#40B752

#40B752 is a light, vivid green. Relative luminance 0.356; OKLCH L 69.0% C 0.176 H 146.0°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#40B752
RGBrgb(64, 183, 82)
HSLhsl(129, 48%, 48%)
HSVhsv(129, 65%, 72%)
CMYKcmyk(65%, 0%, 55.2%, 28.2%)
CIE-LABlab(66.19, -54.06, 41.33)
CIE-LCHlch(66.19, 68.05, 142.60°)
OKLaboklab(69.04% -0.1461 0.0987)
OKLCHoklch(69.04% 0.176 146)
XYZxyz(20.5695, 35.5641, 13.7615)
Luminance0.3557 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B752 #B740A5
analogous
#69B740 #40B752 #40B78D
triadic
#40B752 #5240B7 #B75240
tetradic
#40B752 #4069B7 #B740A5 #B78D40
square
#40B752 #4069B7 #B740A5 #B78D40
split-complementary
#40B752 #8D40B7 #B74069
monochromatic
#205C29 #308A3E #40B752 #69CB78 #97DBA1

Accessibility & contrast

On white

2.59
#40B752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#40B752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B752
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B752#FFFFFF#000000##000000
##40B7521.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA749
Deuteranopia (green-blind)
#AB9D5A
Tritanopia (blue-blind)
#1EB3A0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #40b752;
/* rgb */ color: rgb(64, 183, 82);
/* oklch */ color: oklch(69.0% 0.176 146.0);
Tailwind
colors: {
  custom: {
    50: '#83ce85',
    500: '#40b752',
    950: '#000000',
  },
}
SCSS
$custom: #40b752;
$custom-light: #83ce85;
$custom-dark: #000000;
JSON
{
  "hex": "#40b752",
  "rgb": {
    "r": 64,
    "g": 183,
    "b": 82
  },
  "hsl": {
    "h": 129.076,
    "s": 48.178,
    "l": 48.431
  },
  "oklch": {
    "l": 0.69038,
    "c": 0.1763,
    "h": 146
  },
  "luminance": 0.35566
}

Semantic roles & 50–950 ramp

primary
#40B752
secondary
#C68DBE
accent
#50C3D8
background
#F8FCF8
surface
#F0F9EF
border
#CBD2CA
text
#0C140B
muted
#7D827C

Preview Lab

Preview with #40B752

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

Preview Lab → · Contrast checker → · Palette generator →

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