#40C17B#40C17B

#40C17B is a light, vivid green. Relative luminance 0.407; OKLCH L 72.3% C 0.152 H 155.4°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#40C17B
RGBrgb(64, 193, 123)
HSLhsl(147, 51%, 50%)
HSVhsv(147, 67%, 76%)
CMYKcmyk(66.8%, 0%, 36.3%, 24.3%)
CIE-LABlab(69.94, -51.09, 25.24)
CIE-LCHlch(69.94, 56.99, 153.71°)
OKLaboklab(72.32% -0.1383 0.0633)
OKLCHoklch(72.32% 0.152 155.4)
XYZxyz(24.7572, 40.6573, 25.2780)
Luminance0.4066 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C17B #C14086
analogous
#45C140 #40C17B #40C1BB
triadic
#40C17B #7B40C1 #C17B40
tetradic
#40C17B #4045C1 #C14086 #C1BB40
square
#40C17B #4045C1 #C14086 #C1BB40
split-complementary
#40C17B #BB40C1 #C14045
monochromatic
#216640 #30945E #40C17B #6ED09B #9CDFBB

Accessibility & contrast

On white

2.30
#40C17B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#40C17B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C17B
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C17B#FFFFFF#000000##000000
##40C17B1.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0B276
Deuteranopia (green-blind)
#B0A680
Tritanopia (blue-blind)
#00BFAF
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #40c17b;
/* rgb */ color: rgb(64, 193, 123);
/* oklch */ color: oklch(72.3% 0.152 155.4);
Tailwind
colors: {
  custom: {
    50: '#84d5a1',
    500: '#40c17b',
    950: '#000000',
  },
}
SCSS
$custom: #40c17b;
$custom-light: #84d5a1;
$custom-dark: #000000;
JSON
{
  "hex": "#40c17b",
  "rgb": {
    "r": 64,
    "g": 193,
    "b": 123
  },
  "hsl": {
    "h": 147.442,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.72325,
    "c": 0.15213,
    "h": 155.4
  },
  "luminance": 0.4066
}

Semantic roles & 50–950 ramp

primary
#40C17B
secondary
#CB92B1
accent
#4D9ADA
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140F
muted
#7D837E

Preview Lab

Preview with #40C17B

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

Preview Lab → · Contrast checker → · Palette generator →

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