#40A563#40A563

#40A563 is a light, vivid green. Relative luminance 0.289; OKLCH L 64.6% C 0.136 H 152.0°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#40A563
RGBrgb(64, 165, 99)
HSLhsl(141, 44%, 45%)
HSVhsv(141, 61%, 65%)
CMYKcmyk(61.2%, 0%, 40%, 35.3%)
CIE-LABlab(60.69, -44.40, 25.73)
CIE-LCHlch(60.69, 51.32, 149.91°)
OKLaboklab(64.59% -0.1201 0.064)
OKLCHoklch(64.59% 0.136 152)
XYZxyz(17.8202, 28.8994, 16.4410)
Luminance0.2890 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A563 #A54082
analogous
#50A540 #40A563 #40A596
triadic
#40A563 #6340A5 #A56340
tetradic
#40A563 #4050A5 #A54082 #A59640
square
#40A563 #4050A5 #A54082 #A59640
split-complementary
#40A563 #9640A5 #A54050
monochromatic
#1E4D2E #2F7949 #40A563 #61C282 #8DD3A5

Accessibility & contrast

On white

3.10
#40A563 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#40A563 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A563
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A563#FFFFFF#000000##000000
##40A5631.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5985E
Deuteranopia (green-blind)
#988F67
Tritanopia (blue-blind)
#1EA394
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #40a563;
/* rgb */ color: rgb(64, 165, 99);
/* oklch */ color: oklch(64.6% 0.136 152.0);
Tailwind
colors: {
  custom: {
    50: '#7fc090',
    500: '#40a563',
    950: '#000000',
  },
}
SCSS
$custom: #40a563;
$custom-light: #7fc090;
$custom-dark: #000000;
JSON
{
  "hex": "#40a563",
  "rgb": {
    "r": 64,
    "g": 165,
    "b": 99
  },
  "hsl": {
    "h": 140.792,
    "s": 44.105,
    "l": 44.902
  },
  "oklch": {
    "l": 0.64592,
    "c": 0.13611,
    "h": 152
  },
  "luminance": 0.28901
}

Semantic roles & 50–950 ramp

primary
#40A563
secondary
#BE83A9
accent
#54A8D4
background
#F8FBF8
surface
#EFF7F0
border
#CAD0CB
text
#0B120C
muted
#7C817D

Preview Lab

Preview with #40A563

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

Preview Lab → · Contrast checker → · Palette generator →

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