#40C873#40C873

#40C873 is a light, vivid green. Relative luminance 0.436; OKLCH L 74.0% C 0.169 H 151.9°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#40C873
RGBrgb(64, 200, 115)
HSLhsl(143, 55%, 52%)
HSVhsv(143, 68%, 78%)
CMYKcmyk(68%, 0%, 42.5%, 21.6%)
CIE-LABlab(71.98, -55.24, 32.11)
CIE-LCHlch(71.98, 63.90, 149.83°)
OKLaboklab(73.97% -0.149 0.0794)
OKLCHoklch(73.97% 0.169 151.9)
XYZxyz(25.8610, 43.6335, 23.2755)
Luminance0.4364 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C873 #C84095
analogous
#51C840 #40C873 #40C8B7
triadic
#40C873 #7340C8 #C87340
tetradic
#40C873 #4051C8 #C84095 #C8B740
square
#40C873 #4051C8 #C84095 #C8B740
split-complementary
#40C873 #B740C8 #C84051
monochromatic
#206E3D #2D9D57 #40C873 #70D696 #9FE3B9

Accessibility & contrast

On white

2.16
#40C873 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.73
#40C873 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C873
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C873#FFFFFF#000000##000000
##40C8731.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B86D
Deuteranopia (green-blind)
#B8AC79
Tritanopia (blue-blind)
#00C5B3
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #40c873;
/* rgb */ color: rgb(64, 200, 115);
/* oklch */ color: oklch(74.0% 0.169 151.9);
Tailwind
colors: {
  custom: {
    50: '#85da9c',
    500: '#40c873',
    950: '#000000',
  },
}
SCSS
$custom: #40c873;
$custom-light: #85da9c;
$custom-dark: #000000;
JSON
{
  "hex": "#40c873",
  "rgb": {
    "r": 64,
    "g": 200,
    "b": 115
  },
  "hsl": {
    "h": 142.5,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.73968,
    "c": 0.16879,
    "h": 151.9
  },
  "luminance": 0.43636
}

Semantic roles & 50–950 ramp

primary
#40C873
secondary
#D094B9
accent
#49A7DF
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150E
muted
#7D837E

Preview Lab

Preview with #40C873

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

Preview Lab → · Contrast checker → · Palette generator →

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