#40B177#40B177

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

Color values

HEX#40B177
RGBrgb(64, 177, 119)
HSLhsl(149, 47%, 47%)
HSVhsv(149, 64%, 69%)
CMYKcmyk(63.8%, 0%, 32.8%, 30.6%)
CIE-LABlab(64.85, -45.45, 20.52)
CIE-LCHlch(64.85, 49.87, 155.71°)
OKLaboklab(68.13% -0.1236 0.0518)
OKLCHoklch(68.13% 0.134 157.2)
XYZxyz(21.1644, 33.8640, 22.8702)
Luminance0.3387 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B177 #B1407A
analogous
#41B140 #40B177 #40B1B0
triadic
#40B177 #7740B1 #B17740
tetradic
#40B177 #4041B1 #B1407A #B1B040
square
#40B177 #4041B1 #B1407A #B1B040
split-complementary
#40B177 #B040B1 #B14041
monochromatic
#1F573B #308459 #40B177 #66C896 #93D8B5

Accessibility & contrast

On white

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

On black

7.77
#40B177 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B177
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B177#FFFFFF#000000##000000
##40B1771.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40b177;
/* rgb */ color: rgb(64, 177, 119);
/* oklch */ color: oklch(68.1% 0.134 157.2);
Tailwind
colors: {
  custom: {
    50: '#81c99e',
    500: '#40b177',
    950: '#000000',
  },
}
SCSS
$custom: #40b177;
$custom-light: #81c99e;
$custom-dark: #000000;
JSON
{
  "hex": "#40b177",
  "rgb": {
    "r": 64,
    "g": 177,
    "b": 119
  },
  "hsl": {
    "h": 149.204,
    "s": 46.888,
    "l": 47.255
  },
  "oklch": {
    "l": 0.68127,
    "c": 0.13403,
    "h": 157.2
  },
  "luminance": 0.33866
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40B177

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

Preview Lab → · Contrast checker → · Palette generator →

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