#40B551#40B551

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

Color values

HEX#40B551
RGBrgb(64, 181, 81)
HSLhsl(129, 48%, 48%)
HSVhsv(129, 65%, 71%)
CMYKcmyk(64.6%, 0%, 55.2%, 29%)
CIE-LABlab(65.54, -53.46, 41.04)
CIE-LCHlch(65.54, 67.39, 142.49°)
OKLaboklab(68.5% -0.1445 0.098)
OKLCHoklch(68.5% 0.175 145.9)
XYZxyz(20.1221, 34.7298, 13.4261)
Luminance0.3473 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B551 #B540A4
analogous
#69B540 #40B551 #40B58B
triadic
#40B551 #5140B5 #B55140
tetradic
#40B551 #4069B5 #B540A4 #B58B40
square
#40B551 #4069B5 #B540A4 #B58B40
split-complementary
#40B551 #8B40B5 #B54069
monochromatic
#205B29 #30883D #40B551 #68CA77 #96DAA0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40B551#FFFFFF#000000##000000
##40B5511.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)
#B8A548
Deuteranopia (green-blind)
#A99B59
Tritanopia (blue-blind)
#20B19F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #40b551;
/* rgb */ color: rgb(64, 181, 81);
/* oklch */ color: oklch(68.5% 0.175 145.9);
Tailwind
colors: {
  custom: {
    50: '#82cc84',
    500: '#40b551',
    950: '#000000',
  },
}
SCSS
$custom: #40b551;
$custom-light: #82cc84;
$custom-dark: #000000;
JSON
{
  "hex": "#40b551",
  "rgb": {
    "r": 64,
    "g": 181,
    "b": 81
  },
  "hsl": {
    "h": 128.718,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.68499,
    "c": 0.17458,
    "h": 145.9
  },
  "luminance": 0.34732
}

Semantic roles & 50–950 ramp

primary
#40B551
secondary
#C58BBD
accent
#50C4D7
background
#F8FCF8
surface
#F0F9EF
border
#CBD2CA
text
#0C130B
muted
#7D827C

Preview Lab

Preview with #40B551

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

Preview Lab → · Contrast checker → · Palette generator →

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