#40C162#40C162

#40C162 is a light, vivid green. Relative luminance 0.401; OKLCH L 71.9% C 0.175 H 148.6°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#40C162
RGBrgb(64, 193, 98)
HSLhsl(136, 51%, 50%)
HSVhsv(136, 67%, 76%)
CMYKcmyk(66.8%, 0%, 49.2%, 24.3%)
CIE-LABlab(69.55, -55.42, 37.60)
CIE-LCHlch(69.55, 66.97, 145.84°)
OKLaboklab(71.88% -0.1494 0.0913)
OKLCHoklch(71.88% 0.175 148.6)
XYZxyz(23.3872, 40.1093, 18.0622)
Luminance0.4011 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C162 #C1409F
analogous
#5EC140 #40C162 #40C1A2
triadic
#40C162 #6240C1 #C16240
tetradic
#40C162 #405EC1 #C1409F #C1A240
square
#40C162 #405EC1 #C1409F #C1A240
split-complementary
#40C162 #A240C1 #C1405E
monochromatic
#216633 #30944A #40C162 #6ED088 #9CDFAE

Accessibility & contrast

On white

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

On black

9.02
#40C162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C162
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C162#FFFFFF#000000##000000
##40C1621.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B15A
Deuteranopia (green-blind)
#B3A569
Tritanopia (blue-blind)
#05BDAB
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #40c162;
/* rgb */ color: rgb(64, 193, 98);
/* oklch */ color: oklch(71.9% 0.175 148.6);
Tailwind
colors: {
  custom: {
    50: '#84d590',
    500: '#40c162',
    950: '#000000',
  },
}
SCSS
$custom: #40c162;
$custom-light: #84d590;
$custom-dark: #000000;
JSON
{
  "hex": "#40c162",
  "rgb": {
    "r": 64,
    "g": 193,
    "b": 98
  },
  "hsl": {
    "h": 135.814,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.71879,
    "c": 0.17511,
    "h": 148.6
  },
  "luminance": 0.40112
}

Semantic roles & 50–950 ramp

primary
#40C162
secondary
#CB92BC
accent
#4DB5DA
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140D
muted
#7D837D

Preview Lab

Preview with #40C162

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

Preview Lab → · Contrast checker → · Palette generator →

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