#40B455#40B455

#40B455 is a light, vivid green. Relative luminance 0.344; OKLCH L 68.3% C 0.170 H 146.7°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#40B455
RGBrgb(64, 180, 85)
HSLhsl(131, 48%, 48%)
HSVhsv(131, 64%, 71%)
CMYKcmyk(64.4%, 0%, 52.8%, 29.4%)
CIE-LABlab(65.27, -52.53, 38.76)
CIE-LCHlch(65.27, 65.28, 143.58°)
OKLaboklab(68.29% -0.1419 0.0932)
OKLCHoklch(68.29% 0.17 146.7)
XYZxyz(20.0739, 34.3863, 14.1719)
Luminance0.3439 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B455 #B4409F
analogous
#65B440 #40B455 #40B48F
triadic
#40B455 #5540B4 #B45540
tetradic
#40B455 #4065B4 #B4409F #B48F40
square
#40B455 #4065B4 #B4409F #B48F40
split-complementary
#40B455 #8F40B4 #B44065
monochromatic
#205A2A #308740 #40B455 #68C97A #95D9A1

Accessibility & contrast

On white

2.67
#40B455 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#40B455 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B455
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B455#FFFFFF#000000##000000
##40B4551.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A54D
Deuteranopia (green-blind)
#A89B5C
Tritanopia (blue-blind)
#1EB09E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #40b455;
/* rgb */ color: rgb(64, 180, 85);
/* oklch */ color: oklch(68.3% 0.170 146.7);
Tailwind
colors: {
  custom: {
    50: '#82cb87',
    500: '#40b455',
    950: '#000000',
  },
}
SCSS
$custom: #40b455;
$custom-light: #82cb87;
$custom-dark: #000000;
JSON
{
  "hex": "#40b455",
  "rgb": {
    "r": 64,
    "g": 180,
    "b": 85
  },
  "hsl": {
    "h": 130.862,
    "s": 47.541,
    "l": 47.843
  },
  "oklch": {
    "l": 0.68292,
    "c": 0.16977,
    "h": 146.7
  },
  "luminance": 0.34388
}

Semantic roles & 50–950 ramp

primary
#40B455
secondary
#C58BBA
accent
#51BFD7
background
#F8FCF8
surface
#F0F9F0
border
#CBD2CB
text
#0C130B
muted
#7D827C

Preview Lab

Preview with #40B455

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

Preview Lab → · Contrast checker → · Palette generator →

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