#40B651#40B651

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

Color values

HEX#40B651
RGBrgb(64, 182, 81)
HSLhsl(129, 48%, 48%)
HSVhsv(129, 65%, 71%)
CMYKcmyk(64.8%, 0%, 55.5%, 28.6%)
CIE-LABlab(65.86, -53.82, 41.42)
CIE-LCHlch(65.86, 67.91, 142.42°)
OKLaboklab(68.76% -0.1455 0.0988)
OKLCHoklch(68.76% 0.176 145.8)
XYZxyz(20.3262, 35.1379, 13.4941)
Luminance0.3514 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B651 #B640A5
analogous
#6AB640 #40B651 #40B68C
triadic
#40B651 #5140B6 #B65140
tetradic
#40B651 #406AB6 #B640A5 #B68C40
square
#40B651 #406AB6 #B640A5 #B68C40
split-complementary
#40B651 #8C40B6 #B6406A
monochromatic
#205B29 #30893D #40B651 #69CA77 #96DAA0

Accessibility & contrast

On white

2.62
#40B651 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##40B651#FFFFFF#000000##000000
##40B6511.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A647
Deuteranopia (green-blind)
#AA9C59
Tritanopia (blue-blind)
#1FB29F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #40b651;
/* rgb */ color: rgb(64, 182, 81);
/* oklch */ color: oklch(68.8% 0.176 145.8);
Tailwind
colors: {
  custom: {
    50: '#83cd84',
    500: '#40b651',
    950: '#000000',
  },
}
SCSS
$custom: #40b651;
$custom-light: #83cd84;
$custom-dark: #000000;
JSON
{
  "hex": "#40b651",
  "rgb": {
    "r": 64,
    "g": 182,
    "b": 81
  },
  "hsl": {
    "h": 128.644,
    "s": 47.967,
    "l": 48.235
  },
  "oklch": {
    "l": 0.68762,
    "c": 0.17587,
    "h": 145.8
  },
  "luminance": 0.3514
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40B651

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

Preview Lab → · Contrast checker → · Palette generator →

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