#40C657#40C657

#40C657 is a light, vivid green. Relative luminance 0.422; OKLCH L 73.0% C 0.191 H 146.2°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#40C657
RGBrgb(64, 198, 87)
HSLhsl(130, 54%, 51%)
HSVhsv(130, 68%, 78%)
CMYKcmyk(67.7%, 0%, 56.1%, 22.4%)
CIE-LABlab(70.98, -58.78, 44.68)
CIE-LCHlch(70.98, 73.83, 142.76°)
OKLaboklab(73.02% -0.1587 0.1064)
OKLCHoklch(73.02% 0.191 146.2)
XYZxyz(24.0271, 42.1637, 15.8871)
Luminance0.4217 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C657 #C640AF
analogous
#6CC640 #40C657 #40C69A
triadic
#40C657 #5740C6 #C65740
tetradic
#40C657 #406CC6 #C640AF #C69A40
square
#40C657 #406CC6 #C640AF #C69A40
split-complementary
#40C657 #9A40C6 #C6406C
monochromatic
#206C2D #2E9B41 #40C657 #6FD480 #9EE2AA

Accessibility & contrast

On white

2.23
#40C657 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#40C657 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C657
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C657#FFFFFF#000000##000000
##40C6571.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B54C
Deuteranopia (green-blind)
#B9A960
Tritanopia (blue-blind)
#0DC1AD
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #40c657;
/* rgb */ color: rgb(64, 198, 87);
/* oklch */ color: oklch(73.0% 0.191 146.2);
Tailwind
colors: {
  custom: {
    50: '#85d889',
    500: '#40c657',
    950: '#000000',
  },
}
SCSS
$custom: #40c657;
$custom-light: #85d889;
$custom-dark: #000000;
JSON
{
  "hex": "#40c657",
  "rgb": {
    "r": 64,
    "g": 198,
    "b": 87
  },
  "hsl": {
    "h": 130.299,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.73021,
    "c": 0.19104,
    "h": 146.2
  },
  "luminance": 0.42166
}

Semantic roles & 50–950 ramp

primary
#40C657
secondary
#CE93C4
accent
#4AC4DD
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0C150C
muted
#7D837D

Preview Lab

Preview with #40C657

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

Preview Lab → · Contrast checker → · Palette generator →

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