#40C661#40C661

#40C661 is a light, vivid green. Relative luminance 0.423; OKLCH L 73.2% C 0.182 H 148.0°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#40C661
RGBrgb(64, 198, 97)
HSLhsl(135, 54%, 51%)
HSVhsv(135, 68%, 78%)
CMYKcmyk(67.7%, 0%, 51%, 22.4%)
CIE-LABlab(71.10, -57.39, 40.03)
CIE-LCHlch(71.10, 69.97, 145.11°)
OKLaboklab(73.16% -0.1547 0.0967)
OKLCHoklch(73.16% 0.182 148)
XYZxyz(24.4643, 42.3386, 18.1898)
Luminance0.4234 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C661 #C640A5
analogous
#62C640 #40C661 #40C6A4
triadic
#40C661 #6140C6 #C66140
tetradic
#40C661 #4062C6 #C640A5 #C6A440
square
#40C661 #4062C6 #C640A5 #C6A440
split-complementary
#40C661 #A440C6 #C64062
monochromatic
#206C33 #2E9B49 #40C661 #6FD488 #9EE2AF

Accessibility & contrast

On white

2.22
#40C661 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.47
#40C661 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C661
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C661#FFFFFF#000000##000000
##40C6611.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B558
Deuteranopia (green-blind)
#B8AA68
Tritanopia (blue-blind)
#00C2AF
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #40c661;
/* rgb */ color: rgb(64, 198, 97);
/* oklch */ color: oklch(73.2% 0.182 148.0);
Tailwind
colors: {
  custom: {
    50: '#85d890',
    500: '#40c661',
    950: '#000000',
  },
}
SCSS
$custom: #40c661;
$custom-light: #85d890;
$custom-dark: #000000;
JSON
{
  "hex": "#40c661",
  "rgb": {
    "r": 64,
    "g": 198,
    "b": 97
  },
  "hsl": {
    "h": 134.776,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.73159,
    "c": 0.18245,
    "h": 148
  },
  "luminance": 0.42341
}

Semantic roles & 50–950 ramp

primary
#40C661
secondary
#CE93C0
accent
#4AB9DD
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C150D
muted
#7D837D

Preview Lab

Preview with #40C661

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

Preview Lab → · Contrast checker → · Palette generator →

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