#40B452#40B452

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

Color values

HEX#40B452
RGBrgb(64, 180, 82)
HSLhsl(129, 48%, 48%)
HSVhsv(129, 64%, 71%)
CMYKcmyk(64.4%, 0%, 54.4%, 29.4%)
CIE-LABlab(65.23, -52.95, 40.18)
CIE-LCHlch(65.23, 66.47, 142.81°)
OKLaboklab(68.25% -0.1431 0.0962)
OKLCHoklch(68.25% 0.172 146.1)
XYZxyz(19.9573, 34.3397, 13.5575)
Luminance0.3434 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B452 #B440A2
analogous
#68B440 #40B452 #40B48C
triadic
#40B452 #5240B4 #B45240
tetradic
#40B452 #4068B4 #B440A2 #B48C40
square
#40B452 #4068B4 #B440A2 #B48C40
split-complementary
#40B452 #8C40B4 #B44068
monochromatic
#205A29 #30873D #40B452 #68C977 #95D9A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40B452#FFFFFF#000000##000000
##40B4521.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)
#B7A449
Deuteranopia (green-blind)
#A89A59
Tritanopia (blue-blind)
#20B09E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #40b452;
/* rgb */ color: rgb(64, 180, 82);
/* oklch */ color: oklch(68.3% 0.172 146.1);
Tailwind
colors: {
  custom: {
    50: '#82cb85',
    500: '#40b452',
    950: '#000000',
  },
}
SCSS
$custom: #40b452;
$custom-light: #82cb85;
$custom-dark: #000000;
JSON
{
  "hex": "#40b452",
  "rgb": {
    "r": 64,
    "g": 180,
    "b": 82
  },
  "hsl": {
    "h": 129.31,
    "s": 47.541,
    "l": 47.843
  },
  "oklch": {
    "l": 0.6825,
    "c": 0.17242,
    "h": 146.1
  },
  "luminance": 0.34342
}

Semantic roles & 50–950 ramp

primary
#40B452
secondary
#C58BBC
accent
#51C2D7
background
#F8FCF8
surface
#F0F9EF
border
#CBD2CA
text
#0C130B
muted
#7D827C

Preview Lab

Preview with #40B452

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

Preview Lab → · Contrast checker → · Palette generator →

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