#40B552#40B552

#40B552 is a light, vivid green. Relative luminance 0.347; OKLCH L 68.5% C 0.174 H 146.0°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#40B552
RGBrgb(64, 181, 82)
HSLhsl(129, 48%, 48%)
HSVhsv(129, 65%, 71%)
CMYKcmyk(64.6%, 0%, 54.7%, 29%)
CIE-LABlab(65.55, -53.32, 40.57)
CIE-LCHlch(65.55, 67.00, 142.74°)
OKLaboklab(68.51% -0.1441 0.097)
OKLCHoklch(68.51% 0.174 146)
XYZxyz(20.1599, 34.7449, 13.6250)
Luminance0.3475 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B552 #B540A3
analogous
#68B540 #40B552 #40B58C
triadic
#40B552 #5240B5 #B55240
tetradic
#40B552 #4068B5 #B540A3 #B58C40
square
#40B552 #4068B5 #B540A3 #B58C40
split-complementary
#40B552 #8C40B5 #B54068
monochromatic
#205B29 #30883E #40B552 #68CA77 #96DAA0

Accessibility & contrast

On white

2.64
#40B552 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#40B552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B552
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B552#FFFFFF#000000##000000
##40B5521.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A549
Deuteranopia (green-blind)
#A99B59
Tritanopia (blue-blind)
#1FB19F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #40b552;
/* rgb */ color: rgb(64, 181, 82);
/* oklch */ color: oklch(68.5% 0.174 146.0);
Tailwind
colors: {
  custom: {
    50: '#82cc85',
    500: '#40b552',
    950: '#000000',
  },
}
SCSS
$custom: #40b552;
$custom-light: #82cc85;
$custom-dark: #000000;
JSON
{
  "hex": "#40b552",
  "rgb": {
    "r": 64,
    "g": 181,
    "b": 82
  },
  "hsl": {
    "h": 129.231,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.68513,
    "c": 0.17371,
    "h": 146
  },
  "luminance": 0.34747
}

Semantic roles & 50–950 ramp

primary
#40B552
secondary
#C58BBC
accent
#50C3D7
background
#F8FCF8
surface
#F0F9EF
border
#CBD2CA
text
#0C130B
muted
#7D827C

Preview Lab

Preview with #40B552

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

Preview Lab → · Contrast checker → · Palette generator →

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