#40B155#40B155

#40B155 is a light, vivid green. Relative luminance 0.332; OKLCH L 67.5% C 0.166 H 146.9°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#40B155
RGBrgb(64, 177, 85)
HSLhsl(131, 47%, 47%)
HSVhsv(131, 64%, 69%)
CMYKcmyk(63.8%, 0%, 52%, 30.6%)
CIE-LABlab(64.31, -51.41, 37.59)
CIE-LCHlch(64.31, 63.69, 143.82°)
OKLaboklab(67.5% -0.1389 0.0906)
OKLCHoklch(67.5% 0.166 146.9)
XYZxyz(19.4749, 33.1882, 13.9722)
Luminance0.3319 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B155 #B1409C
analogous
#64B140 #40B155 #40B18D
triadic
#40B155 #5540B1 #B15540
tetradic
#40B155 #4064B1 #B1409C #B18D40
square
#40B155 #4064B1 #B1409C #B18D40
split-complementary
#40B155 #8D40B1 #B14064
monochromatic
#1F572A #30843F #40B155 #66C878 #93D8A0

Accessibility & contrast

On white

2.75
#40B155 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#40B155 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B155
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B155#FFFFFF#000000##000000
##40B1551.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A24D
Deuteranopia (green-blind)
#A5985C
Tritanopia (blue-blind)
#20AD9C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #40b155;
/* rgb */ color: rgb(64, 177, 85);
/* oklch */ color: oklch(67.5% 0.166 146.9);
Tailwind
colors: {
  custom: {
    50: '#81c987',
    500: '#40b155',
    950: '#000000',
  },
}
SCSS
$custom: #40b155;
$custom-light: #81c987;
$custom-dark: #000000;
JSON
{
  "hex": "#40b155",
  "rgb": {
    "r": 64,
    "g": 177,
    "b": 85
  },
  "hsl": {
    "h": 131.15,
    "s": 46.888,
    "l": 47.255
  },
  "oklch": {
    "l": 0.67504,
    "c": 0.16581,
    "h": 146.9
  },
  "luminance": 0.3319
}

Semantic roles & 50–950 ramp

primary
#40B155
secondary
#C389B9
accent
#51BED7
background
#F8FCF8
surface
#F0F8F0
border
#CBD1CB
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #40B155

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

Preview Lab → · Contrast checker → · Palette generator →

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