#40A668#40A668

#40A668 is a light, vivid green. Relative luminance 0.294; OKLCH L 65.0% C 0.133 H 153.6°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#40A668
RGBrgb(64, 166, 104)
HSLhsl(144, 44%, 45%)
HSVhsv(144, 61%, 65%)
CMYKcmyk(61.4%, 0%, 37.3%, 34.9%)
CIE-LABlab(61.10, -43.88, 23.57)
CIE-LCHlch(61.10, 49.81, 151.75°)
OKLaboklab(64.95% -0.1189 0.059)
OKLCHoklch(64.95% 0.133 153.6)
XYZxyz(18.2478, 29.3601, 17.7994)
Luminance0.2936 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A668 #A6407E
analogous
#4BA640 #40A668 #40A69B
triadic
#40A668 #6840A6 #A66840
tetradic
#40A668 #404BA6 #A6407E #A69B40
square
#40A668 #404BA6 #A6407E #A69B40
split-complementary
#40A668 #9B40A6 #A6404B
monochromatic
#1E4E31 #2F7A4C #40A668 #61C287 #8DD3A9

Accessibility & contrast

On white

3.06
#40A668 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#40A668 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A668
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A668#FFFFFF#000000##000000
##40A6681.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69964
Deuteranopia (green-blind)
#98906C
Tritanopia (blue-blind)
#1AA496
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #40a668;
/* rgb */ color: rgb(64, 166, 104);
/* oklch */ color: oklch(65.0% 0.133 153.6);
Tailwind
colors: {
  custom: {
    50: '#7fc193',
    500: '#40a668',
    950: '#000000',
  },
}
SCSS
$custom: #40a668;
$custom-light: #7fc193;
$custom-dark: #000000;
JSON
{
  "hex": "#40a668",
  "rgb": {
    "r": 64,
    "g": 166,
    "b": 104
  },
  "hsl": {
    "h": 143.529,
    "s": 44.348,
    "l": 45.098
  },
  "oklch": {
    "l": 0.64953,
    "c": 0.13271,
    "h": 153.6
  },
  "luminance": 0.29362
}

Semantic roles & 50–950 ramp

primary
#40A668
secondary
#BE84A7
accent
#54A2D4
background
#F8FCF9
surface
#EFF8F1
border
#CAD1CB
text
#0B120D
muted
#7C817E

Preview Lab

Preview with #40A668

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

Preview Lab → · Contrast checker → · Palette generator →

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