#40C672#40C672

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

Color values

HEX#40C672
RGBrgb(64, 198, 114)
HSLhsl(142, 54%, 51%)
HSVhsv(142, 68%, 78%)
CMYKcmyk(67.7%, 0%, 42.4%, 22.4%)
CIE-LABlab(71.34, -54.66, 31.79)
CIE-LCHlch(71.34, 63.24, 149.82°)
OKLaboklab(73.44% -0.1474 0.0786)
OKLCHoklch(73.44% 0.167 151.9)
XYZxyz(25.3436, 42.6903, 22.8207)
Luminance0.4269 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C672 #C64094
analogous
#51C640 #40C672 #40C6B5
triadic
#40C672 #7240C6 #C67240
tetradic
#40C672 #4051C6 #C64094 #C6B540
square
#40C672 #4051C6 #C64094 #C6B540
split-complementary
#40C672 #B540C6 #C64051
monochromatic
#206C3C #2E9B57 #40C672 #6FD495 #9EE2B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40C672#FFFFFF#000000##000000
##40C6721.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)
#C6B66C
Deuteranopia (green-blind)
#B6AA78
Tritanopia (blue-blind)
#00C3B1
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #40c672;
/* rgb */ color: rgb(64, 198, 114);
/* oklch */ color: oklch(73.4% 0.167 151.9);
Tailwind
colors: {
  custom: {
    50: '#85d89b',
    500: '#40c672',
    950: '#000000',
  },
}
SCSS
$custom: #40c672;
$custom-light: #85d89b;
$custom-dark: #000000;
JSON
{
  "hex": "#40c672",
  "rgb": {
    "r": 64,
    "g": 198,
    "b": 114
  },
  "hsl": {
    "h": 142.388,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.73436,
    "c": 0.16707,
    "h": 151.9
  },
  "luminance": 0.42693
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40C672

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

Preview Lab → · Contrast checker → · Palette generator →

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