#40B678#40B678

#40B678 is a light, vivid green. Relative luminance 0.359; OKLCH L 69.4% C 0.140 H 156.5°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#40B678
RGBrgb(64, 182, 120)
HSLhsl(148, 48%, 48%)
HSVhsv(148, 65%, 71%)
CMYKcmyk(64.8%, 0%, 34.1%, 28.6%)
CIE-LABlab(66.44, -47.29, 22.14)
CIE-LCHlch(66.44, 52.22, 154.92°)
OKLaboklab(69.44% -0.1284 0.0558)
OKLCHoklch(69.44% 0.14 156.5)
XYZxyz(22.2305, 35.8996, 23.5234)
Luminance0.3590 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B678 #B6407E
analogous
#43B640 #40B678 #40B6B3
triadic
#40B678 #7840B6 #B67840
tetradic
#40B678 #4043B6 #B6407E #B6B340
square
#40B678 #4043B6 #B6407E #B6B340
split-complementary
#40B678 #B340B6 #B64043
monochromatic
#205B3C #30895A #40B678 #69CA97 #96DAB6

Accessibility & contrast

On white

2.57
#40B678 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#40B678 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B678
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B678#FFFFFF#000000##000000
##40B6781.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A874
Deuteranopia (green-blind)
#A59D7C
Tritanopia (blue-blind)
#00B4A6
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #40b678;
/* rgb */ color: rgb(64, 182, 120);
/* oklch */ color: oklch(69.4% 0.140 156.5);
Tailwind
colors: {
  custom: {
    50: '#82cd9f',
    500: '#40b678',
    950: '#000000',
  },
}
SCSS
$custom: #40b678;
$custom-light: #82cd9f;
$custom-dark: #000000;
JSON
{
  "hex": "#40b678",
  "rgb": {
    "r": 64,
    "g": 182,
    "b": 120
  },
  "hsl": {
    "h": 148.475,
    "s": 47.967,
    "l": 48.235
  },
  "oklch": {
    "l": 0.69437,
    "c": 0.13998,
    "h": 156.5
  },
  "luminance": 0.35902
}

Semantic roles & 50–950 ramp

primary
#40B678
secondary
#C68CAA
accent
#5097D8
background
#F8FCF9
surface
#F0F9F2
border
#CBD2CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #40B678

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

Preview Lab → · Contrast checker → · Palette generator →

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