#40A154#40A154

#40A154 is a light, vivid green. Relative luminance 0.272; OKLCH L 63.3% C 0.145 H 147.8°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#40A154
RGBrgb(64, 161, 84)
HSLhsl(132, 43%, 44%)
HSVhsv(132, 60%, 63%)
CMYKcmyk(60.2%, 0%, 47.8%, 36.9%)
CIE-LABlab(59.18, -45.35, 31.71)
CIE-LCHlch(59.18, 55.33, 145.03°)
OKLaboklab(63.27% -0.1226 0.0773)
OKLCHoklch(63.27% 0.145 147.8)
XYZxyz(16.4583, 27.2183, 12.7721)
Luminance0.2722 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A154 #A1408D
analogous
#5DA140 #40A154 #40A185
triadic
#40A154 #5440A1 #A15440
tetradic
#40A154 #405DA1 #A1408D #A18540
square
#40A154 #405DA1 #A1408D #A18540
split-complementary
#40A154 #8540A1 #A1405D
monochromatic
#1D4926 #2F753D #40A154 #5FBF73 #8BD199

Accessibility & contrast

On white

3.26
#40A154 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#40A154 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A154
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A154#FFFFFF#000000##000000
##40A1541.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3944E
Deuteranopia (green-blind)
#968B59
Tritanopia (blue-blind)
#289E8F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #40a154;
/* rgb */ color: rgb(64, 161, 84);
/* oklch */ color: oklch(63.3% 0.145 147.8);
Tailwind
colors: {
  custom: {
    50: '#7fbe85',
    500: '#40a154',
    950: '#000000',
  },
}
SCSS
$custom: #40a154;
$custom-light: #7fbe85;
$custom-dark: #000000;
JSON
{
  "hex": "#40a154",
  "rgb": {
    "r": 64,
    "g": 161,
    "b": 84
  },
  "hsl": {
    "h": 132.371,
    "s": 43.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.63268,
    "c": 0.14496,
    "h": 147.8
  },
  "luminance": 0.2722
}

Semantic roles & 50–950 ramp

primary
#40A154
secondary
#BC81B0
accent
#55B9D3
background
#F8FBF8
surface
#EFF7EF
border
#CAD0CA
text
#0B120B
muted
#7C817C

Preview Lab

Preview with #40A154

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

Preview Lab → · Contrast checker → · Palette generator →

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