#40A166#40A166

#40A166 is a light, vivid green. Relative luminance 0.275; OKLCH L 63.6% C 0.127 H 153.8°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#40A166
RGBrgb(64, 161, 102)
HSLhsl(144, 43%, 44%)
HSVhsv(144, 60%, 63%)
CMYKcmyk(60.2%, 0%, 36.6%, 36.9%)
CIE-LABlab(59.47, -42.17, 22.48)
CIE-LCHlch(59.47, 47.79, 151.94°)
OKLaboklab(63.6% -0.1144 0.0563)
OKLCHoklch(63.6% 0.127 153.8)
XYZxyz(17.2561, 27.5374, 16.9737)
Luminance0.2754 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A166 #A1407B
analogous
#4BA140 #40A166 #40A197
triadic
#40A166 #6640A1 #A16640
tetradic
#40A166 #404BA1 #A1407B #A19740
square
#40A166 #404BA1 #A1407B #A19740
split-complementary
#40A166 #9740A1 #A1404B
monochromatic
#1D492F #2F754A #40A166 #5FBF85 #8BD1A6

Accessibility & contrast

On white

3.23
#40A166 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#40A166 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A166
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A166#FFFFFF#000000##000000
##40A1661.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19562
Deuteranopia (green-blind)
#948C6A
Tritanopia (blue-blind)
#1E9F92
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #40a166;
/* rgb */ color: rgb(64, 161, 102);
/* oklch */ color: oklch(63.6% 0.127 153.8);
Tailwind
colors: {
  custom: {
    50: '#7ebd92',
    500: '#40a166',
    950: '#000000',
  },
}
SCSS
$custom: #40a166;
$custom-light: #7ebd92;
$custom-dark: #000000;
JSON
{
  "hex": "#40a166",
  "rgb": {
    "r": 64,
    "g": 161,
    "b": 102
  },
  "hsl": {
    "h": 143.505,
    "s": 43.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.63604,
    "c": 0.12749,
    "h": 153.8
  },
  "luminance": 0.27539
}

Semantic roles & 50–950 ramp

primary
#40A166
secondary
#BC81A5
accent
#55A2D3
background
#F8FBF9
surface
#EFF7F1
border
#CAD0CB
text
#0B120D
muted
#7C817E

Preview Lab

Preview with #40A166

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

Preview Lab → · Contrast checker → · Palette generator →

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