#40C078#40C078

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

Color values

HEX#40C078
RGBrgb(64, 192, 120)
HSLhsl(146, 50%, 50%)
HSVhsv(146, 67%, 75%)
CMYKcmyk(66.7%, 0%, 37.5%, 24.7%)
CIE-LABlab(69.57, -51.27, 26.34)
CIE-LCHlch(69.57, 57.64, 152.81°)
OKLaboklab(72.01% -0.1387 0.0659)
OKLCHoklch(72.01% 0.154 154.6)
XYZxyz(24.3520, 40.1427, 24.2306)
Luminance0.4014 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C078 #C04088
analogous
#48C040 #40C078 #40C0B8
triadic
#40C078 #7840C0 #C07840
tetradic
#40C078 #4048C0 #C04088 #C0B840
square
#40C078 #4048C0 #C04088 #C0B840
split-complementary
#40C078 #B840C0 #C04048
monochromatic
#21643F #30925B #40C078 #6ECF99 #9CDEB9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40C078#FFFFFF#000000##000000
##40C0781.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40c078;
/* rgb */ color: rgb(64, 192, 120);
/* oklch */ color: oklch(72.0% 0.154 154.6);
Tailwind
colors: {
  custom: {
    50: '#84d49f',
    500: '#40c078',
    950: '#000000',
  },
}
SCSS
$custom: #40c078;
$custom-light: #84d49f;
$custom-dark: #000000;
JSON
{
  "hex": "#40c078",
  "rgb": {
    "r": 64,
    "g": 192,
    "b": 120
  },
  "hsl": {
    "h": 146.25,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.72008,
    "c": 0.15354,
    "h": 154.6
  },
  "luminance": 0.40145
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40C078

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

Preview Lab → · Contrast checker → · Palette generator →

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