#40B661#40B661

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

Color values

HEX#40B661
RGBrgb(64, 182, 97)
HSLhsl(137, 48%, 48%)
HSVhsv(137, 65%, 71%)
CMYKcmyk(64.8%, 0%, 46.7%, 28.6%)
CIE-LABlab(66.06, -51.46, 33.72)
CIE-LCHlch(66.06, 61.53, 146.76°)
OKLaboklab(69% -0.1388 0.0825)
OKLCHoklch(69% 0.161 149.3)
XYZxyz(20.9984, 35.4068, 17.0345)
Luminance0.3541 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B661 #B64095
analogous
#5AB640 #40B661 #40B69C
triadic
#40B661 #6140B6 #B66140
tetradic
#40B661 #405AB6 #B64095 #B69C40
square
#40B661 #405AB6 #B64095 #B69C40
split-complementary
#40B661 #9C40B6 #B6405A
monochromatic
#205B31 #308949 #40B661 #69CA84 #96DAA9

Accessibility & contrast

On white

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

On black

8.08
#40B661 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B661
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B661#FFFFFF#000000##000000
##40B6611.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A75A
Deuteranopia (green-blind)
#A99C67
Tritanopia (blue-blind)
#14B3A2
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #40b661;
/* rgb */ color: rgb(64, 182, 97);
/* oklch */ color: oklch(69.0% 0.161 149.3);
Tailwind
colors: {
  custom: {
    50: '#82cd8f',
    500: '#40b661',
    950: '#000000',
  },
}
SCSS
$custom: #40b661;
$custom-light: #82cd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#40b661",
  "rgb": {
    "r": 64,
    "g": 182,
    "b": 97
  },
  "hsl": {
    "h": 136.78,
    "s": 47.967,
    "l": 48.235
  },
  "oklch": {
    "l": 0.69001,
    "c": 0.16149,
    "h": 149.3
  },
  "luminance": 0.35409
}

Semantic roles & 50–950 ramp

primary
#40B661
secondary
#C68CB6
accent
#50B2D8
background
#F8FCF8
surface
#F0F9F0
border
#CBD2CB
text
#0C130C
muted
#7D827D

Preview Lab

Preview with #40B661

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

Preview Lab → · Contrast checker → · Palette generator →

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