#40C662#40C662

#40C662 is a light, vivid green. Relative luminance 0.424; OKLCH L 73.2% C 0.182 H 148.2°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#40C662
RGBrgb(64, 198, 98)
HSLhsl(135, 54%, 51%)
HSVhsv(135, 68%, 78%)
CMYKcmyk(67.7%, 0%, 50.5%, 22.4%)
CIE-LABlab(71.12, -57.25, 39.55)
CIE-LCHlch(71.12, 69.58, 145.36°)
OKLaboklab(73.17% -0.1543 0.0957)
OKLCHoklch(73.17% 0.182 148.2)
XYZxyz(24.5112, 42.3574, 18.4369)
Luminance0.4236 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C662 #C640A4
analogous
#61C640 #40C662 #40C6A5
triadic
#40C662 #6240C6 #C66240
tetradic
#40C662 #4061C6 #C640A4 #C6A540
square
#40C662 #4061C6 #C640A4 #C6A540
split-complementary
#40C662 #A540C6 #C64061
monochromatic
#206C33 #2E9B4A #40C662 #6FD489 #9EE2AF

Accessibility & contrast

On white

2.22
#40C662 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.47
#40C662 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C662
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C662#FFFFFF#000000##000000
##40C6621.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B55A
Deuteranopia (green-blind)
#B8AA69
Tritanopia (blue-blind)
#00C2AF
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #40c662;
/* rgb */ color: rgb(64, 198, 98);
/* oklch */ color: oklch(73.2% 0.182 148.2);
Tailwind
colors: {
  custom: {
    50: '#85d890',
    500: '#40c662',
    950: '#000000',
  },
}
SCSS
$custom: #40c662;
$custom-light: #85d890;
$custom-dark: #000000;
JSON
{
  "hex": "#40c662",
  "rgb": {
    "r": 64,
    "g": 198,
    "b": 98
  },
  "hsl": {
    "h": 135.224,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.73174,
    "c": 0.18157,
    "h": 148.2
  },
  "luminance": 0.4236
}

Semantic roles & 50–950 ramp

primary
#40C662
secondary
#CE93BF
accent
#4AB8DD
background
#F8FDF9
surface
#F0FBF1
border
#CBD4CB
text
#0C150D
muted
#7D837E

Preview Lab

Preview with #40C662

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

Preview Lab → · Contrast checker → · Palette generator →

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