#40B652#40B652

#40B652 is a light, vivid green. Relative luminance 0.352; OKLCH L 68.8% C 0.175 H 146.0°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#40B652
RGBrgb(64, 182, 82)
HSLhsl(129, 48%, 48%)
HSVhsv(129, 65%, 71%)
CMYKcmyk(64.8%, 0%, 54.9%, 28.6%)
CIE-LABlab(65.87, -53.69, 40.95)
CIE-LCHlch(65.87, 67.52, 142.67°)
OKLaboklab(68.77% -0.1451 0.0979)
OKLCHoklch(68.77% 0.175 146)
XYZxyz(20.3639, 35.1530, 13.6930)
Luminance0.3515 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B652 #B640A4
analogous
#69B640 #40B652 #40B68D
triadic
#40B652 #5240B6 #B65240
tetradic
#40B652 #4069B6 #B640A4 #B68D40
square
#40B652 #4069B6 #B640A4 #B68D40
split-complementary
#40B652 #8D40B6 #B64069
monochromatic
#205B29 #30893E #40B652 #69CA78 #96DAA1

Accessibility & contrast

On white

2.61
#40B652 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#40B652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B652
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B652#FFFFFF#000000##000000
##40B6521.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A649
Deuteranopia (green-blind)
#AA9C5A
Tritanopia (blue-blind)
#1FB2A0
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #40b652;
/* rgb */ color: rgb(64, 182, 82);
/* oklch */ color: oklch(68.8% 0.175 146.0);
Tailwind
colors: {
  custom: {
    50: '#82cd85',
    500: '#40b652',
    950: '#000000',
  },
}
SCSS
$custom: #40b652;
$custom-light: #82cd85;
$custom-dark: #000000;
JSON
{
  "hex": "#40b652",
  "rgb": {
    "r": 64,
    "g": 182,
    "b": 82
  },
  "hsl": {
    "h": 129.153,
    "s": 47.967,
    "l": 48.235
  },
  "oklch": {
    "l": 0.68775,
    "c": 0.17501,
    "h": 146
  },
  "luminance": 0.35155
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40B652

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

Preview Lab → · Contrast checker → · Palette generator →

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