#40A168#40A168

#40A168 is a light, vivid green. Relative luminance 0.276; OKLCH L 63.6% C 0.126 H 154.6°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#40A168
RGBrgb(64, 161, 104)
HSLhsl(145, 43%, 44%)
HSVhsv(145, 60%, 63%)
CMYKcmyk(60.2%, 0%, 35.4%, 36.9%)
CIE-LABlab(59.51, -41.78, 21.44)
CIE-LCHlch(59.51, 46.96, 152.84°)
OKLaboklab(63.65% -0.1134 0.0539)
OKLCHoklch(63.65% 0.126 154.6)
XYZxyz(17.3565, 27.5775, 17.5023)
Luminance0.2758 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A168 #A14079
analogous
#49A140 #40A168 #40A199
triadic
#40A168 #6840A1 #A16840
tetradic
#40A168 #4049A1 #A14079 #A19940
square
#40A168 #4049A1 #A14079 #A19940
split-complementary
#40A168 #9940A1 #A14049
monochromatic
#1D492F #2F754C #40A168 #5FBF87 #8BD1A8

Accessibility & contrast

On white

3.22
#40A168 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#40A168 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A168
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A168#FFFFFF#000000##000000
##40A1681.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19564
Deuteranopia (green-blind)
#948C6C
Tritanopia (blue-blind)
#1D9F92
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #40a168;
/* rgb */ color: rgb(64, 161, 104);
/* oklch */ color: oklch(63.6% 0.126 154.6);
Tailwind
colors: {
  custom: {
    50: '#7ebd93',
    500: '#40a168',
    950: '#000000',
  },
}
SCSS
$custom: #40a168;
$custom-light: #7ebd93;
$custom-dark: #000000;
JSON
{
  "hex": "#40a168",
  "rgb": {
    "r": 64,
    "g": 161,
    "b": 104
  },
  "hsl": {
    "h": 144.742,
    "s": 43.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.63646,
    "c": 0.12556,
    "h": 154.6
  },
  "luminance": 0.27579
}

Semantic roles & 50–950 ramp

primary
#40A168
secondary
#BC81A4
accent
#559FD3
background
#F8FBF9
surface
#EFF7F1
border
#CAD0CB
text
#0B120D
muted
#7C817E

Preview Lab

Preview with #40A168

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

Preview Lab → · Contrast checker → · Palette generator →

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