#40B476#40B476

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

Color values

HEX#40B476
RGBrgb(64, 180, 118)
HSLhsl(148, 48%, 48%)
HSVhsv(148, 64%, 71%)
CMYKcmyk(64.4%, 0%, 34.4%, 29.4%)
CIE-LABlab(65.78, -46.88, 22.31)
CIE-LCHlch(65.78, 51.92, 154.55°)
OKLaboklab(68.88% -0.1272 0.0562)
OKLCHoklch(68.88% 0.139 156.2)
XYZxyz(21.7037, 35.0383, 22.7553)
Luminance0.3504 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B476 #B4407E
analogous
#44B440 #40B476 #40B4B0
triadic
#40B476 #7640B4 #B47640
tetradic
#40B476 #4044B4 #B4407E #B4B040
square
#40B476 #4044B4 #B4407E #B4B040
split-complementary
#40B476 #B040B4 #B44044
monochromatic
#205A3B #308758 #40B476 #68C995 #95D9B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40B476#FFFFFF#000000##000000
##40B4761.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)
#B3A672
Deuteranopia (green-blind)
#A49B7A
Tritanopia (blue-blind)
#00B2A4
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #40b476;
/* rgb */ color: rgb(64, 180, 118);
/* oklch */ color: oklch(68.9% 0.139 156.2);
Tailwind
colors: {
  custom: {
    50: '#81cb9e',
    500: '#40b476',
    950: '#000000',
  },
}
SCSS
$custom: #40b476;
$custom-light: #81cb9e;
$custom-dark: #000000;
JSON
{
  "hex": "#40b476",
  "rgb": {
    "r": 64,
    "g": 180,
    "b": 118
  },
  "hsl": {
    "h": 147.931,
    "s": 47.541,
    "l": 47.843
  },
  "oklch": {
    "l": 0.68879,
    "c": 0.13908,
    "h": 156.2
  },
  "luminance": 0.35041
}

Semantic roles & 50–950 ramp

primary
#40B476
secondary
#C58BAA
accent
#5199D7
background
#F8FCF9
surface
#F0F9F2
border
#CBD2CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #40B476

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

Preview Lab → · Contrast checker → · Palette generator →

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