#40A558#40A558

#40A558 is a light, vivid green. Relative luminance 0.287; OKLCH L 64.4% C 0.147 H 148.5°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#40A558
RGBrgb(64, 165, 88)
HSLhsl(134, 44%, 45%)
HSVhsv(134, 61%, 65%)
CMYKcmyk(61.2%, 0%, 46.7%, 35.3%)
CIE-LABlab(60.52, -46.30, 31.33)
CIE-LCHlch(60.52, 55.90, 145.92°)
OKLaboklab(64.39% -0.1251 0.0766)
OKLCHoklch(64.39% 0.147 148.5)
XYZxyz(17.3297, 28.7032, 13.8576)
Luminance0.2871 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A558 #A5408D
analogous
#5BA540 #40A558 #40A58A
triadic
#40A558 #5840A5 #A55840
tetradic
#40A558 #405BA5 #A5408D #A58A40
square
#40A558 #405BA5 #A5408D #A58A40
split-complementary
#40A558 #8A40A5 #A5405B
monochromatic
#1E4D29 #2F7940 #40A558 #61C278 #8DD39D

Accessibility & contrast

On white

3.12
#40A558 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#40A558 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A558
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A558#FFFFFF#000000##000000
##40A5581.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69752
Deuteranopia (green-blind)
#998E5D
Tritanopia (blue-blind)
#24A293
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #40a558;
/* rgb */ color: rgb(64, 165, 88);
/* oklch */ color: oklch(64.4% 0.147 148.5);
Tailwind
colors: {
  custom: {
    50: '#7fc088',
    500: '#40a558',
    950: '#000000',
  },
}
SCSS
$custom: #40a558;
$custom-light: #7fc088;
$custom-dark: #000000;
JSON
{
  "hex": "#40a558",
  "rgb": {
    "r": 64,
    "g": 165,
    "b": 88
  },
  "hsl": {
    "h": 134.257,
    "s": 44.105,
    "l": 44.902
  },
  "oklch": {
    "l": 0.64392,
    "c": 0.14672,
    "h": 148.5
  },
  "luminance": 0.28705
}

Semantic roles & 50–950 ramp

primary
#40A558
secondary
#BE83B0
accent
#54B5D4
background
#F8FBF8
surface
#EFF7F0
border
#CAD0CB
text
#0B120B
muted
#7C817C

Preview Lab

Preview with #40A558

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

Preview Lab → · Contrast checker → · Palette generator →

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