#40B77B#40B77B

#40B77B is a light, vivid green. Relative luminance 0.364; OKLCH L 69.8% C 0.139 H 157.5°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#40B77B
RGBrgb(64, 183, 123)
HSLhsl(150, 48%, 48%)
HSVhsv(150, 65%, 72%)
CMYKcmyk(65%, 0%, 32.8%, 28.2%)
CIE-LABlab(66.81, -47.10, 21.03)
CIE-LCHlch(66.81, 51.58, 155.94°)
OKLaboklab(69.76% -0.128 0.0531)
OKLCHoklch(69.76% 0.139 157.5)
XYZxyz(22.6209, 36.3846, 24.5658)
Luminance0.3639 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B77B #B7407C
analogous
#40B740 #40B77B #40B7B6
triadic
#40B77B #7B40B7 #B77B40
tetradic
#40B77B #4040B7 #B7407C #B7B640
square
#40B77B #4040B7 #B7407C #B7B640
split-complementary
#40B77B #B640B7 #B74040
monochromatic
#205C3E #308A5D #40B77B #69CB9A #97DBB8

Accessibility & contrast

On white

2.54
#40B77B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#40B77B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B77B
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B77B#FFFFFF#000000##000000
##40B77B1.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A977
Deuteranopia (green-blind)
#A69E7F
Tritanopia (blue-blind)
#00B6A7
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #40b77b;
/* rgb */ color: rgb(64, 183, 123);
/* oklch */ color: oklch(69.8% 0.139 157.5);
Tailwind
colors: {
  custom: {
    50: '#82cda1',
    500: '#40b77b',
    950: '#000000',
  },
}
SCSS
$custom: #40b77b;
$custom-light: #82cda1;
$custom-dark: #000000;
JSON
{
  "hex": "#40b77b",
  "rgb": {
    "r": 64,
    "g": 183,
    "b": 123
  },
  "hsl": {
    "h": 149.748,
    "s": 48.178,
    "l": 48.431
  },
  "oklch": {
    "l": 0.69759,
    "c": 0.13861,
    "h": 157.5
  },
  "luminance": 0.36387
}

Semantic roles & 50–950 ramp

primary
#40B77B
secondary
#C68DAA
accent
#5094D8
background
#F8FCF9
surface
#F0F9F2
border
#CBD2CC
text
#0C140F
muted
#7D827E

Preview Lab

Preview with #40B77B

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

Preview Lab → · Contrast checker → · Palette generator →

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