#40C077#40C077

#40C077 is a light, vivid green. Relative luminance 0.401; OKLCH L 72.0% C 0.154 H 154.3°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#40C077
RGBrgb(64, 192, 119)
HSLhsl(146, 50%, 50%)
HSVhsv(146, 67%, 75%)
CMYKcmyk(66.7%, 0%, 38%, 24.7%)
CIE-LABlab(69.55, -51.46, 26.84)
CIE-LCHlch(69.55, 58.04, 152.46°)
OKLaboklab(71.99% -0.1391 0.0671)
OKLCHoklch(71.99% 0.154 154.3)
XYZxyz(24.2916, 40.1186, 23.9126)
Luminance0.4012 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C077 #C04089
analogous
#49C040 #40C077 #40C0B7
triadic
#40C077 #7740C0 #C07740
tetradic
#40C077 #4049C0 #C04089 #C0B740
square
#40C077 #4049C0 #C04089 #C0B740
split-complementary
#40C077 #B740C0 #C04049
monochromatic
#21643E #30925A #40C077 #6ECF98 #9CDEB9

Accessibility & contrast

On white

2.33
#40C077 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#40C077 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C077
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C077#FFFFFF#000000##000000
##40C0771.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40c077;
/* rgb */ color: rgb(64, 192, 119);
/* oklch */ color: oklch(72.0% 0.154 154.3);
Tailwind
colors: {
  custom: {
    50: '#84d49f',
    500: '#40c077',
    950: '#000000',
  },
}
SCSS
$custom: #40c077;
$custom-light: #84d49f;
$custom-dark: #000000;
JSON
{
  "hex": "#40c077",
  "rgb": {
    "r": 64,
    "g": 192,
    "b": 119
  },
  "hsl": {
    "h": 145.781,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.71989,
    "c": 0.15447,
    "h": 154.3
  },
  "luminance": 0.40121
}

Semantic roles & 50–950 ramp

primary
#40C077
secondary
#CB91B2
accent
#4E9EDA
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140E
muted
#7D837E

Preview Lab

Preview with #40C077

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

Preview Lab → · Contrast checker → · Palette generator →

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