#40C87B#40C87B

#40C87B is a light, vivid green. Relative luminance 0.438; OKLCH L 74.1% C 0.161 H 154.2°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#40C87B
RGBrgb(64, 200, 123)
HSLhsl(146, 55%, 52%)
HSVhsv(146, 68%, 78%)
CMYKcmyk(68%, 0%, 38.5%, 21.6%)
CIE-LABlab(72.11, -53.80, 28.15)
CIE-LCHlch(72.11, 60.72, 152.38°)
OKLaboklab(74.12% -0.1454 0.0703)
OKLCHoklch(74.12% 0.161 154.2)
XYZxyz(26.3415, 43.8257, 25.8060)
Luminance0.4383 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C87B #C8408D
analogous
#49C840 #40C87B #40C8BF
triadic
#40C87B #7B40C8 #C87B40
tetradic
#40C87B #4049C8 #C8408D #C8BF40
square
#40C87B #4049C8 #C8408D #C8BF40
split-complementary
#40C87B #BF40C8 #C84049
monochromatic
#206E42 #2D9D5E #40C87B #70D69C #9FE3BD

Accessibility & contrast

On white

2.15
#40C87B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.77
#40C87B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C87B
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C87B#FFFFFF#000000##000000
##40C87B1.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B876
Deuteranopia (green-blind)
#B7AC80
Tritanopia (blue-blind)
#00C6B5
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #40c87b;
/* rgb */ color: rgb(64, 200, 123);
/* oklch */ color: oklch(74.1% 0.161 154.2);
Tailwind
colors: {
  custom: {
    50: '#85daa2',
    500: '#40c87b',
    950: '#000000',
  },
}
SCSS
$custom: #40c87b;
$custom-light: #85daa2;
$custom-dark: #000000;
JSON
{
  "hex": "#40c87b",
  "rgb": {
    "r": 64,
    "g": 200,
    "b": 123
  },
  "hsl": {
    "h": 146.029,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.74116,
    "c": 0.16145,
    "h": 154.2
  },
  "luminance": 0.43829
}

Semantic roles & 50–950 ramp

primary
#40C87B
secondary
#D094B6
accent
#499EDF
background
#F8FDFA
surface
#F0FBF3
border
#CBD4CD
text
#0C150F
muted
#7D837F

Preview Lab

Preview with #40C87B

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

Preview Lab → · Contrast checker → · Palette generator →

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