#40A151#40A151

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

Color values

HEX#40A151
RGBrgb(64, 161, 81)
HSLhsl(131, 43%, 44%)
HSVhsv(131, 60%, 63%)
CMYKcmyk(60.2%, 0%, 49.7%, 36.9%)
CIE-LABlab(59.13, -45.81, 33.21)
CIE-LCHlch(59.13, 56.58, 144.06°)
OKLaboklab(63.22% -0.1239 0.0806)
OKLCHoklch(63.22% 0.148 147)
XYZxyz(16.3433, 27.1723, 12.1665)
Luminance0.2717 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A151 #A14090
analogous
#60A140 #40A151 #40A182
triadic
#40A151 #5140A1 #A15140
tetradic
#40A151 #4060A1 #A14090 #A18240
square
#40A151 #4060A1 #A14090 #A18240
split-complementary
#40A151 #8240A1 #A14060
monochromatic
#1D4925 #2F753B #40A151 #5FBF70 #8BD197

Accessibility & contrast

On white

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

On black

6.43
#40A151 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A151
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A151#FFFFFF#000000##000000
##40A1511.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3944A
Deuteranopia (green-blind)
#968B57
Tritanopia (blue-blind)
#299E8E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #40a151;
/* rgb */ color: rgb(64, 161, 81);
/* oklch */ color: oklch(63.2% 0.148 147.0);
Tailwind
colors: {
  custom: {
    50: '#7fbe83',
    500: '#40a151',
    950: '#000000',
  },
}
SCSS
$custom: #40a151;
$custom-light: #7fbe83;
$custom-dark: #000000;
JSON
{
  "hex": "#40a151",
  "rgb": {
    "r": 64,
    "g": 161,
    "b": 81
  },
  "hsl": {
    "h": 130.515,
    "s": 43.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.6322,
    "c": 0.14781,
    "h": 147
  },
  "luminance": 0.27174
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40A151

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

Preview Lab → · Contrast checker → · Palette generator →

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