#40A459#40A459

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

Color values

HEX#40A459
RGBrgb(64, 164, 89)
HSLhsl(135, 44%, 45%)
HSVhsv(135, 61%, 64%)
CMYKcmyk(61%, 0%, 45.7%, 35.7%)
CIE-LABlab(60.21, -45.74, 30.41)
CIE-LCHlch(60.21, 54.93, 146.38°)
OKLaboklab(64.15% -0.1236 0.0746)
OKLCHoklch(64.15% 0.144 148.9)
XYZxyz(17.1918, 28.3605, 14.0174)
Luminance0.2836 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A459 #A4408B
analogous
#59A440 #40A459 #40A48B
triadic
#40A459 #5940A4 #A45940
tetradic
#40A459 #4059A4 #A4408B #A48B40
square
#40A459 #4059A4 #A4408B #A48B40
split-complementary
#40A459 #8B40A4 #A44059
monochromatic
#1E4C29 #2F7841 #40A459 #60C178 #8CD29E

Accessibility & contrast

On white

3.15
#40A459 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#40A459 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A459
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A459#FFFFFF#000000##000000
##40A4591.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59753
Deuteranopia (green-blind)
#988E5E
Tritanopia (blue-blind)
#24A192
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #40a459;
/* rgb */ color: rgb(64, 164, 89);
/* oklch */ color: oklch(64.1% 0.144 148.9);
Tailwind
colors: {
  custom: {
    50: '#7fc089',
    500: '#40a459',
    950: '#000000',
  },
}
SCSS
$custom: #40a459;
$custom-light: #7fc089;
$custom-dark: #000000;
JSON
{
  "hex": "#40a459",
  "rgb": {
    "r": 64,
    "g": 164,
    "b": 89
  },
  "hsl": {
    "h": 135,
    "s": 43.86,
    "l": 44.706
  },
  "oklch": {
    "l": 0.64145,
    "c": 0.14436,
    "h": 148.9
  },
  "luminance": 0.28362
}

Semantic roles & 50–950 ramp

primary
#40A459
secondary
#BD83AE
accent
#54B4D4
background
#F8FBF8
surface
#EFF7F0
border
#CAD0CB
text
#0B120B
muted
#7C817C

Preview Lab

Preview with #40A459

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

Preview Lab → · Contrast checker → · Palette generator →

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