#40C164#40C164

#40C164 is a light, vivid green. Relative luminance 0.402; OKLCH L 71.9% C 0.173 H 149.0°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#40C164
RGBrgb(64, 193, 100)
HSLhsl(137, 51%, 50%)
HSVhsv(137, 67%, 76%)
CMYKcmyk(66.8%, 0%, 48.2%, 24.3%)
CIE-LABlab(69.57, -55.11, 36.64)
CIE-LCHlch(69.57, 66.18, 146.38°)
OKLaboklab(71.91% -0.1486 0.0892)
OKLCHoklch(71.91% 0.173 149)
XYZxyz(23.4828, 40.1475, 18.5658)
Luminance0.4015 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C164 #C1409D
analogous
#5CC140 #40C164 #40C1A4
triadic
#40C164 #6440C1 #C16440
tetradic
#40C164 #405CC1 #C1409D #C1A440
square
#40C164 #405CC1 #C1409D #C1A440
split-complementary
#40C164 #A440C1 #C1405C
monochromatic
#216634 #30944C #40C164 #6ED089 #9CDFAF

Accessibility & contrast

On white

2.33
#40C164 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#40C164 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C164
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C164#FFFFFF#000000##000000
##40C1641.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B15C
Deuteranopia (green-blind)
#B3A66B
Tritanopia (blue-blind)
#02BDAB
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #40c164;
/* rgb */ color: rgb(64, 193, 100);
/* oklch */ color: oklch(71.9% 0.173 149.0);
Tailwind
colors: {
  custom: {
    50: '#84d592',
    500: '#40c164',
    950: '#000000',
  },
}
SCSS
$custom: #40c164;
$custom-light: #84d592;
$custom-dark: #000000;
JSON
{
  "hex": "#40c164",
  "rgb": {
    "r": 64,
    "g": 193,
    "b": 100
  },
  "hsl": {
    "h": 136.744,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.7191,
    "c": 0.1733,
    "h": 149
  },
  "luminance": 0.4015
}

Semantic roles & 50–950 ramp

primary
#40C164
secondary
#CB92BB
accent
#4DB3DA
background
#F8FDF9
surface
#F0FAF1
border
#CBD3CB
text
#0C140D
muted
#7D837E

Preview Lab

Preview with #40C164

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

Preview Lab → · Contrast checker → · Palette generator →

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