#40C161#40C161

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

Color values

HEX#40C161
RGBrgb(64, 193, 97)
HSLhsl(135, 51%, 50%)
HSVhsv(135, 67%, 76%)
CMYKcmyk(66.8%, 0%, 49.7%, 24.3%)
CIE-LABlab(69.53, -55.57, 38.08)
CIE-LCHlch(69.53, 67.37, 145.58°)
OKLaboklab(71.86% -0.1498 0.0924)
OKLCHoklch(71.86% 0.176 148.3)
XYZxyz(23.3403, 40.0905, 17.8151)
Luminance0.4009 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C161 #C140A0
analogous
#5FC140 #40C161 #40C1A1
triadic
#40C161 #6140C1 #C16140
tetradic
#40C161 #405FC1 #C140A0 #C1A140
square
#40C161 #405FC1 #C140A0 #C1A140
split-complementary
#40C161 #A140C1 #C1405F
monochromatic
#216633 #30944A #40C161 #6ED087 #9CDFAD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40C161#FFFFFF#000000##000000
##40C1611.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)
#C3B159
Deuteranopia (green-blind)
#B3A568
Tritanopia (blue-blind)
#07BDAB
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #40c161;
/* rgb */ color: rgb(64, 193, 97);
/* oklch */ color: oklch(71.9% 0.176 148.3);
Tailwind
colors: {
  custom: {
    50: '#84d590',
    500: '#40c161',
    950: '#000000',
  },
}
SCSS
$custom: #40c161;
$custom-light: #84d590;
$custom-dark: #000000;
JSON
{
  "hex": "#40c161",
  "rgb": {
    "r": 64,
    "g": 193,
    "b": 97
  },
  "hsl": {
    "h": 135.349,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.71863,
    "c": 0.17601,
    "h": 148.3
  },
  "luminance": 0.40093
}

Semantic roles & 50–950 ramp

primary
#40C161
secondary
#CB92BC
accent
#4DB6DA
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140C
muted
#7D837D

Preview Lab

Preview with #40C161

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

Preview Lab → · Contrast checker → · Palette generator →

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