#40A152#40A152

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

Color values

HEX#40A152
RGBrgb(64, 161, 82)
HSLhsl(131, 43%, 44%)
HSVhsv(131, 60%, 63%)
CMYKcmyk(60.2%, 0%, 49.1%, 36.9%)
CIE-LABlab(59.15, -45.66, 32.71)
CIE-LCHlch(59.15, 56.17, 144.38°)
OKLaboklab(63.24% -0.1235 0.0795)
OKLCHoklch(63.24% 0.147 147.2)
XYZxyz(16.3811, 27.1874, 12.3654)
Luminance0.2719 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A152 #A1408F
analogous
#5FA140 #40A152 #40A183
triadic
#40A152 #5240A1 #A15240
tetradic
#40A152 #405FA1 #A1408F #A18340
square
#40A152 #405FA1 #A1408F #A18340
split-complementary
#40A152 #8340A1 #A1405F
monochromatic
#1D4925 #2F753C #40A152 #5FBF71 #8BD198

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40A152#FFFFFF#000000##000000
##40A1521.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)
#A3944C
Deuteranopia (green-blind)
#968B58
Tritanopia (blue-blind)
#299E8E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #40a152;
/* rgb */ color: rgb(64, 161, 82);
/* oklch */ color: oklch(63.2% 0.147 147.2);
Tailwind
colors: {
  custom: {
    50: '#7fbe84',
    500: '#40a152',
    950: '#000000',
  },
}
SCSS
$custom: #40a152;
$custom-light: #7fbe84;
$custom-dark: #000000;
JSON
{
  "hex": "#40a152",
  "rgb": {
    "r": 64,
    "g": 161,
    "b": 82
  },
  "hsl": {
    "h": 131.134,
    "s": 43.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.63236,
    "c": 0.14686,
    "h": 147.2
  },
  "luminance": 0.27189
}

Semantic roles & 50–950 ramp

primary
#40A152
secondary
#BC81B1
accent
#55BCD3
background
#F8FBF8
surface
#EFF7EF
border
#CAD0CA
text
#0B120B
muted
#7C817C

Preview Lab

Preview with #40A152

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

Preview Lab → · Contrast checker → · Palette generator →

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