#40A545#40A545

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

Color values

HEX#40A545
RGBrgb(64, 165, 69)
HSLhsl(123, 44%, 45%)
HSVhsv(123, 61%, 65%)
CMYKcmyk(61.2%, 0%, 58.2%, 35.3%)
CIE-LABlab(60.27, -49.04, 40.56)
CIE-LCHlch(60.27, 63.64, 140.41°)
OKLaboklab(64.11% -0.133 0.096)
OKLCHoklch(64.11% 0.164 144.2)
XYZxyz(16.6427, 28.4284, 10.2392)
Luminance0.2843 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A545 #A540A0
analogous
#6EA540 #40A545 #40A577
triadic
#40A545 #4540A5 #A54540
tetradic
#40A545 #406EA5 #A540A0 #A57740
square
#40A545 #406EA5 #A540A0 #A57740
split-complementary
#40A545 #7740A5 #A5406E
monochromatic
#1E4D20 #2F7933 #40A545 #61C265 #8DD390

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40A545#FFFFFF#000000##000000
##40A5451.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)
#A8973B
Deuteranopia (green-blind)
#9B8E4C
Tritanopia (blue-blind)
#2CA190
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #40a545;
/* rgb */ color: rgb(64, 165, 69);
/* oklch */ color: oklch(64.1% 0.164 144.2);
Tailwind
colors: {
  custom: {
    50: '#80c17c',
    500: '#40a545',
    950: '#000000',
  },
}
SCSS
$custom: #40a545;
$custom-light: #80c17c;
$custom-dark: #000000;
JSON
{
  "hex": "#40a545",
  "rgb": {
    "r": 64,
    "g": 165,
    "b": 69
  },
  "hsl": {
    "h": 122.97,
    "s": 44.105,
    "l": 44.902
  },
  "oklch": {
    "l": 0.64111,
    "c": 0.16405,
    "h": 144.2
  },
  "luminance": 0.2843
}

Semantic roles & 50–950 ramp

primary
#40A545
secondary
#BE83BB
accent
#54CED4
background
#F8FBF7
surface
#EFF7EE
border
#CAD0C9
text
#0B120A
muted
#7C817C

Preview Lab

Preview with #40A545

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

Preview Lab → · Contrast checker → · Palette generator →

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