#40A140#40A140

#40A140 is a light, vivid green. Relative luminance 0.270; OKLCH L 63.0% C 0.163 H 143.3°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#40A140
RGBrgb(64, 161, 64)
HSLhsl(120, 43%, 44%)
HSVhsv(120, 60%, 63%)
CMYKcmyk(60.2%, 0%, 60.2%, 36.9%)
CIE-LABlab(58.93, -48.13, 41.36)
CIE-LCHlch(58.93, 63.46, 139.33°)
OKLaboklab(62.98% -0.1308 0.0973)
OKLCHoklch(62.98% 0.163 143.3)
XYZxyz(15.7838, 26.9484, 9.2193)
Luminance0.2695 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A140 #A140A1
analogous
#71A140 #40A140 #40A171
triadic
#40A140 #4040A1 #A14040
tetradic
#40A140 #4071A1 #A140A1 #A17140
square
#40A140 #4071A1 #A140A1 #A17140
split-complementary
#40A140 #7140A1 #A14071
monochromatic
#1D491D #2F752F #40A140 #5FBF5F #8BD18B

Accessibility & contrast

On white

3.29
#40A140 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#40A140 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A140
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A140#FFFFFF#000000##000000
##40A1401.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49336
Deuteranopia (green-blind)
#988B48
Tritanopia (blue-blind)
#2E9D8C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #40a140;
/* rgb */ color: rgb(64, 161, 64);
/* oklch */ color: oklch(63.0% 0.163 143.3);
Tailwind
colors: {
  custom: {
    50: '#7fbe78',
    500: '#40a140',
    950: '#000000',
  },
}
SCSS
$custom: #40a140;
$custom-light: #7fbe78;
$custom-dark: #000000;
JSON
{
  "hex": "#40a140",
  "rgb": {
    "r": 64,
    "g": 161,
    "b": 64
  },
  "hsl": {
    "h": 120,
    "s": 43.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.62982,
    "c": 0.16302,
    "h": 143.3
  },
  "luminance": 0.2695
}

Semantic roles & 50–950 ramp

primary
#40A140
secondary
#BC81BC
accent
#55D3D3
background
#F8FBF7
surface
#EFF7ED
border
#CAD0C8
text
#0B1209
muted
#7C817B

Preview Lab

Preview with #40A140

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

Preview Lab → · Contrast checker → · Palette generator →

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