#40C668#40C668

#40C668 is a light, vivid green. Relative luminance 0.425; OKLCH L 73.3% C 0.176 H 149.5°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#40C668
RGBrgb(64, 198, 104)
HSLhsl(138, 54%, 51%)
HSVhsv(138, 68%, 78%)
CMYKcmyk(67.7%, 0%, 47.5%, 22.4%)
CIE-LABlab(71.20, -56.33, 36.68)
CIE-LCHlch(71.20, 67.21, 146.93°)
OKLaboklab(73.27% -0.1518 0.0895)
OKLCHoklch(73.27% 0.176 149.5)
XYZxyz(24.8052, 42.4750, 19.9852)
Luminance0.4248 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C668 #C6409E
analogous
#5BC640 #40C668 #40C6AB
triadic
#40C668 #6840C6 #C66840
tetradic
#40C668 #405BC6 #C6409E #C6AB40
square
#40C668 #405BC6 #C6409E #C6AB40
split-complementary
#40C668 #AB40C6 #C6405B
monochromatic
#206C37 #2E9B4F #40C668 #6FD48D #9EE2B3

Accessibility & contrast

On white

2.21
#40C668 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.50
#40C668 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C668
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C668#FFFFFF#000000##000000
##40C6681.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B561
Deuteranopia (green-blind)
#B7AA6F
Tritanopia (blue-blind)
#00C2B0
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #40c668;
/* rgb */ color: rgb(64, 198, 104);
/* oklch */ color: oklch(73.3% 0.176 149.5);
Tailwind
colors: {
  custom: {
    50: '#85d894',
    500: '#40c668',
    950: '#000000',
  },
}
SCSS
$custom: #40c668;
$custom-light: #85d894;
$custom-dark: #000000;
JSON
{
  "hex": "#40c668",
  "rgb": {
    "r": 64,
    "g": 198,
    "b": 104
  },
  "hsl": {
    "h": 137.91,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.73267,
    "c": 0.17621,
    "h": 149.5
  },
  "luminance": 0.42478
}

Semantic roles & 50–950 ramp

primary
#40C668
secondary
#CE93BD
accent
#4AB2DD
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C150D
muted
#7D837E

Preview Lab

Preview with #40C668

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

Preview Lab → · Contrast checker → · Palette generator →

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