#40C260#40C260

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

Color values

HEX#40C260
RGBrgb(64, 194, 96)
HSLhsl(135, 52%, 51%)
HSVhsv(135, 67%, 76%)
CMYKcmyk(67%, 0%, 50.5%, 23.9%)
CIE-LABlab(69.84, -56.09, 38.95)
CIE-LCHlch(69.84, 68.29, 145.22°)
OKLaboklab(72.11% -0.1512 0.0943)
OKLCHoklch(72.11% 0.178 148.1)
XYZxyz(23.5157, 40.5156, 17.6451)
Luminance0.4052 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C260 #C240A2
analogous
#61C240 #40C260 #40C2A1
triadic
#40C260 #6040C2 #C26040
tetradic
#40C260 #4061C2 #C240A2 #C2A140
square
#40C260 #4061C2 #C240A2 #C2A140
split-complementary
#40C260 #A140C2 #C24061
monochromatic
#216732 #309549 #40C260 #6ED187 #9DE0AD

Accessibility & contrast

On white

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

On black

9.10
#40C260 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C260
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C260#FFFFFF#000000##000000
##40C2601.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B158
Deuteranopia (green-blind)
#B4A667
Tritanopia (blue-blind)
#07BEAB
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #40c260;
/* rgb */ color: rgb(64, 194, 96);
/* oklch */ color: oklch(72.1% 0.178 148.1);
Tailwind
colors: {
  custom: {
    50: '#84d58f',
    500: '#40c260',
    950: '#000000',
  },
}
SCSS
$custom: #40c260;
$custom-light: #84d58f;
$custom-dark: #000000;
JSON
{
  "hex": "#40c260",
  "rgb": {
    "r": 64,
    "g": 194,
    "b": 96
  },
  "hsl": {
    "h": 134.769,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.72108,
    "c": 0.17819,
    "h": 148.1
  },
  "luminance": 0.40518
}

Semantic roles & 50–950 ramp

primary
#40C260
secondary
#CC92BE
accent
#4DB8DB
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140C
muted
#7D837D

Preview Lab

Preview with #40C260

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

Preview Lab → · Contrast checker → · Palette generator →

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