#40A670#40A670

#40A670 is a light, vivid green. Relative luminance 0.295; OKLCH L 65.1% C 0.125 H 156.9°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#40A670
RGBrgb(64, 166, 112)
HSLhsl(148, 44%, 45%)
HSVhsv(148, 61%, 65%)
CMYKcmyk(61.4%, 0%, 32.5%, 34.9%)
CIE-LABlab(61.25, -42.29, 19.42)
CIE-LCHlch(61.25, 46.53, 155.34°)
OKLaboklab(65.12% -0.1151 0.0491)
OKLCHoklch(65.12% 0.125 156.9)
XYZxyz(18.6736, 29.5304, 20.0419)
Luminance0.2953 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A670 #A64076
analogous
#43A640 #40A670 #40A6A3
triadic
#40A670 #7040A6 #A67040
tetradic
#40A670 #4043A6 #A64076 #A6A340
square
#40A670 #4043A6 #A64076 #A6A340
split-complementary
#40A670 #A340A6 #A64043
monochromatic
#1E4E34 #2F7A52 #40A670 #61C28F #8DD3AE

Accessibility & contrast

On white

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

On black

6.91
#40A670 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A670
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A670#FFFFFF#000000##000000
##40A6701.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59A6D
Deuteranopia (green-blind)
#979073
Tritanopia (blue-blind)
#12A598
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #40a670;
/* rgb */ color: rgb(64, 166, 112);
/* oklch */ color: oklch(65.1% 0.125 156.9);
Tailwind
colors: {
  custom: {
    50: '#7fc199',
    500: '#40a670',
    950: '#000000',
  },
}
SCSS
$custom: #40a670;
$custom-light: #7fc199;
$custom-dark: #000000;
JSON
{
  "hex": "#40a670",
  "rgb": {
    "r": 64,
    "g": 166,
    "b": 112
  },
  "hsl": {
    "h": 148.235,
    "s": 44.348,
    "l": 45.098
  },
  "oklch": {
    "l": 0.65124,
    "c": 0.12512,
    "h": 156.9
  },
  "luminance": 0.29532
}

Semantic roles & 50–950 ramp

primary
#40A670
secondary
#BE84A3
accent
#5498D4
background
#F8FBF9
surface
#EFF7F2
border
#CAD0CC
text
#0B120E
muted
#7C817E

Preview Lab

Preview with #40A670

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

Preview Lab → · Contrast checker → · Palette generator →

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