#40B477#40B477

#40B477 is a light, vivid green. Relative luminance 0.351; OKLCH L 68.9% C 0.138 H 156.6°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#40B477
RGBrgb(64, 180, 119)
HSLhsl(148, 48%, 48%)
HSVhsv(148, 64%, 71%)
CMYKcmyk(64.4%, 0%, 33.9%, 29.4%)
CIE-LABlab(65.80, -46.68, 21.80)
CIE-LCHlch(65.80, 51.52, 154.97°)
OKLaboklab(68.9% -0.1268 0.0549)
OKLCHoklch(68.9% 0.138 156.6)
XYZxyz(21.7634, 35.0621, 23.0699)
Luminance0.3506 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B477 #B4407D
analogous
#43B440 #40B477 #40B4B1
triadic
#40B477 #7740B4 #B47740
tetradic
#40B477 #4043B4 #B4407D #B4B140
square
#40B477 #4043B4 #B4407D #B4B140
split-complementary
#40B477 #B140B4 #B44043
monochromatic
#205A3B #308759 #40B477 #68C996 #95D9B5

Accessibility & contrast

On white

2.62
#40B477 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#40B477 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B477
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B477#FFFFFF#000000##000000
##40B4771.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A673
Deuteranopia (green-blind)
#A49B7B
Tritanopia (blue-blind)
#00B3A4
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #40b477;
/* rgb */ color: rgb(64, 180, 119);
/* oklch */ color: oklch(68.9% 0.138 156.6);
Tailwind
colors: {
  custom: {
    50: '#81cb9e',
    500: '#40b477',
    950: '#000000',
  },
}
SCSS
$custom: #40b477;
$custom-light: #81cb9e;
$custom-dark: #000000;
JSON
{
  "hex": "#40b477",
  "rgb": {
    "r": 64,
    "g": 180,
    "b": 119
  },
  "hsl": {
    "h": 148.448,
    "s": 47.541,
    "l": 47.843
  },
  "oklch": {
    "l": 0.68901,
    "c": 0.13816,
    "h": 156.6
  },
  "luminance": 0.35064
}

Semantic roles & 50–950 ramp

primary
#40B477
secondary
#C58BA9
accent
#5197D7
background
#F8FCF9
surface
#F0F9F2
border
#CBD2CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #40B477

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

Preview Lab → · Contrast checker → · Palette generator →

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