#40B645#40B645

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

Color values

HEX#40B645
RGBrgb(64, 182, 69)
HSLhsl(123, 48%, 48%)
HSVhsv(123, 65%, 71%)
CMYKcmyk(64.8%, 0%, 62.1%, 28.6%)
CIE-LABlab(65.73, -55.30, 46.84)
CIE-LCHlch(65.73, 72.47, 139.74°)
OKLaboklab(68.62% -0.1499 0.1096)
OKLCHoklch(68.62% 0.186 143.8)
XYZxyz(19.9153, 34.9735, 11.3301)
Luminance0.3498 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B645 #B640B1
analogous
#76B640 #40B645 #40B680
triadic
#40B645 #4540B6 #B64540
tetradic
#40B645 #4076B6 #B640B1 #B68040
square
#40B645 #4076B6 #B640B1 #B68040
split-complementary
#40B645 #8040B6 #B64076
monochromatic
#205B23 #308934 #40B645 #69CA6D #96DA99

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40B645#FFFFFF#000000##000000
##40B6451.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)
#B9A638
Deuteranopia (green-blind)
#AB9C4E
Tritanopia (blue-blind)
#24B19E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #40b645;
/* rgb */ color: rgb(64, 182, 69);
/* oklch */ color: oklch(68.6% 0.186 143.8);
Tailwind
colors: {
  custom: {
    50: '#83cd7d',
    500: '#40b645',
    950: '#000000',
  },
}
SCSS
$custom: #40b645;
$custom-light: #83cd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#40b645",
  "rgb": {
    "r": 64,
    "g": 182,
    "b": 69
  },
  "hsl": {
    "h": 122.542,
    "s": 47.967,
    "l": 48.235
  },
  "oklch": {
    "l": 0.68615,
    "c": 0.18572,
    "h": 143.8
  },
  "luminance": 0.34976
}

Semantic roles & 50–950 ramp

primary
#40B645
secondary
#C68CC3
accent
#50D2D8
background
#F8FCF7
surface
#F0F9EE
border
#CBD2C9
text
#0C140A
muted
#7D827C

Preview Lab

Preview with #40B645

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

Preview Lab → · Contrast checker → · Palette generator →

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