#40B166#40B166

#40B166 is a light, vivid green. Relative luminance 0.335; OKLCH L 67.8% C 0.150 H 151.2°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#40B166
RGBrgb(64, 177, 102)
HSLhsl(140, 47%, 47%)
HSVhsv(140, 64%, 69%)
CMYKcmyk(63.8%, 0%, 42.4%, 30.6%)
CIE-LABlab(64.56, -48.68, 29.19)
CIE-LCHlch(64.56, 56.76, 149.05°)
OKLaboklab(67.79% -0.1315 0.0722)
OKLCHoklch(67.79% 0.15 151.2)
XYZxyz(20.2332, 33.4915, 17.9660)
Luminance0.3349 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B166 #B1408B
analogous
#53B140 #40B166 #40B19F
triadic
#40B166 #6640B1 #B16640
tetradic
#40B166 #4053B1 #B1408B #B19F40
square
#40B166 #4053B1 #B1408B #B19F40
split-complementary
#40B166 #9F40B1 #B14053
monochromatic
#1F5732 #30844C #40B166 #66C887 #93D8AA

Accessibility & contrast

On white

2.73
#40B166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#40B166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B166
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B166#FFFFFF#000000##000000
##40B1661.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A361
Deuteranopia (green-blind)
#A3996B
Tritanopia (blue-blind)
#14AE9F
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #40b166;
/* rgb */ color: rgb(64, 177, 102);
/* oklch */ color: oklch(67.8% 0.150 151.2);
Tailwind
colors: {
  custom: {
    50: '#81c992',
    500: '#40b166',
    950: '#000000',
  },
}
SCSS
$custom: #40b166;
$custom-light: #81c992;
$custom-dark: #000000;
JSON
{
  "hex": "#40b166",
  "rgb": {
    "r": 64,
    "g": 177,
    "b": 102
  },
  "hsl": {
    "h": 140.177,
    "s": 46.888,
    "l": 47.255
  },
  "oklch": {
    "l": 0.67785,
    "c": 0.15,
    "h": 151.2
  },
  "luminance": 0.33494
}

Semantic roles & 50–950 ramp

primary
#40B166
secondary
#C389B0
accent
#51AAD7
background
#F8FCF9
surface
#F0F8F1
border
#CBD1CB
text
#0B130D
muted
#7C827E

Preview Lab

Preview with #40B166

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

Preview Lab → · Contrast checker → · Palette generator →

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