#40B87B#40B87B

#40B87B is a light, vivid green. Relative luminance 0.368; OKLCH L 70.0% C 0.140 H 157.2°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#40B87B
RGBrgb(64, 184, 123)
HSLhsl(150, 48%, 49%)
HSVhsv(150, 65%, 72%)
CMYKcmyk(65.2%, 0%, 33.2%, 27.8%)
CIE-LABlab(67.13, -47.50, 21.45)
CIE-LCHlch(67.13, 52.12, 155.70°)
OKLaboklab(70.02% -0.1291 0.0542)
OKLCHoklch(70.02% 0.14 157.2)
XYZxyz(22.8279, 36.7986, 24.6348)
Luminance0.3680 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B87B #B8407D
analogous
#41B840 #40B87B #40B8B7
triadic
#40B87B #7B40B8 #B87B40
tetradic
#40B87B #4041B8 #B8407D #B8B740
square
#40B87B #4041B8 #B8407D #B8B740
split-complementary
#40B87B #B740B8 #B84041
monochromatic
#205D3E #308B5D #40B87B #6ACB9A #97DBB9

Accessibility & contrast

On white

2.51
#40B87B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#40B87B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B87B
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B87B#FFFFFF#000000##000000
##40B87B1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7AA77
Deuteranopia (green-blind)
#A79F7F
Tritanopia (blue-blind)
#00B7A8
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #40b87b;
/* rgb */ color: rgb(64, 184, 123);
/* oklch */ color: oklch(70.0% 0.140 157.2);
Tailwind
colors: {
  custom: {
    50: '#82cea1',
    500: '#40b87b',
    950: '#000000',
  },
}
SCSS
$custom: #40b87b;
$custom-light: #82cea1;
$custom-dark: #000000;
JSON
{
  "hex": "#40b87b",
  "rgb": {
    "r": 64,
    "g": 184,
    "b": 123
  },
  "hsl": {
    "h": 149.5,
    "s": 48.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.70016,
    "c": 0.13997,
    "h": 157.2
  },
  "luminance": 0.36801
}

Semantic roles & 50–950 ramp

primary
#40B87B
secondary
#C78DAA
accent
#5095D8
background
#F8FCF9
surface
#F0F9F2
border
#CBD2CC
text
#0C140F
muted
#7D827E

Preview Lab

Preview with #40B87B

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

Preview Lab → · Contrast checker → · Palette generator →

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