#40B666#40B666

#40B666 is a light, vivid green. Relative luminance 0.355; OKLCH L 69.1% C 0.157 H 150.6°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#40B666
RGBrgb(64, 182, 102)
HSLhsl(139, 48%, 48%)
HSVhsv(139, 65%, 71%)
CMYKcmyk(64.8%, 0%, 44%, 28.6%)
CIE-LABlab(66.14, -50.63, 31.24)
CIE-LCHlch(66.14, 59.50, 148.32°)
OKLaboklab(69.09% -0.1366 0.077)
OKLCHoklch(69.09% 0.157 150.6)
XYZxyz(21.2389, 35.5030, 18.3013)
Luminance0.3550 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B666 #B64090
analogous
#55B640 #40B666 #40B6A1
triadic
#40B666 #6640B6 #B66640
tetradic
#40B666 #4055B6 #B64090 #B6A140
square
#40B666 #4055B6 #B64090 #B6A140
split-complementary
#40B666 #A140B6 #B64055
monochromatic
#205B33 #30894D #40B666 #69CA88 #96DAAC

Accessibility & contrast

On white

2.59
#40B666 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#40B666 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B666
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B666#FFFFFF#000000##000000
##40B6661.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A760
Deuteranopia (green-blind)
#A89D6B
Tritanopia (blue-blind)
#0FB3A3
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #40b666;
/* rgb */ color: rgb(64, 182, 102);
/* oklch */ color: oklch(69.1% 0.157 150.6);
Tailwind
colors: {
  custom: {
    50: '#82cd92',
    500: '#40b666',
    950: '#000000',
  },
}
SCSS
$custom: #40b666;
$custom-light: #82cd92;
$custom-dark: #000000;
JSON
{
  "hex": "#40b666",
  "rgb": {
    "r": 64,
    "g": 182,
    "b": 102
  },
  "hsl": {
    "h": 139.322,
    "s": 47.967,
    "l": 48.235
  },
  "oklch": {
    "l": 0.69087,
    "c": 0.15683,
    "h": 150.6
  },
  "luminance": 0.35505
}

Semantic roles & 50–950 ramp

primary
#40B666
secondary
#C68CB3
accent
#50ACD8
background
#F8FCF9
surface
#F0F9F1
border
#CBD2CB
text
#0C130D
muted
#7D827E

Preview Lab

Preview with #40B666

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

Preview Lab → · Contrast checker → · Palette generator →

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