#40B663#40B663

#40B663 is a light, vivid green. Relative luminance 0.354; OKLCH L 69.0% C 0.160 H 149.8°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#40B663
RGBrgb(64, 182, 99)
HSLhsl(138, 48%, 48%)
HSVhsv(138, 65%, 71%)
CMYKcmyk(64.8%, 0%, 45.6%, 28.6%)
CIE-LABlab(66.09, -51.13, 32.73)
CIE-LCHlch(66.09, 60.71, 147.37°)
OKLaboklab(69.04% -0.138 0.0803)
OKLCHoklch(69.04% 0.16 149.8)
XYZxyz(21.0928, 35.4446, 17.5318)
Luminance0.3545 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B663 #B64093
analogous
#58B640 #40B663 #40B69E
triadic
#40B663 #6340B6 #B66340
tetradic
#40B663 #4058B6 #B64093 #B69E40
square
#40B663 #4058B6 #B64093 #B69E40
split-complementary
#40B663 #9E40B6 #B64058
monochromatic
#205B32 #30894A #40B663 #69CA86 #96DAAA

Accessibility & contrast

On white

2.60
#40B663 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#40B663 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B663
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B663#FFFFFF#000000##000000
##40B6631.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A75D
Deuteranopia (green-blind)
#A89D69
Tritanopia (blue-blind)
#12B3A2
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #40b663;
/* rgb */ color: rgb(64, 182, 99);
/* oklch */ color: oklch(69.0% 0.160 149.8);
Tailwind
colors: {
  custom: {
    50: '#82cd90',
    500: '#40b663',
    950: '#000000',
  },
}
SCSS
$custom: #40b663;
$custom-light: #82cd90;
$custom-dark: #000000;
JSON
{
  "hex": "#40b663",
  "rgb": {
    "r": 64,
    "g": 182,
    "b": 99
  },
  "hsl": {
    "h": 137.797,
    "s": 47.967,
    "l": 48.235
  },
  "oklch": {
    "l": 0.69035,
    "c": 0.15963,
    "h": 149.8
  },
  "luminance": 0.35447
}

Semantic roles & 50–950 ramp

primary
#40B663
secondary
#C68CB5
accent
#50AFD8
background
#F8FCF8
surface
#F0F9F0
border
#CBD2CB
text
#0C130D
muted
#7D827D

Preview Lab

Preview with #40B663

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

Preview Lab → · Contrast checker → · Palette generator →

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