#40BB5F#40BB5F

#40BB5F is a light, vivid green. Relative luminance 0.375; OKLCH L 70.3% C 0.170 H 148.4°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#40BB5F
RGBrgb(64, 187, 95)
HSLhsl(135, 49%, 49%)
HSVhsv(135, 66%, 73%)
CMYKcmyk(65.8%, 0%, 49.2%, 26.7%)
CIE-LABlab(67.62, -53.66, 36.69)
CIE-LCHlch(67.62, 65.01, 145.64°)
OKLaboklab(70.27% -0.1447 0.0891)
OKLCHoklch(70.27% 0.17 148.4)
XYZxyz(21.9486, 37.4546, 16.8970)
Luminance0.3746 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BB5F #BB409C
analogous
#5FBB40 #40BB5F #40BB9D
triadic
#40BB5F #5F40BB #BB5F40
tetradic
#40BB5F #405FBB #BB409C #BB9D40
square
#40BB5F #405FBB #BB409C #BB9D40
split-complementary
#40BB5F #9D40BB #BB405F
monochromatic
#216031 #308D48 #40BB5F #6CCD84 #99DCAA

Accessibility & contrast

On white

2.47
#40BB5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#40BB5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BB5F
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BB5F#FFFFFF#000000##000000
##40BB5F1.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAB57
Deuteranopia (green-blind)
#ADA166
Tritanopia (blue-blind)
#11B7A5
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #40bb5f;
/* rgb */ color: rgb(64, 187, 95);
/* oklch */ color: oklch(70.3% 0.170 148.4);
Tailwind
colors: {
  custom: {
    50: '#83d08e',
    500: '#40bb5f',
    950: '#000000',
  },
}
SCSS
$custom: #40bb5f;
$custom-light: #83d08e;
$custom-dark: #000000;
JSON
{
  "hex": "#40bb5f",
  "rgb": {
    "r": 64,
    "g": 187,
    "b": 95
  },
  "hsl": {
    "h": 135.122,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.70272,
    "c": 0.16997,
    "h": 148.4
  },
  "luminance": 0.37457
}

Semantic roles & 50–950 ramp

primary
#40BB5F
secondary
#C88FBA
accent
#4FB6D9
background
#F8FCF8
surface
#F0F9F0
border
#CBD2CB
text
#0C140C
muted
#7D827D

Preview Lab

Preview with #40BB5F

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

Preview Lab → · Contrast checker → · Palette generator →

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