#40A643#40A643

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

Color values

HEX#40A643
RGBrgb(64, 166, 67)
HSLhsl(122, 44%, 45%)
HSVhsv(122, 61%, 65%)
CMYKcmyk(61.4%, 0%, 59.6%, 34.9%)
CIE-LABlab(60.57, -49.67, 41.86)
CIE-LCHlch(60.57, 64.95, 139.88°)
OKLaboklab(64.35% -0.1348 0.0987)
OKLCHoklch(64.35% 0.167 143.8)
XYZxyz(16.7627, 28.7661, 9.9781)
Luminance0.2877 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A643 #A640A3
analogous
#70A640 #40A643 #40A676
triadic
#40A643 #4340A6 #A64340
tetradic
#40A643 #4070A6 #A640A3 #A67640
square
#40A643 #4070A6 #A640A3 #A67640
split-complementary
#40A643 #7640A6 #A64070
monochromatic
#1E4E1F #2F7A31 #40A643 #61C264 #8DD38F

Accessibility & contrast

On white

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

On black

6.75
#40A643 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A643
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A643#FFFFFF#000000##000000
##40A6431.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99739
Deuteranopia (green-blind)
#9C8F4B
Tritanopia (blue-blind)
#2CA290
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #40a643;
/* rgb */ color: rgb(64, 166, 67);
/* oklch */ color: oklch(64.4% 0.167 143.8);
Tailwind
colors: {
  custom: {
    50: '#80c17a',
    500: '#40a643',
    950: '#000000',
  },
}
SCSS
$custom: #40a643;
$custom-light: #80c17a;
$custom-dark: #000000;
JSON
{
  "hex": "#40a643",
  "rgb": {
    "r": 64,
    "g": 166,
    "b": 67
  },
  "hsl": {
    "h": 121.765,
    "s": 44.348,
    "l": 45.098
  },
  "oklch": {
    "l": 0.64352,
    "c": 0.16704,
    "h": 143.8
  },
  "luminance": 0.28768
}

Semantic roles & 50–950 ramp

primary
#40A643
secondary
#BE84BC
accent
#54D0D4
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B1209
muted
#7C817B

Preview Lab

Preview with #40A643

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

Preview Lab → · Contrast checker → · Palette generator →

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