#40B662#40B662

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

Color values

HEX#40B662
RGBrgb(64, 182, 98)
HSLhsl(137, 48%, 48%)
HSVhsv(137, 65%, 71%)
CMYKcmyk(64.8%, 0%, 46.2%, 28.6%)
CIE-LABlab(66.08, -51.30, 33.23)
CIE-LCHlch(66.08, 61.12, 147.07°)
OKLaboklab(69.02% -0.1384 0.0814)
OKLCHoklch(69.02% 0.161 149.5)
XYZxyz(21.0453, 35.4256, 17.2816)
Luminance0.3543 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B662 #B64094
analogous
#59B640 #40B662 #40B69D
triadic
#40B662 #6240B6 #B66240
tetradic
#40B662 #4059B6 #B64094 #B69D40
square
#40B662 #4059B6 #B64094 #B69D40
split-complementary
#40B662 #9D40B6 #B64059
monochromatic
#205B31 #30894A #40B662 #69CA85 #96DAAA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40B662#FFFFFF#000000##000000
##40B6621.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)
#B7A75B
Deuteranopia (green-blind)
#A89C68
Tritanopia (blue-blind)
#13B3A2
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #40b662;
/* rgb */ color: rgb(64, 182, 98);
/* oklch */ color: oklch(69.0% 0.161 149.5);
Tailwind
colors: {
  custom: {
    50: '#82cd90',
    500: '#40b662',
    950: '#000000',
  },
}
SCSS
$custom: #40b662;
$custom-light: #82cd90;
$custom-dark: #000000;
JSON
{
  "hex": "#40b662",
  "rgb": {
    "r": 64,
    "g": 182,
    "b": 98
  },
  "hsl": {
    "h": 137.288,
    "s": 47.967,
    "l": 48.235
  },
  "oklch": {
    "l": 0.69018,
    "c": 0.16056,
    "h": 149.5
  },
  "luminance": 0.35428
}

Semantic roles & 50–950 ramp

primary
#40B662
secondary
#C68CB5
accent
#50B1D8
background
#F8FCF8
surface
#F0F9F0
border
#CBD2CB
text
#0C130C
muted
#7D827D

Preview Lab

Preview with #40B662

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

Preview Lab → · Contrast checker → · Palette generator →

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