#40B646#40B646

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

Color values

HEX#40B646
RGBrgb(64, 182, 70)
HSLhsl(123, 48%, 48%)
HSVhsv(123, 65%, 71%)
CMYKcmyk(64.8%, 0%, 61.5%, 28.6%)
CIE-LABlab(65.74, -55.19, 46.40)
CIE-LCHlch(65.74, 72.10, 139.94°)
OKLaboklab(68.63% -0.1496 0.1087)
OKLCHoklch(68.63% 0.185 144)
XYZxyz(19.9466, 34.9861, 11.4950)
Luminance0.3499 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B646 #B640B0
analogous
#75B640 #40B646 #40B681
triadic
#40B646 #4640B6 #B64640
tetradic
#40B646 #4075B6 #B640B0 #B68140
square
#40B646 #4075B6 #B640B0 #B68140
split-complementary
#40B646 #8140B6 #B64075
monochromatic
#205B23 #308935 #40B646 #69CA6E #96DA9A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40B646#FFFFFF#000000##000000
##40B6461.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)
#B9A63A
Deuteranopia (green-blind)
#AB9C4F
Tritanopia (blue-blind)
#24B19E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #40b646;
/* rgb */ color: rgb(64, 182, 70);
/* oklch */ color: oklch(68.6% 0.185 144.0);
Tailwind
colors: {
  custom: {
    50: '#83cd7d',
    500: '#40b646',
    950: '#000000',
  },
}
SCSS
$custom: #40b646;
$custom-light: #83cd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#40b646",
  "rgb": {
    "r": 64,
    "g": 182,
    "b": 70
  },
  "hsl": {
    "h": 123.051,
    "s": 47.967,
    "l": 48.235
  },
  "oklch": {
    "l": 0.68626,
    "c": 0.18493,
    "h": 144
  },
  "luminance": 0.34988
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40B646

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

Preview Lab → · Contrast checker → · Palette generator →

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