#40D164#40D164

#40D164 is a light, vivid green. Relative luminance 0.476; OKLCH L 76.0% C 0.194 H 147.8°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#40D164
RGBrgb(64, 209, 100)
HSLhsl(135, 61%, 54%)
HSVhsv(135, 69%, 82%)
CMYKcmyk(69.4%, 0%, 52.2%, 18%)
CIE-LABlab(74.58, -60.87, 42.84)
CIE-LCHlch(74.58, 74.44, 144.86°)
OKLaboklab(76.04% -0.164 0.1032)
OKLCHoklch(76.04% 0.194 147.8)
XYZxyz(27.2130, 47.6080, 19.8092)
Luminance0.4761 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D164 #D140AD
analogous
#64D140 #40D164 #40D1AD
triadic
#40D164 #6440D1 #D16440
tetradic
#40D164 #4064D1 #D140AD #D1AD40
square
#40D164 #4064D1 #D140AD #D1AD40
split-complementary
#40D164 #AD40D1 #D14064
monochromatic
#1D7934 #29AB49 #40D164 #71DD8C #A3E9B4

Accessibility & contrast

On white

2.00
#40D164 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.52
#40D164 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D164
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D164#FFFFFF#000000##000000
##40D1641.002.0010.5210.52
#FFFFFF2.001.0021.0021.00
#00000010.5221.001.001.00
##00000010.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BF5A
Deuteranopia (green-blind)
#C2B36C
Tritanopia (blue-blind)
#00CDB8
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #40d164;
/* rgb */ color: rgb(64, 209, 100);
/* oklch */ color: oklch(76.0% 0.194 147.8);
Tailwind
colors: {
  custom: {
    50: '#87e092',
    500: '#40d164',
    950: '#000000',
  },
}
SCSS
$custom: #40d164;
$custom-light: #87e092;
$custom-dark: #000000;
JSON
{
  "hex": "#40d164",
  "rgb": {
    "r": 64,
    "g": 209,
    "b": 100
  },
  "hsl": {
    "h": 134.897,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.76042,
    "c": 0.19374,
    "h": 147.8
  },
  "luminance": 0.47611
}

Semantic roles & 50–950 ramp

primary
#40D164
secondary
#D597C6
accent
#44BCE4
background
#F9FDF9
surface
#F1FBF1
border
#CBD4CB
text
#0D150D
muted
#7E837E

Preview Lab

Preview with #40D164

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

Preview Lab → · Contrast checker → · Palette generator →

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