#40A465#40A465

#40A465 is a light, vivid green. Relative luminance 0.286; OKLCH L 64.4% C 0.133 H 152.8°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#40A465
RGBrgb(64, 164, 101)
HSLhsl(142, 44%, 45%)
HSVhsv(142, 61%, 64%)
CMYKcmyk(61%, 0%, 38.4%, 35.7%)
CIE-LABlab(60.41, -43.62, 24.27)
CIE-LCHlch(60.41, 49.92, 150.90°)
OKLaboklab(64.37% -0.1181 0.0606)
OKLCHoklch(64.37% 0.133 152.8)
XYZxyz(17.7374, 28.5788, 16.8909)
Luminance0.2858 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A465 #A4407F
analogous
#4DA440 #40A465 #40A497
triadic
#40A465 #6540A4 #A46540
tetradic
#40A465 #404DA4 #A4407F #A49740
square
#40A465 #404DA4 #A4407F #A49740
split-complementary
#40A465 #9740A4 #A4404D
monochromatic
#1E4C2F #2F784A #40A465 #60C184 #8CD2A6

Accessibility & contrast

On white

3.13
#40A465 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#40A465 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A465
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A465#FFFFFF#000000##000000
##40A4651.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49761
Deuteranopia (green-blind)
#978E69
Tritanopia (blue-blind)
#1DA294
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #40a465;
/* rgb */ color: rgb(64, 164, 101);
/* oklch */ color: oklch(64.4% 0.133 152.8);
Tailwind
colors: {
  custom: {
    50: '#7fc091',
    500: '#40a465',
    950: '#000000',
  },
}
SCSS
$custom: #40a465;
$custom-light: #7fc091;
$custom-dark: #000000;
JSON
{
  "hex": "#40a465",
  "rgb": {
    "r": 64,
    "g": 164,
    "b": 101
  },
  "hsl": {
    "h": 142.2,
    "s": 43.86,
    "l": 44.706
  },
  "oklch": {
    "l": 0.64369,
    "c": 0.13276,
    "h": 152.8
  },
  "luminance": 0.2858
}

Semantic roles & 50–950 ramp

primary
#40A465
secondary
#BD83A7
accent
#54A4D4
background
#F8FBF8
surface
#EFF7F0
border
#CAD0CB
text
#0B120D
muted
#7C817D

Preview Lab

Preview with #40A465

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

Preview Lab → · Contrast checker → · Palette generator →

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