#40B560#40B560

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

Color values

HEX#40B560
RGBrgb(64, 181, 96)
HSLhsl(136, 48%, 48%)
HSVhsv(136, 65%, 71%)
CMYKcmyk(64.6%, 0%, 47%, 29%)
CIE-LABlab(65.73, -51.24, 33.81)
CIE-LCHlch(65.73, 61.39, 146.58°)
OKLaboklab(68.72% -0.1383 0.0827)
OKLCHoklch(68.72% 0.161 149.1)
XYZxyz(20.7480, 34.9801, 16.7225)
Luminance0.3498 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B560 #B54095
analogous
#5BB540 #40B560 #40B59A
triadic
#40B560 #6040B5 #B56040
tetradic
#40B560 #405BB5 #B54095 #B59A40
square
#40B560 #405BB5 #B54095 #B59A40
split-complementary
#40B560 #9A40B5 #B5405B
monochromatic
#205B30 #308848 #40B560 #68CA83 #96DAA8

Accessibility & contrast

On white

2.63
#40B560 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##40B560#FFFFFF#000000##000000
##40B5601.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A659
Deuteranopia (green-blind)
#A89C66
Tritanopia (blue-blind)
#16B2A1
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #40b560;
/* rgb */ color: rgb(64, 181, 96);
/* oklch */ color: oklch(68.7% 0.161 149.1);
Tailwind
colors: {
  custom: {
    50: '#82cc8e',
    500: '#40b560',
    950: '#000000',
  },
}
SCSS
$custom: #40b560;
$custom-light: #82cc8e;
$custom-dark: #000000;
JSON
{
  "hex": "#40b560",
  "rgb": {
    "r": 64,
    "g": 181,
    "b": 96
  },
  "hsl": {
    "h": 136.41,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.68724,
    "c": 0.16108,
    "h": 149.1
  },
  "luminance": 0.34982
}

Semantic roles & 50–950 ramp

primary
#40B560
secondary
#C58BB6
accent
#50B2D7
background
#F8FCF8
surface
#F0F9F0
border
#CBD2CB
text
#0C130C
muted
#7D827D

Preview Lab

Preview with #40B560

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

Preview Lab → · Contrast checker → · Palette generator →

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