#40B778#40B778

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

Color values

HEX#40B778
RGBrgb(64, 183, 120)
HSLhsl(148, 48%, 48%)
HSVhsv(148, 65%, 72%)
CMYKcmyk(65%, 0%, 34.4%, 28.2%)
CIE-LABlab(66.76, -47.70, 22.56)
CIE-LCHlch(66.76, 52.77, 154.69°)
OKLaboklab(69.69% -0.1294 0.0568)
OKLCHoklch(69.69% 0.141 156.3)
XYZxyz(22.4360, 36.3107, 23.5919)
Luminance0.3631 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B778 #B7407F
analogous
#44B740 #40B778 #40B7B3
triadic
#40B778 #7840B7 #B77840
tetradic
#40B778 #4044B7 #B7407F #B7B340
square
#40B778 #4044B7 #B7407F #B7B340
split-complementary
#40B778 #B340B7 #B74044
monochromatic
#205C3D #308A5A #40B778 #69CB97 #97DBB7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40B778#FFFFFF#000000##000000
##40B7781.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)
#B6A974
Deuteranopia (green-blind)
#A69E7C
Tritanopia (blue-blind)
#00B5A7
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #40b778;
/* rgb */ color: rgb(64, 183, 120);
/* oklch */ color: oklch(69.7% 0.141 156.3);
Tailwind
colors: {
  custom: {
    50: '#82cd9f',
    500: '#40b778',
    950: '#000000',
  },
}
SCSS
$custom: #40b778;
$custom-light: #82cd9f;
$custom-dark: #000000;
JSON
{
  "hex": "#40b778",
  "rgb": {
    "r": 64,
    "g": 183,
    "b": 120
  },
  "hsl": {
    "h": 148.235,
    "s": 48.178,
    "l": 48.431
  },
  "oklch": {
    "l": 0.69695,
    "c": 0.14135,
    "h": 156.3
  },
  "luminance": 0.36313
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40B778

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

Preview Lab → · Contrast checker → · Palette generator →

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