#40C97B#40C97B

#40C97B is a light, vivid green. Relative luminance 0.443; OKLCH L 74.4% C 0.163 H 154.1°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#40C97B
RGBrgb(64, 201, 123)
HSLhsl(146, 56%, 52%)
HSVhsv(146, 68%, 79%)
CMYKcmyk(68.2%, 0%, 38.8%, 21.2%)
CIE-LABlab(72.42, -54.18, 28.56)
CIE-LCHlch(72.42, 61.25, 152.21°)
OKLaboklab(74.37% -0.1464 0.0712)
OKLCHoklch(74.37% 0.163 154.1)
XYZxyz(26.5738, 44.2904, 25.8835)
Luminance0.4429 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C97B #C9408E
analogous
#4AC940 #40C97B #40C9BF
triadic
#40C97B #7B40C9 #C97B40
tetradic
#40C97B #404AC9 #C9408E #C9BF40
square
#40C97B #404AC9 #C9408E #C9BF40
split-complementary
#40C97B #BF40C9 #C9404A
monochromatic
#1F6F42 #2D9F5E #40C97B #70D69C #9FE4BD

Accessibility & contrast

On white

2.13
#40C97B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.86
#40C97B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C97B
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C97B#FFFFFF#000000##000000
##40C97B1.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B976
Deuteranopia (green-blind)
#B7AD80
Tritanopia (blue-blind)
#00C7B5
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #40c97b;
/* rgb */ color: rgb(64, 201, 123);
/* oklch */ color: oklch(74.4% 0.163 154.1);
Tailwind
colors: {
  custom: {
    50: '#85daa2',
    500: '#40c97b',
    950: '#000000',
  },
}
SCSS
$custom: #40c97b;
$custom-light: #85daa2;
$custom-dark: #000000;
JSON
{
  "hex": "#40c97b",
  "rgb": {
    "r": 64,
    "g": 201,
    "b": 123
  },
  "hsl": {
    "h": 145.839,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.74372,
    "c": 0.16278,
    "h": 154.1
  },
  "luminance": 0.44293
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40C97B

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

Preview Lab → · Contrast checker → · Palette generator →

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