#40A161#40A161

#40A161 is a light, vivid green. Relative luminance 0.274; OKLCH L 63.5% C 0.132 H 151.9°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#40A161
RGBrgb(64, 161, 97)
HSLhsl(140, 43%, 44%)
HSVhsv(140, 60%, 63%)
CMYKcmyk(60.2%, 0%, 39.8%, 36.9%)
CIE-LABlab(59.38, -43.12, 25.07)
CIE-LCHlch(59.38, 49.88, 149.82°)
OKLaboklab(63.5% -0.1167 0.0624)
OKLCHoklch(63.5% 0.132 151.9)
XYZxyz(17.0156, 27.4412, 15.7069)
Luminance0.2744 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A161 #A14080
analogous
#50A140 #40A161 #40A192
triadic
#40A161 #6140A1 #A16140
tetradic
#40A161 #4050A1 #A14080 #A19240
square
#40A161 #4050A1 #A14080 #A19240
split-complementary
#40A161 #9240A1 #A14050
monochromatic
#1D492C #2F7547 #40A161 #5FBF80 #8BD1A2

Accessibility & contrast

On white

3.24
#40A161 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#40A161 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A161
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A161#FFFFFF#000000##000000
##40A1611.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1945D
Deuteranopia (green-blind)
#948B65
Tritanopia (blue-blind)
#229F91
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #40a161;
/* rgb */ color: rgb(64, 161, 97);
/* oklch */ color: oklch(63.5% 0.132 151.9);
Tailwind
colors: {
  custom: {
    50: '#7ebd8e',
    500: '#40a161',
    950: '#000000',
  },
}
SCSS
$custom: #40a161;
$custom-light: #7ebd8e;
$custom-dark: #000000;
JSON
{
  "hex": "#40a161",
  "rgb": {
    "r": 64,
    "g": 161,
    "b": 97
  },
  "hsl": {
    "h": 140.412,
    "s": 43.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.63503,
    "c": 0.13235,
    "h": 151.9
  },
  "luminance": 0.27443
}

Semantic roles & 50–950 ramp

primary
#40A161
secondary
#BC81A8
accent
#55A8D3
background
#F8FBF8
surface
#EFF7F0
border
#CAD0CB
text
#0B120C
muted
#7C817D

Preview Lab

Preview with #40A161

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

Preview Lab → · Contrast checker → · Palette generator →

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