#40A345#40A345

#40A345 is a light, vivid green. Relative luminance 0.277; OKLCH L 63.6% C 0.161 H 144.2°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#40A345
RGBrgb(64, 163, 69)
HSLhsl(123, 44%, 45%)
HSVhsv(123, 61%, 64%)
CMYKcmyk(60.7%, 0%, 57.7%, 36.1%)
CIE-LABlab(59.63, -48.28, 39.80)
CIE-LCHlch(59.63, 62.57, 140.50°)
OKLaboklab(63.58% -0.1309 0.0944)
OKLCHoklch(63.58% 0.161 144.2)
XYZxyz(16.2848, 27.7125, 10.1199)
Luminance0.2771 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A345 #A3409E
analogous
#6DA340 #40A345 #40A376
triadic
#40A345 #4540A3 #A34540
tetradic
#40A345 #406DA3 #A3409E #A37640
square
#40A345 #406DA3 #A3409E #A37640
split-complementary
#40A345 #7640A3 #A3406D
monochromatic
#1D4B20 #2F7732 #40A345 #60C065 #8CD28F

Accessibility & contrast

On white

3.21
#40A345 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#40A345 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A345
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A345#FFFFFF#000000##000000
##40A3451.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6953C
Deuteranopia (green-blind)
#998C4C
Tritanopia (blue-blind)
#2C9F8E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #40a345;
/* rgb */ color: rgb(64, 163, 69);
/* oklch */ color: oklch(63.6% 0.161 144.2);
Tailwind
colors: {
  custom: {
    50: '#7fbf7b',
    500: '#40a345',
    950: '#000000',
  },
}
SCSS
$custom: #40a345;
$custom-light: #7fbf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#40a345",
  "rgb": {
    "r": 64,
    "g": 163,
    "b": 69
  },
  "hsl": {
    "h": 123.03,
    "s": 43.612,
    "l": 44.51
  },
  "oklch": {
    "l": 0.63578,
    "c": 0.16141,
    "h": 144.2
  },
  "luminance": 0.27714
}

Semantic roles & 50–950 ramp

primary
#40A345
secondary
#BD82BA
accent
#54CDD3
background
#F8FBF7
surface
#EFF7EE
border
#CAD0C9
text
#0B1209
muted
#7C817B

Preview Lab

Preview with #40A345

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

Preview Lab → · Contrast checker → · Palette generator →

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