#40C673#40C673

#40C673 is a light, vivid green. Relative luminance 0.427; OKLCH L 73.5% C 0.166 H 152.2°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#40C673
RGBrgb(64, 198, 115)
HSLhsl(143, 54%, 51%)
HSVhsv(143, 68%, 78%)
CMYKcmyk(67.7%, 0%, 41.9%, 22.4%)
CIE-LABlab(71.36, -54.49, 31.30)
CIE-LCHlch(71.36, 62.84, 150.13°)
OKLaboklab(73.45% -0.147 0.0775)
OKLCHoklch(73.45% 0.166 152.2)
XYZxyz(25.4008, 42.7132, 23.1222)
Luminance0.4272 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C673 #C64093
analogous
#50C640 #40C673 #40C6B6
triadic
#40C673 #7340C6 #C67340
tetradic
#40C673 #4050C6 #C64093 #C6B640
square
#40C673 #4050C6 #C64093 #C6B640
split-complementary
#40C673 #B640C6 #C64050
monochromatic
#206C3D #2E9B57 #40C673 #6FD496 #9EE2B8

Accessibility & contrast

On white

2.20
#40C673 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.54
#40C673 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C673
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C673#FFFFFF#000000##000000
##40C6731.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B66D
Deuteranopia (green-blind)
#B6AA79
Tritanopia (blue-blind)
#00C3B2
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #40c673;
/* rgb */ color: rgb(64, 198, 115);
/* oklch */ color: oklch(73.5% 0.166 152.2);
Tailwind
colors: {
  custom: {
    50: '#85d89c',
    500: '#40c673',
    950: '#000000',
  },
}
SCSS
$custom: #40c673;
$custom-light: #85d89c;
$custom-dark: #000000;
JSON
{
  "hex": "#40c673",
  "rgb": {
    "r": 64,
    "g": 198,
    "b": 115
  },
  "hsl": {
    "h": 142.836,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.73454,
    "c": 0.16616,
    "h": 152.2
  },
  "luminance": 0.42716
}

Semantic roles & 50–950 ramp

primary
#40C673
secondary
#CE93B8
accent
#4AA5DD
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C150E
muted
#7D837E

Preview Lab

Preview with #40C673

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

Preview Lab → · Contrast checker → · Palette generator →

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