#40A241#40A241

#40A241 is a light, vivid green. Relative luminance 0.273; OKLCH L 63.3% C 0.164 H 143.5°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#40A241
RGBrgb(64, 162, 65)
HSLhsl(121, 43%, 44%)
HSVhsv(121, 60%, 64%)
CMYKcmyk(60.5%, 0%, 59.9%, 36.5%)
CIE-LABlab(59.26, -48.39, 41.28)
CIE-LCHlch(59.26, 63.60, 139.54°)
OKLaboklab(63.26% -0.1314 0.0973)
OKLCHoklch(63.26% 0.164 143.5)
XYZxyz(15.9879, 27.3108, 9.4290)
Luminance0.2731 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A241 #A240A1
analogous
#70A240 #40A241 #40A272
triadic
#40A241 #4140A2 #A24140
tetradic
#40A241 #4070A2 #A240A1 #A27240
square
#40A241 #4070A2 #A240A1 #A27240
split-complementary
#40A241 #7240A2 #A24070
monochromatic
#1D4A1E #2F762F #40A241 #5FC060 #8BD18C

Accessibility & contrast

On white

3.25
#40A241 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#40A241 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A241
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A241#FFFFFF#000000##000000
##40A2411.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59437
Deuteranopia (green-blind)
#998B49
Tritanopia (blue-blind)
#2E9E8D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #40a241;
/* rgb */ color: rgb(64, 162, 65);
/* oklch */ color: oklch(63.3% 0.164 143.5);
Tailwind
colors: {
  custom: {
    50: '#7fbe79',
    500: '#40a241',
    950: '#000000',
  },
}
SCSS
$custom: #40a241;
$custom-light: #7fbe79;
$custom-dark: #000000;
JSON
{
  "hex": "#40a241",
  "rgb": {
    "r": 64,
    "g": 162,
    "b": 65
  },
  "hsl": {
    "h": 120.612,
    "s": 43.363,
    "l": 44.314
  },
  "oklch": {
    "l": 0.63261,
    "c": 0.1635,
    "h": 143.5
  },
  "luminance": 0.27312
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40A241

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

Preview Lab → · Contrast checker → · Palette generator →

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