#40C381#40C381

#40C381 is a light, vivid green. Relative luminance 0.417; OKLCH L 73.0% C 0.149 H 157.1°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#40C381
RGBrgb(64, 195, 129)
HSLhsl(150, 52%, 51%)
HSVhsv(150, 67%, 76%)
CMYKcmyk(67.2%, 0%, 33.8%, 23.5%)
CIE-LABlab(70.67, -50.70, 23.05)
CIE-LCHlch(70.67, 55.70, 155.55°)
OKLaboklab(72.96% -0.1376 0.0581)
OKLCHoklch(72.96% 0.149 157.1)
XYZxyz(25.5895, 41.7024, 27.4654)
Luminance0.4170 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C381 #C34082
analogous
#40C340 #40C381 #40C3C2
triadic
#40C381 #8140C3 #C38140
tetradic
#40C381 #4040C3 #C34082 #C3C240
square
#40C381 #4040C3 #C34082 #C3C240
split-complementary
#40C381 #C240C3 #C34040
monochromatic
#216844 #2F9763 #40C381 #6FD2A0 #9DE0BE

Accessibility & contrast

On white

2.25
#40C381 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.34
#40C381 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C381
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C381#FFFFFF#000000##000000
##40C3811.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2B47D
Deuteranopia (green-blind)
#B1A885
Tritanopia (blue-blind)
#00C1B2
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #40c381;
/* rgb */ color: rgb(64, 195, 129);
/* oklch */ color: oklch(73.0% 0.149 157.1);
Tailwind
colors: {
  custom: {
    50: '#84d6a6',
    500: '#40c381',
    950: '#000000',
  },
}
SCSS
$custom: #40c381;
$custom-light: #84d6a6;
$custom-dark: #000000;
JSON
{
  "hex": "#40c381",
  "rgb": {
    "r": 64,
    "g": 195,
    "b": 129
  },
  "hsl": {
    "h": 149.771,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.72961,
    "c": 0.14936,
    "h": 157.1
  },
  "luminance": 0.41705
}

Semantic roles & 50–950 ramp

primary
#40C381
secondary
#CC92B0
accent
#4C94DC
background
#F8FDFA
surface
#F0FAF4
border
#CBD3CE
text
#0C140F
muted
#7D837F

Preview Lab

Preview with #40C381

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

Preview Lab → · Contrast checker → · Palette generator →

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