#40A641#40A641

#40A641 is a light, vivid green. Relative luminance 0.287; OKLCH L 64.3% C 0.169 H 143.5°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#40A641
RGBrgb(64, 166, 65)
HSLhsl(121, 44%, 45%)
HSVhsv(121, 61%, 65%)
CMYKcmyk(61.4%, 0%, 60.8%, 34.9%)
CIE-LABlab(60.55, -49.91, 42.76)
CIE-LCHlch(60.55, 65.72, 139.41°)
OKLaboklab(64.33% -0.1355 0.1005)
OKLCHoklch(64.33% 0.169 143.5)
XYZxyz(16.7038, 28.7425, 9.6676)
Luminance0.2874 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A641 #A640A5
analogous
#72A640 #40A641 #40A674
triadic
#40A641 #4140A6 #A64140
tetradic
#40A641 #4072A6 #A640A5 #A67440
square
#40A641 #4072A6 #A640A5 #A67440
split-complementary
#40A641 #7440A6 #A64072
monochromatic
#1E4E1E #2F7A30 #40A641 #61C262 #8DD38E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40A641#FFFFFF#000000##000000
##40A6411.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)
#A99736
Deuteranopia (green-blind)
#9D8F49
Tritanopia (blue-blind)
#2CA190
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #40a641;
/* rgb */ color: rgb(64, 166, 65);
/* oklch */ color: oklch(64.3% 0.169 143.5);
Tailwind
colors: {
  custom: {
    50: '#80c179',
    500: '#40a641',
    950: '#000000',
  },
}
SCSS
$custom: #40a641;
$custom-light: #80c179;
$custom-dark: #000000;
JSON
{
  "hex": "#40a641",
  "rgb": {
    "r": 64,
    "g": 166,
    "b": 65
  },
  "hsl": {
    "h": 120.588,
    "s": 44.348,
    "l": 45.098
  },
  "oklch": {
    "l": 0.64328,
    "c": 0.16869,
    "h": 143.5
  },
  "luminance": 0.28744
}

Semantic roles & 50–950 ramp

primary
#40A641
secondary
#BE84BE
accent
#54D3D4
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B1209
muted
#7C817B

Preview Lab

Preview with #40A641

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

Preview Lab → · Contrast checker → · Palette generator →

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