#40B668#40B668

#40B668 is a light, vivid green. Relative luminance 0.355; OKLCH L 69.1% C 0.155 H 151.2°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#40B668
RGBrgb(64, 182, 104)
HSLhsl(140, 48%, 48%)
HSVhsv(140, 65%, 71%)
CMYKcmyk(64.8%, 0%, 42.9%, 28.6%)
CIE-LABlab(66.17, -50.29, 30.24)
CIE-LCHlch(66.17, 58.68, 148.98°)
OKLaboklab(69.12% -0.1357 0.0747)
OKLCHoklch(69.12% 0.155 151.2)
XYZxyz(21.3393, 35.5432, 18.8299)
Luminance0.3554 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B668 #B6408E
analogous
#53B640 #40B668 #40B6A3
triadic
#40B668 #6840B6 #B66840
tetradic
#40B668 #4053B6 #B6408E #B6A340
square
#40B668 #4053B6 #B6408E #B6A340
split-complementary
#40B668 #A340B6 #B64053
monochromatic
#205B34 #30894E #40B668 #69CA8A #96DAAD

Accessibility & contrast

On white

2.59
#40B668 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#40B668 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B668
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B668#FFFFFF#000000##000000
##40B6681.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A762
Deuteranopia (green-blind)
#A89D6D
Tritanopia (blue-blind)
#0CB3A3
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #40b668;
/* rgb */ color: rgb(64, 182, 104);
/* oklch */ color: oklch(69.1% 0.155 151.2);
Tailwind
colors: {
  custom: {
    50: '#82cd94',
    500: '#40b668',
    950: '#000000',
  },
}
SCSS
$custom: #40b668;
$custom-light: #82cd94;
$custom-dark: #000000;
JSON
{
  "hex": "#40b668",
  "rgb": {
    "r": 64,
    "g": 182,
    "b": 104
  },
  "hsl": {
    "h": 140.339,
    "s": 47.967,
    "l": 48.235
  },
  "oklch": {
    "l": 0.69122,
    "c": 0.15494,
    "h": 151.2
  },
  "luminance": 0.35545
}

Semantic roles & 50–950 ramp

primary
#40B668
secondary
#C68CB2
accent
#50AAD8
background
#F8FCF9
surface
#F0F9F1
border
#CBD2CB
text
#0C130D
muted
#7D827E

Preview Lab

Preview with #40B668

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

Preview Lab → · Contrast checker → · Palette generator →

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