#40C679#40C679

#40C679 is a light, vivid green. Relative luminance 0.429; OKLCH L 73.6% C 0.161 H 153.9°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#40C679
RGBrgb(64, 198, 121)
HSLhsl(146, 54%, 51%)
HSVhsv(146, 68%, 78%)
CMYKcmyk(67.7%, 0%, 38.9%, 22.4%)
CIE-LABlab(71.46, -53.41, 28.32)
CIE-LCHlch(71.46, 60.45, 152.06°)
OKLaboklab(73.57% -0.1443 0.0706)
OKLCHoklch(73.57% 0.161 153.9)
XYZxyz(25.7574, 42.8558, 25.0000)
Luminance0.4286 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C679 #C6408D
analogous
#4AC640 #40C679 #40C6BC
triadic
#40C679 #7940C6 #C67940
tetradic
#40C679 #404AC6 #C6408D #C6BC40
square
#40C679 #404AC6 #C6408D #C6BC40
split-complementary
#40C679 #BC40C6 #C6404A
monochromatic
#206C40 #2E9B5C #40C679 #6FD49A #9EE2BB

Accessibility & contrast

On white

2.19
#40C679 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#40C679 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C679
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C679#FFFFFF#000000##000000
##40C6791.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B674
Deuteranopia (green-blind)
#B5AA7E
Tritanopia (blue-blind)
#00C4B3
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #40c679;
/* rgb */ color: rgb(64, 198, 121);
/* oklch */ color: oklch(73.6% 0.161 153.9);
Tailwind
colors: {
  custom: {
    50: '#85d8a0',
    500: '#40c679',
    950: '#000000',
  },
}
SCSS
$custom: #40c679;
$custom-light: #85d8a0;
$custom-dark: #000000;
JSON
{
  "hex": "#40c679",
  "rgb": {
    "r": 64,
    "g": 198,
    "b": 121
  },
  "hsl": {
    "h": 145.522,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.73566,
    "c": 0.16064,
    "h": 153.9
  },
  "luminance": 0.42859
}

Semantic roles & 50–950 ramp

primary
#40C679
secondary
#CE93B5
accent
#4A9FDD
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C150F
muted
#7D837E

Preview Lab

Preview with #40C679

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

Preview Lab → · Contrast checker → · Palette generator →

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