#40B777#40B777

#40B777 is a light, vivid green. Relative luminance 0.363; OKLCH L 69.7% C 0.142 H 155.9°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#40B777
RGBrgb(64, 183, 119)
HSLhsl(148, 48%, 48%)
HSVhsv(148, 65%, 72%)
CMYKcmyk(65%, 0%, 35%, 28.2%)
CIE-LABlab(66.74, -47.90, 23.07)
CIE-LCHlch(66.74, 53.16, 154.28°)
OKLaboklab(69.67% -0.1299 0.058)
OKLCHoklch(69.67% 0.142 155.9)
XYZxyz(22.3756, 36.2865, 23.2740)
Luminance0.3629 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B777 #B74080
analogous
#44B740 #40B777 #40B7B2
triadic
#40B777 #7740B7 #B77740
tetradic
#40B777 #4044B7 #B74080 #B7B240
square
#40B777 #4044B7 #B74080 #B7B240
split-complementary
#40B777 #B240B7 #B74044
monochromatic
#205C3C #308A5A #40B777 #69CB96 #97DBB6

Accessibility & contrast

On white

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

On black

8.26
#40B777 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B777
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B777#FFFFFF#000000##000000
##40B7771.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A973
Deuteranopia (green-blind)
#A79E7B
Tritanopia (blue-blind)
#00B5A6
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #40b777;
/* rgb */ color: rgb(64, 183, 119);
/* oklch */ color: oklch(69.7% 0.142 155.9);
Tailwind
colors: {
  custom: {
    50: '#82cd9e',
    500: '#40b777',
    950: '#000000',
  },
}
SCSS
$custom: #40b777;
$custom-light: #82cd9e;
$custom-dark: #000000;
JSON
{
  "hex": "#40b777",
  "rgb": {
    "r": 64,
    "g": 183,
    "b": 119
  },
  "hsl": {
    "h": 147.731,
    "s": 48.178,
    "l": 48.431
  },
  "oklch": {
    "l": 0.69674,
    "c": 0.14227,
    "h": 155.9
  },
  "luminance": 0.36289
}

Semantic roles & 50–950 ramp

primary
#40B777
secondary
#C68DAC
accent
#5099D8
background
#F8FCF9
surface
#F0F9F2
border
#CBD2CC
text
#0C140E
muted
#7D827E

Preview Lab

Preview with #40B777

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

Preview Lab → · Contrast checker → · Palette generator →

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