#40BA66#40BA66

#40BA66 is a light, vivid green. Relative luminance 0.372; OKLCH L 70.1% C 0.162 H 150.2°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#40BA66
RGBrgb(64, 186, 102)
HSLhsl(139, 49%, 49%)
HSVhsv(139, 66%, 73%)
CMYKcmyk(65.6%, 0%, 45.2%, 27.1%)
CIE-LABlab(67.40, -52.17, 32.87)
CIE-LCHlch(67.40, 61.66, 147.79°)
OKLaboklab(70.13% -0.1407 0.0807)
OKLCHoklch(70.13% 0.162 150.2)
XYZxyz(22.0698, 37.1648, 18.5782)
Luminance0.3717 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BA66 #BA4094
analogous
#57BA40 #40BA66 #40BAA3
triadic
#40BA66 #6640BA #BA6640
tetradic
#40BA66 #4057BA #BA4094 #BAA340
square
#40BA66 #4057BA #BA4094 #BAA340
split-complementary
#40BA66 #A340BA #BA4057
monochromatic
#215F34 #308C4D #40BA66 #6BCC89 #99DCAE

Accessibility & contrast

On white

2.49
#40BA66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#40BA66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BA66
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BA66#FFFFFF#000000##000000
##40BA661.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBAB60
Deuteranopia (green-blind)
#ACA06C
Tritanopia (blue-blind)
#0AB7A6
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #40ba66;
/* rgb */ color: rgb(64, 186, 102);
/* oklch */ color: oklch(70.1% 0.162 150.2);
Tailwind
colors: {
  custom: {
    50: '#83d093',
    500: '#40ba66',
    950: '#000000',
  },
}
SCSS
$custom: #40ba66;
$custom-light: #83d093;
$custom-dark: #000000;
JSON
{
  "hex": "#40ba66",
  "rgb": {
    "r": 64,
    "g": 186,
    "b": 102
  },
  "hsl": {
    "h": 138.689,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.70126,
    "c": 0.16221,
    "h": 150.2
  },
  "luminance": 0.37167
}

Semantic roles & 50–950 ramp

primary
#40BA66
secondary
#C88EB6
accent
#4FAED8
background
#F8FCF9
surface
#F0F9F1
border
#CBD2CB
text
#0C140D
muted
#7D827E

Preview Lab

Preview with #40BA66

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

Preview Lab → · Contrast checker → · Palette generator →

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