#40CB79#40CB79

#40CB79 is a light, vivid green. Relative luminance 0.452; OKLCH L 74.8% C 0.167 H 153.2°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#40CB79
RGBrgb(64, 203, 121)
HSLhsl(145, 57%, 52%)
HSVhsv(145, 68%, 80%)
CMYKcmyk(68.5%, 0%, 40.4%, 20.4%)
CIE-LABlab(73.01, -55.31, 30.37)
CIE-LCHlch(73.01, 63.10, 151.23°)
OKLaboklab(74.85% -0.1492 0.0755)
OKLCHoklch(74.85% 0.167 153.2)
XYZxyz(26.9191, 45.1794, 25.3873)
Luminance0.4518 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40CB79 #CB4092
analogous
#4DCB40 #40CB79 #40CBBE
triadic
#40CB79 #7940CB #CB7940
tetradic
#40CB79 #404DCB #CB4092 #CBBE40
square
#40CB79 #404DCB #CB4092 #CBBE40
split-complementary
#40CB79 #BE40CB #CB404D
monochromatic
#1F7241 #2CA25C #40CB79 #70D89B #A0E5BC

Accessibility & contrast

On white

2.09
#40CB79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.04
#40CB79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40CB79
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40CB79#FFFFFF#000000##000000
##40CB791.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBBB73
Deuteranopia (green-blind)
#BAAE7E
Tritanopia (blue-blind)
#00C8B7
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #40cb79;
/* rgb */ color: rgb(64, 203, 121);
/* oklch */ color: oklch(74.8% 0.167 153.2);
Tailwind
colors: {
  custom: {
    50: '#86dca0',
    500: '#40cb79',
    950: '#000000',
  },
}
SCSS
$custom: #40cb79;
$custom-light: #86dca0;
$custom-dark: #000000;
JSON
{
  "hex": "#40cb79",
  "rgb": {
    "r": 64,
    "g": 203,
    "b": 121
  },
  "hsl": {
    "h": 144.604,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.74845,
    "c": 0.16724,
    "h": 153.2
  },
  "luminance": 0.45182
}

Semantic roles & 50–950 ramp

primary
#40CB79
secondary
#D295B9
accent
#47A2E0
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150F
muted
#7D837E

Preview Lab

Preview with #40CB79

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

Preview Lab → · Contrast checker → · Palette generator →

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