#40B561#40B561

#40B561 is a light, vivid green. Relative luminance 0.350; OKLCH L 68.7% C 0.160 H 149.4°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#40B561
RGBrgb(64, 181, 97)
HSLhsl(137, 48%, 48%)
HSVhsv(137, 65%, 71%)
CMYKcmyk(64.6%, 0%, 46.4%, 29%)
CIE-LABlab(65.75, -51.08, 33.32)
CIE-LCHlch(65.75, 60.99, 146.88°)
OKLaboklab(68.74% -0.1378 0.0816)
OKLCHoklch(68.74% 0.16 149.4)
XYZxyz(20.7943, 34.9987, 16.9665)
Luminance0.3500 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B561 #B54094
analogous
#59B540 #40B561 #40B59B
triadic
#40B561 #6140B5 #B56140
tetradic
#40B561 #4059B5 #B54094 #B59B40
square
#40B561 #4059B5 #B54094 #B59B40
split-complementary
#40B561 #9B40B5 #B54059
monochromatic
#205B31 #308849 #40B561 #68CA84 #96DAA9

Accessibility & contrast

On white

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

On black

8.00
#40B561 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B561
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B561#FFFFFF#000000##000000
##40B5611.002.628.008.00
#FFFFFF2.621.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A65A
Deuteranopia (green-blind)
#A89C67
Tritanopia (blue-blind)
#15B2A1
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #40b561;
/* rgb */ color: rgb(64, 181, 97);
/* oklch */ color: oklch(68.7% 0.160 149.4);
Tailwind
colors: {
  custom: {
    50: '#82cc8f',
    500: '#40b561',
    950: '#000000',
  },
}
SCSS
$custom: #40b561;
$custom-light: #82cc8f;
$custom-dark: #000000;
JSON
{
  "hex": "#40b561",
  "rgb": {
    "r": 64,
    "g": 181,
    "b": 97
  },
  "hsl": {
    "h": 136.923,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.6874,
    "c": 0.16014,
    "h": 149.4
  },
  "luminance": 0.35001
}

Semantic roles & 50–950 ramp

primary
#40B561
secondary
#C58BB5
accent
#50B1D7
background
#F8FCF8
surface
#F0F9F0
border
#CBD2CB
text
#0C130C
muted
#7D827D

Preview Lab

Preview with #40B561

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

Preview Lab → · Contrast checker → · Palette generator →

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