#40C079#40C079

#40C079 is a light, vivid green. Relative luminance 0.402; OKLCH L 72.0% C 0.153 H 154.9°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#40C079
RGBrgb(64, 192, 121)
HSLhsl(147, 50%, 50%)
HSVhsv(147, 67%, 75%)
CMYKcmyk(66.7%, 0%, 37%, 24.7%)
CIE-LABlab(69.59, -51.08, 25.83)
CIE-LCHlch(69.59, 57.24, 153.17°)
OKLaboklab(72.03% -0.1382 0.0647)
OKLCHoklch(72.03% 0.153 154.9)
XYZxyz(24.4130, 40.1671, 24.5519)
Luminance0.4017 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C079 #C04087
analogous
#47C040 #40C079 #40C0B9
triadic
#40C079 #7940C0 #C07940
tetradic
#40C079 #4047C0 #C04087 #C0B940
square
#40C079 #4047C0 #C04087 #C0B940
split-complementary
#40C079 #B940C0 #C04047
monochromatic
#21643F #30925C #40C079 #6ECF99 #9CDEBA

Accessibility & contrast

On white

2.32
#40C079 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#40C079 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C079
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C079#FFFFFF#000000##000000
##40C0791.002.329.039.03
#FFFFFF2.321.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFB174
Deuteranopia (green-blind)
#AFA57E
Tritanopia (blue-blind)
#00BEAE
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #40c079;
/* rgb */ color: rgb(64, 192, 121);
/* oklch */ color: oklch(72.0% 0.153 154.9);
Tailwind
colors: {
  custom: {
    50: '#84d4a0',
    500: '#40c079',
    950: '#000000',
  },
}
SCSS
$custom: #40c079;
$custom-light: #84d4a0;
$custom-dark: #000000;
JSON
{
  "hex": "#40c079",
  "rgb": {
    "r": 64,
    "g": 192,
    "b": 121
  },
  "hsl": {
    "h": 146.719,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.72028,
    "c": 0.15262,
    "h": 154.9
  },
  "luminance": 0.4017
}

Semantic roles & 50–950 ramp

primary
#40C079
secondary
#CB91B1
accent
#4E9CDA
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140E
muted
#7D837E

Preview Lab

Preview with #40C079

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

Preview Lab → · Contrast checker → · Palette generator →

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