#40A548#40A548

#40A548 is a light, vivid green. Relative luminance 0.285; OKLCH L 64.1% C 0.161 H 144.7°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#40A548
RGBrgb(64, 165, 72)
HSLhsl(125, 44%, 45%)
HSVhsv(125, 61%, 65%)
CMYKcmyk(61.2%, 0%, 56.4%, 35.3%)
CIE-LABlab(60.31, -48.65, 39.15)
CIE-LCHlch(60.31, 62.45, 141.18°)
OKLaboklab(64.15% -0.1318 0.0932)
OKLCHoklch(64.15% 0.161 144.7)
XYZxyz(16.7382, 28.4665, 10.7421)
Luminance0.2847 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A548 #A5409D
analogous
#6BA540 #40A548 #40A57A
triadic
#40A548 #4840A5 #A54840
tetradic
#40A548 #406BA5 #A5409D #A57A40
square
#40A548 #406BA5 #A5409D #A57A40
split-complementary
#40A548 #7A40A5 #A5406B
monochromatic
#1E4D22 #2F7935 #40A548 #61C268 #8DD392

Accessibility & contrast

On white

3.14
#40A548 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#40A548 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A548
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A548#FFFFFF#000000##000000
##40A5481.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8973F
Deuteranopia (green-blind)
#9B8E4F
Tritanopia (blue-blind)
#2BA190
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #40a548;
/* rgb */ color: rgb(64, 165, 72);
/* oklch */ color: oklch(64.1% 0.161 144.7);
Tailwind
colors: {
  custom: {
    50: '#80c17d',
    500: '#40a548',
    950: '#000000',
  },
}
SCSS
$custom: #40a548;
$custom-light: #80c17d;
$custom-dark: #000000;
JSON
{
  "hex": "#40a548",
  "rgb": {
    "r": 64,
    "g": 165,
    "b": 72
  },
  "hsl": {
    "h": 124.752,
    "s": 44.105,
    "l": 44.902
  },
  "oklch": {
    "l": 0.6415,
    "c": 0.16145,
    "h": 144.7
  },
  "luminance": 0.28468
}

Semantic roles & 50–950 ramp

primary
#40A548
secondary
#BE83B9
accent
#54CAD4
background
#F8FBF7
surface
#EFF7EE
border
#CAD0C9
text
#0B120A
muted
#7C817C

Preview Lab

Preview with #40A548

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

Preview Lab → · Contrast checker → · Palette generator →

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