#40A672#40A672

#40A672 is a light, vivid green. Relative luminance 0.296; OKLCH L 65.2% C 0.123 H 157.8°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#40A672
RGBrgb(64, 166, 114)
HSLhsl(149, 44%, 45%)
HSVhsv(149, 61%, 65%)
CMYKcmyk(61.4%, 0%, 31.3%, 34.9%)
CIE-LABlab(61.29, -41.88, 18.37)
CIE-LCHlch(61.29, 45.73, 156.31°)
OKLaboklab(65.17% -0.1141 0.0465)
OKLCHoklch(65.17% 0.123 157.8)
XYZxyz(18.7862, 29.5755, 20.6349)
Luminance0.2958 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A672 #A64074
analogous
#41A640 #40A672 #40A6A5
triadic
#40A672 #7240A6 #A67240
tetradic
#40A672 #4041A6 #A64074 #A6A540
square
#40A672 #4041A6 #A64074 #A6A540
split-complementary
#40A672 #A540A6 #A64041
monochromatic
#1E4E35 #2F7A54 #40A672 #61C291 #8DD3B0

Accessibility & contrast

On white

3.04
#40A672 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#40A672 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A672
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A672#FFFFFF#000000##000000
##40A6721.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59A6F
Deuteranopia (green-blind)
#979075
Tritanopia (blue-blind)
#10A598
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #40a672;
/* rgb */ color: rgb(64, 166, 114);
/* oklch */ color: oklch(65.2% 0.123 157.8);
Tailwind
colors: {
  custom: {
    50: '#7fc19a',
    500: '#40a672',
    950: '#000000',
  },
}
SCSS
$custom: #40a672;
$custom-light: #7fc19a;
$custom-dark: #000000;
JSON
{
  "hex": "#40a672",
  "rgb": {
    "r": 64,
    "g": 166,
    "b": 114
  },
  "hsl": {
    "h": 149.412,
    "s": 44.348,
    "l": 45.098
  },
  "oklch": {
    "l": 0.65169,
    "c": 0.12326,
    "h": 157.8
  },
  "luminance": 0.29577
}

Semantic roles & 50–950 ramp

primary
#40A672
secondary
#BE84A1
accent
#5495D4
background
#F8FBF9
surface
#EFF7F2
border
#CAD0CC
text
#0B120E
muted
#7C817E

Preview Lab

Preview with #40A672

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

Preview Lab → · Contrast checker → · Palette generator →

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