#40B466#40B466

#40B466 is a light, vivid green. Relative luminance 0.347; OKLCH L 68.6% C 0.154 H 150.8°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#40B466
RGBrgb(64, 180, 102)
HSLhsl(140, 48%, 48%)
HSVhsv(140, 64%, 71%)
CMYKcmyk(64.4%, 0%, 43.3%, 29.4%)
CIE-LABlab(65.51, -49.86, 30.43)
CIE-LCHlch(65.51, 58.41, 148.60°)
OKLaboklab(68.57% -0.1346 0.0751)
OKLCHoklch(68.57% 0.154 150.8)
XYZxyz(20.8323, 34.6897, 18.1657)
Luminance0.3469 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B466 #B4408E
analogous
#54B440 #40B466 #40B4A0
triadic
#40B466 #6640B4 #B46640
tetradic
#40B466 #4054B4 #B4408E #B4A040
square
#40B466 #4054B4 #B4408E #B4A040
split-complementary
#40B466 #A040B4 #B44054
monochromatic
#205A33 #30874C #40B466 #68C988 #95D9AB

Accessibility & contrast

On white

2.65
#40B466 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#40B466 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B466
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B466#FFFFFF#000000##000000
##40B4661.002.657.947.94
#FFFFFF2.651.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A560
Deuteranopia (green-blind)
#A69B6B
Tritanopia (blue-blind)
#11B1A1
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #40b466;
/* rgb */ color: rgb(64, 180, 102);
/* oklch */ color: oklch(68.6% 0.154 150.8);
Tailwind
colors: {
  custom: {
    50: '#82cb92',
    500: '#40b466',
    950: '#000000',
  },
}
SCSS
$custom: #40b466;
$custom-light: #82cb92;
$custom-dark: #000000;
JSON
{
  "hex": "#40b466",
  "rgb": {
    "r": 64,
    "g": 180,
    "b": 102
  },
  "hsl": {
    "h": 139.655,
    "s": 47.541,
    "l": 47.843
  },
  "oklch": {
    "l": 0.68566,
    "c": 0.1541,
    "h": 150.8
  },
  "luminance": 0.34692
}

Semantic roles & 50–950 ramp

primary
#40B466
secondary
#C58BB2
accent
#51ABD7
background
#F8FCF9
surface
#F0F9F1
border
#CBD2CB
text
#0B130D
muted
#7C827E

Preview Lab

Preview with #40B466

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

Preview Lab → · Contrast checker → · Palette generator →

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