#40A56F#40A56F

#40A56F is a light, vivid green. Relative luminance 0.291; OKLCH L 64.8% C 0.125 H 156.7°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#40A56F
RGBrgb(64, 165, 111)
HSLhsl(148, 44%, 45%)
HSVhsv(148, 61%, 65%)
CMYKcmyk(61.2%, 0%, 32.7%, 35.3%)
CIE-LABlab(60.91, -42.07, 19.51)
CIE-LCHlch(60.91, 46.37, 155.13°)
OKLaboklab(64.84% -0.1145 0.0493)
OKLCHoklch(64.84% 0.125 156.7)
XYZxyz(18.4371, 29.1461, 19.6900)
Luminance0.2915 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A56F #A54076
analogous
#43A540 #40A56F #40A5A2
triadic
#40A56F #6F40A5 #A56F40
tetradic
#40A56F #4043A5 #A54076 #A5A240
square
#40A56F #4043A5 #A54076 #A5A240
split-complementary
#40A56F #A240A5 #A54043
monochromatic
#1E4D34 #2F7951 #40A56F #61C28E #8DD3AD

Accessibility & contrast

On white

3.07
#40A56F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#40A56F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A56F
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A56F#FFFFFF#000000##000000
##40A56F1.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4996C
Deuteranopia (green-blind)
#968F72
Tritanopia (blue-blind)
#14A497
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #40a56f;
/* rgb */ color: rgb(64, 165, 111);
/* oklch */ color: oklch(64.8% 0.125 156.7);
Tailwind
colors: {
  custom: {
    50: '#7fc098',
    500: '#40a56f',
    950: '#000000',
  },
}
SCSS
$custom: #40a56f;
$custom-light: #7fc098;
$custom-dark: #000000;
JSON
{
  "hex": "#40a56f",
  "rgb": {
    "r": 64,
    "g": 165,
    "b": 111
  },
  "hsl": {
    "h": 147.921,
    "s": 44.105,
    "l": 44.902
  },
  "oklch": {
    "l": 0.64842,
    "c": 0.12464,
    "h": 156.7
  },
  "luminance": 0.29148
}

Semantic roles & 50–950 ramp

primary
#40A56F
secondary
#BE83A2
accent
#5498D4
background
#F8FBF9
surface
#EFF7F2
border
#CAD0CC
text
#0B120D
muted
#7C817E

Preview Lab

Preview with #40A56F

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

Preview Lab → · Contrast checker → · Palette generator →

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