#40C261#40C261

#40C261 is a light, vivid green. Relative luminance 0.405; OKLCH L 72.1% C 0.177 H 148.3°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#40C261
RGBrgb(64, 194, 97)
HSLhsl(135, 52%, 51%)
HSVhsv(135, 67%, 76%)
CMYKcmyk(67%, 0%, 50%, 23.9%)
CIE-LABlab(69.85, -55.94, 38.47)
CIE-LCHlch(69.85, 67.89, 145.48°)
OKLaboklab(72.12% -0.1508 0.0932)
OKLCHoklch(72.12% 0.177 148.3)
XYZxyz(23.5621, 40.5341, 17.8891)
Luminance0.4054 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C261 #C240A1
analogous
#60C240 #40C261 #40C2A2
triadic
#40C261 #6140C2 #C26140
tetradic
#40C261 #4060C2 #C240A1 #C2A240
square
#40C261 #4060C2 #C240A1 #C2A240
split-complementary
#40C261 #A240C2 #C24060
monochromatic
#216733 #309549 #40C261 #6ED187 #9DE0AE

Accessibility & contrast

On white

2.31
#40C261 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.11
#40C261 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C261
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C261#FFFFFF#000000##000000
##40C2611.002.319.119.11
#FFFFFF2.311.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B159
Deuteranopia (green-blind)
#B4A668
Tritanopia (blue-blind)
#05BEAB
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #40c261;
/* rgb */ color: rgb(64, 194, 97);
/* oklch */ color: oklch(72.1% 0.177 148.3);
Tailwind
colors: {
  custom: {
    50: '#84d590',
    500: '#40c261',
    950: '#000000',
  },
}
SCSS
$custom: #40c261;
$custom-light: #84d590;
$custom-dark: #000000;
JSON
{
  "hex": "#40c261",
  "rgb": {
    "r": 64,
    "g": 194,
    "b": 97
  },
  "hsl": {
    "h": 135.231,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.72123,
    "c": 0.17731,
    "h": 148.3
  },
  "luminance": 0.40537
}

Semantic roles & 50–950 ramp

primary
#40C261
secondary
#CC92BD
accent
#4DB7DB
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140D
muted
#7D837D

Preview Lab

Preview with #40C261

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

Preview Lab → · Contrast checker → · Palette generator →

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