#40A646#40A646

#40A646 is a light, vivid green. Relative luminance 0.288; OKLCH L 64.4% C 0.165 H 144.3°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#40A646
RGBrgb(64, 166, 70)
HSLhsl(124, 44%, 45%)
HSVhsv(124, 61%, 65%)
CMYKcmyk(61.4%, 0%, 57.8%, 34.9%)
CIE-LABlab(60.61, -49.29, 40.47)
CIE-LCHlch(60.61, 63.78, 140.61°)
OKLaboklab(64.39% -0.1336 0.0959)
OKLCHoklch(64.39% 0.165 144.3)
XYZxyz(16.8551, 28.8030, 10.4645)
Luminance0.2880 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A646 #A640A0
analogous
#6DA640 #40A646 #40A679
triadic
#40A646 #4640A6 #A64640
tetradic
#40A646 #406DA6 #A640A0 #A67940
square
#40A646 #406DA6 #A640A0 #A67940
split-complementary
#40A646 #7940A6 #A6406D
monochromatic
#1E4E21 #2F7A33 #40A646 #61C267 #8DD391

Accessibility & contrast

On white

3.11
#40A646 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#40A646 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A646
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A646#FFFFFF#000000##000000
##40A6461.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9983C
Deuteranopia (green-blind)
#9C8F4D
Tritanopia (blue-blind)
#2BA291
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #40a646;
/* rgb */ color: rgb(64, 166, 70);
/* oklch */ color: oklch(64.4% 0.165 144.3);
Tailwind
colors: {
  custom: {
    50: '#80c17c',
    500: '#40a646',
    950: '#000000',
  },
}
SCSS
$custom: #40a646;
$custom-light: #80c17c;
$custom-dark: #000000;
JSON
{
  "hex": "#40a646",
  "rgb": {
    "r": 64,
    "g": 166,
    "b": 70
  },
  "hsl": {
    "h": 123.529,
    "s": 44.348,
    "l": 45.098
  },
  "oklch": {
    "l": 0.64389,
    "c": 0.16451,
    "h": 144.3
  },
  "luminance": 0.28805
}

Semantic roles & 50–950 ramp

primary
#40A646
secondary
#BE84BB
accent
#54CDD4
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B120A
muted
#7C817C

Preview Lab

Preview with #40A646

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

Preview Lab → · Contrast checker → · Palette generator →

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