#40C663#40C663

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

Color values

HEX#40C663
RGBrgb(64, 198, 99)
HSLhsl(136, 54%, 51%)
HSVhsv(136, 68%, 78%)
CMYKcmyk(67.7%, 0%, 50%, 22.4%)
CIE-LABlab(71.13, -57.10, 39.08)
CIE-LCHlch(71.13, 69.19, 145.61°)
OKLaboklab(73.19% -0.1539 0.0947)
OKLCHoklch(73.19% 0.181 148.4)
XYZxyz(24.5587, 42.3764, 18.6872)
Luminance0.4238 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C663 #C640A3
analogous
#60C640 #40C663 #40C6A6
triadic
#40C663 #6340C6 #C66340
tetradic
#40C663 #4060C6 #C640A3 #C6A640
square
#40C663 #4060C6 #C640A3 #C6A640
split-complementary
#40C663 #A640C6 #C64060
monochromatic
#206C34 #2E9B4A #40C663 #6FD489 #9EE2B0

Accessibility & contrast

On white

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

On black

9.48
#40C663 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C663
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C663#FFFFFF#000000##000000
##40C6631.002.229.489.48
#FFFFFF2.221.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40c663;
/* rgb */ color: rgb(64, 198, 99);
/* oklch */ color: oklch(73.2% 0.181 148.4);
Tailwind
colors: {
  custom: {
    50: '#85d891',
    500: '#40c663',
    950: '#000000',
  },
}
SCSS
$custom: #40c663;
$custom-light: #85d891;
$custom-dark: #000000;
JSON
{
  "hex": "#40c663",
  "rgb": {
    "r": 64,
    "g": 198,
    "b": 99
  },
  "hsl": {
    "h": 135.672,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.73189,
    "c": 0.18069,
    "h": 148.4
  },
  "luminance": 0.42379
}

Semantic roles & 50–950 ramp

primary
#40C663
secondary
#CE93BF
accent
#4AB7DD
background
#F8FDF9
surface
#F0FAF1
border
#CBD3CB
text
#0C150D
muted
#7D837E

Preview Lab

Preview with #40C663

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

Preview Lab → · Contrast checker → · Palette generator →

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