#40B178#40B178

#40B178 is a light, vivid green. Relative luminance 0.339; OKLCH L 68.1% C 0.133 H 157.7°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#40B178
RGBrgb(64, 177, 120)
HSLhsl(150, 47%, 47%)
HSVhsv(150, 64%, 69%)
CMYKcmyk(63.8%, 0%, 32.2%, 30.6%)
CIE-LABlab(64.87, -45.25, 20.00)
CIE-LCHlch(64.87, 49.47, 156.15°)
OKLaboklab(68.15% -0.1231 0.0506)
OKLCHoklch(68.15% 0.133 157.7)
XYZxyz(21.2247, 33.8881, 23.1882)
Luminance0.3389 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B178 #B14079
analogous
#40B140 #40B178 #40B1B1
triadic
#40B178 #7840B1 #B17840
tetradic
#40B178 #4040B1 #B14079 #B1B140
square
#40B178 #4040B1 #B14079 #B1B140
split-complementary
#40B178 #B140B1 #B14040
monochromatic
#1F573B #30845A #40B178 #66C897 #93D8B5

Accessibility & contrast

On white

2.70
#40B178 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#40B178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B178
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B178#FFFFFF#000000##000000
##40B1781.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A474
Deuteranopia (green-blind)
#A1997C
Tritanopia (blue-blind)
#00B0A2
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #40b178;
/* rgb */ color: rgb(64, 177, 120);
/* oklch */ color: oklch(68.1% 0.133 157.7);
Tailwind
colors: {
  custom: {
    50: '#81c99f',
    500: '#40b178',
    950: '#000000',
  },
}
SCSS
$custom: #40b178;
$custom-light: #81c99f;
$custom-dark: #000000;
JSON
{
  "hex": "#40b178",
  "rgb": {
    "r": 64,
    "g": 177,
    "b": 120
  },
  "hsl": {
    "h": 149.735,
    "s": 46.888,
    "l": 47.255
  },
  "oklch": {
    "l": 0.68149,
    "c": 0.13311,
    "h": 157.7
  },
  "luminance": 0.3389
}

Semantic roles & 50–950 ramp

primary
#40B178
secondary
#C389A7
accent
#5194D7
background
#F8FCF9
surface
#EFF8F2
border
#CAD1CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #40B178

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

Preview Lab → · Contrast checker → · Palette generator →

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