#40B779#40B779

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

Color values

HEX#40B779
RGBrgb(64, 183, 121)
HSLhsl(149, 48%, 48%)
HSVhsv(149, 65%, 72%)
CMYKcmyk(65%, 0%, 33.9%, 28.2%)
CIE-LABlab(66.78, -47.50, 22.05)
CIE-LCHlch(66.78, 52.37, 155.10°)
OKLaboklab(69.72% -0.129 0.0556)
OKLCHoklch(69.72% 0.14 156.7)
XYZxyz(22.4970, 36.3351, 23.9132)
Luminance0.3634 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B779 #B7407E
analogous
#43B740 #40B779 #40B7B4
triadic
#40B779 #7940B7 #B77940
tetradic
#40B779 #4043B7 #B7407E #B7B440
square
#40B779 #4043B7 #B7407E #B7B440
split-complementary
#40B779 #B440B7 #B74043
monochromatic
#205C3D #308A5B #40B779 #69CB98 #97DBB7

Accessibility & contrast

On white

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

On black

8.27
#40B779 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B779
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B779#FFFFFF#000000##000000
##40B7791.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A975
Deuteranopia (green-blind)
#A69E7D
Tritanopia (blue-blind)
#00B6A7
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #40b779;
/* rgb */ color: rgb(64, 183, 121);
/* oklch */ color: oklch(69.7% 0.140 156.7);
Tailwind
colors: {
  custom: {
    50: '#82cda0',
    500: '#40b779',
    950: '#000000',
  },
}
SCSS
$custom: #40b779;
$custom-light: #82cda0;
$custom-dark: #000000;
JSON
{
  "hex": "#40b779",
  "rgb": {
    "r": 64,
    "g": 183,
    "b": 121
  },
  "hsl": {
    "h": 148.739,
    "s": 48.178,
    "l": 48.431
  },
  "oklch": {
    "l": 0.69716,
    "c": 0.14044,
    "h": 156.7
  },
  "luminance": 0.36337
}

Semantic roles & 50–950 ramp

primary
#40B779
secondary
#C68DAB
accent
#5097D8
background
#F8FCF9
surface
#F0F9F2
border
#CBD2CC
text
#0C140E
muted
#7D827E

Preview Lab

Preview with #40B779

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

Preview Lab → · Contrast checker → · Palette generator →

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