#40A141#40A141

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

Color values

HEX#40A141
RGBrgb(64, 161, 65)
HSLhsl(121, 43%, 44%)
HSVhsv(121, 60%, 63%)
CMYKcmyk(60.2%, 0%, 59.6%, 36.9%)
CIE-LABlab(58.94, -48.01, 40.90)
CIE-LCHlch(58.94, 63.07, 139.57°)
OKLaboklab(62.99% -0.1304 0.0964)
OKLCHoklch(62.99% 0.162 143.5)
XYZxyz(15.8125, 26.9599, 9.3705)
Luminance0.2696 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A141 #A140A0
analogous
#70A140 #40A141 #40A172
triadic
#40A141 #4140A1 #A14140
tetradic
#40A141 #4070A1 #A140A0 #A17240
square
#40A141 #4070A1 #A140A0 #A17240
split-complementary
#40A141 #7240A1 #A14070
monochromatic
#1D491E #2F752F #40A141 #5FBF60 #8BD18B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40A141#FFFFFF#000000##000000
##40A1411.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)
#A49337
Deuteranopia (green-blind)
#988B49
Tritanopia (blue-blind)
#2E9D8C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #40a141;
/* rgb */ color: rgb(64, 161, 65);
/* oklch */ color: oklch(63.0% 0.162 143.5);
Tailwind
colors: {
  custom: {
    50: '#7fbe79',
    500: '#40a141',
    950: '#000000',
  },
}
SCSS
$custom: #40a141;
$custom-light: #7fbe79;
$custom-dark: #000000;
JSON
{
  "hex": "#40a141",
  "rgb": {
    "r": 64,
    "g": 161,
    "b": 65
  },
  "hsl": {
    "h": 120.619,
    "s": 43.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.62994,
    "c": 0.16218,
    "h": 143.5
  },
  "luminance": 0.26961
}

Semantic roles & 50–950 ramp

primary
#40A141
secondary
#BC81BB
accent
#55D2D3
background
#F8FBF7
surface
#EFF7ED
border
#CAD0C8
text
#0B1209
muted
#7C817B

Preview Lab

Preview with #40A141

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

Preview Lab → · Contrast checker → · Palette generator →

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