#40C682#40C682

#40C682 is a light, vivid green. Relative luminance 0.431; OKLCH L 73.7% C 0.152 H 156.8°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#40C682
RGBrgb(64, 198, 130)
HSLhsl(150, 54%, 51%)
HSVhsv(150, 68%, 78%)
CMYKcmyk(67.7%, 0%, 34.3%, 22.4%)
CIE-LABlab(71.61, -51.68, 23.81)
CIE-LCHlch(71.61, 56.90, 155.26°)
OKLaboklab(73.75% -0.1402 0.06)
OKLCHoklch(73.75% 0.152 156.8)
XYZxyz(26.3352, 43.0870, 28.0435)
Luminance0.4309 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C682 #C64084
analogous
#41C640 #40C682 #40C6C5
triadic
#40C682 #8240C6 #C68240
tetradic
#40C682 #4041C6 #C64084 #C6C540
square
#40C682 #4041C6 #C64084 #C6C540
split-complementary
#40C682 #C540C6 #C64041
monochromatic
#206C45 #2E9B64 #40C682 #6FD4A1 #9EE2C0

Accessibility & contrast

On white

2.18
#40C682 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.62
#40C682 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C682
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C682#FFFFFF#000000##000000
##40C6821.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B77E
Deuteranopia (green-blind)
#B4AB86
Tritanopia (blue-blind)
#00C4B4
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #40c682;
/* rgb */ color: rgb(64, 198, 130);
/* oklch */ color: oklch(73.7% 0.152 156.8);
Tailwind
colors: {
  custom: {
    50: '#85d8a6',
    500: '#40c682',
    950: '#000000',
  },
}
SCSS
$custom: #40c682;
$custom-light: #85d8a6;
$custom-dark: #000000;
JSON
{
  "hex": "#40c682",
  "rgb": {
    "r": 64,
    "g": 198,
    "b": 130
  },
  "hsl": {
    "h": 149.552,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.73747,
    "c": 0.15245,
    "h": 156.8
  },
  "luminance": 0.4309
}

Semantic roles & 50–950 ramp

primary
#40C682
secondary
#CE93B1
accent
#4A95DD
background
#F8FDFA
surface
#F0FAF4
border
#CBD3CE
text
#0C150F
muted
#7D837F

Preview Lab

Preview with #40C682

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

Preview Lab → · Contrast checker → · Palette generator →

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