#40B45E#40B45E

#40B45E is a light, vivid green. Relative luminance 0.345; OKLCH L 68.4% C 0.162 H 148.7°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#40B45E
RGBrgb(64, 180, 94)
HSLhsl(136, 48%, 48%)
HSVhsv(136, 64%, 71%)
CMYKcmyk(64.4%, 0%, 47.8%, 29.4%)
CIE-LABlab(65.39, -51.18, 34.40)
CIE-LCHlch(65.39, 61.66, 146.09°)
OKLaboklab(68.43% -0.1381 0.0839)
OKLCHoklch(68.43% 0.162 148.7)
XYZxyz(20.4545, 34.5386, 16.1762)
Luminance0.3454 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B45E #B44096
analogous
#5CB440 #40B45E #40B498
triadic
#40B45E #5E40B4 #B45E40
tetradic
#40B45E #405CB4 #B44096 #B49840
square
#40B45E #405CB4 #B44096 #B49840
split-complementary
#40B45E #9840B4 #B4405C
monochromatic
#205A2F #308746 #40B45E #68C981 #95D9A7

Accessibility & contrast

On white

2.66
#40B45E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#40B45E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B45E
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B45E#FFFFFF#000000##000000
##40B45E1.002.667.917.91
#FFFFFF2.661.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A557
Deuteranopia (green-blind)
#A79B64
Tritanopia (blue-blind)
#18B1A0
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #40b45e;
/* rgb */ color: rgb(64, 180, 94);
/* oklch */ color: oklch(68.4% 0.162 148.7);
Tailwind
colors: {
  custom: {
    50: '#82cb8d',
    500: '#40b45e',
    950: '#000000',
  },
}
SCSS
$custom: #40b45e;
$custom-light: #82cb8d;
$custom-dark: #000000;
JSON
{
  "hex": "#40b45e",
  "rgb": {
    "r": 64,
    "g": 180,
    "b": 94
  },
  "hsl": {
    "h": 135.517,
    "s": 47.541,
    "l": 47.843
  },
  "oklch": {
    "l": 0.6843,
    "c": 0.16158,
    "h": 148.7
  },
  "luminance": 0.34541
}

Semantic roles & 50–950 ramp

primary
#40B45E
secondary
#C58BB6
accent
#51B4D7
background
#F8FCF8
surface
#F0F9F0
border
#CBD2CB
text
#0C130C
muted
#7D827D

Preview Lab

Preview with #40B45E

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

Preview Lab → · Contrast checker → · Palette generator →

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