#40C26F#40C26F

#40C26F is a light, vivid green. Relative luminance 0.408; OKLCH L 72.4% C 0.165 H 151.6°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#40C26F
RGBrgb(64, 194, 111)
HSLhsl(142, 52%, 51%)
HSVhsv(142, 67%, 76%)
CMYKcmyk(67%, 0%, 42.8%, 23.9%)
CIE-LABlab(70.05, -53.67, 31.65)
CIE-LCHlch(70.05, 62.31, 149.47°)
OKLaboklab(72.35% -0.1448 0.0782)
OKLCHoklch(72.35% 0.165 151.6)
XYZxyz(24.2734, 40.8187, 21.6354)
Luminance0.4082 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C26F #C24093
analogous
#52C240 #40C26F #40C2B0
triadic
#40C26F #6F40C2 #C26F40
tetradic
#40C26F #4052C2 #C24093 #C2B040
square
#40C26F #4052C2 #C24093 #C2B040
split-complementary
#40C26F #B040C2 #C24052
monochromatic
#21673A #309554 #40C26F #6ED192 #9DE0B5

Accessibility & contrast

On white

2.29
#40C26F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#40C26F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C26F
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C26F#FFFFFF#000000##000000
##40C26F1.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B269
Deuteranopia (green-blind)
#B2A775
Tritanopia (blue-blind)
#00BFAE
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #40c26f;
/* rgb */ color: rgb(64, 194, 111);
/* oklch */ color: oklch(72.4% 0.165 151.6);
Tailwind
colors: {
  custom: {
    50: '#84d599',
    500: '#40c26f',
    950: '#000000',
  },
}
SCSS
$custom: #40c26f;
$custom-light: #84d599;
$custom-dark: #000000;
JSON
{
  "hex": "#40c26f",
  "rgb": {
    "r": 64,
    "g": 194,
    "b": 111
  },
  "hsl": {
    "h": 141.692,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.72353,
    "c": 0.16454,
    "h": 151.6
  },
  "luminance": 0.40821
}

Semantic roles & 50–950 ramp

primary
#40C26F
secondary
#CC92B7
accent
#4DA8DB
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140E
muted
#7D837E

Preview Lab

Preview with #40C26F

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

Preview Lab → · Contrast checker → · Palette generator →

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