#40B141#40B141

#40B141 is a light, vivid green. Relative luminance 0.329; OKLCH L 67.3% C 0.183 H 143.3°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#40B141
RGBrgb(64, 177, 65)
HSLhsl(121, 47%, 47%)
HSVhsv(121, 64%, 69%)
CMYKcmyk(63.8%, 0%, 63.3%, 30.6%)
CIE-LABlab(64.09, -53.95, 46.77)
CIE-LCHlch(64.09, 71.40, 139.08°)
OKLaboklab(67.25% -0.1465 0.109)
OKLCHoklch(67.25% 0.183 143.3)
XYZxyz(18.7895, 32.9141, 10.3629)
Luminance0.3292 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B141 #B140B0
analogous
#78B140 #40B141 #40B17A
triadic
#40B141 #4140B1 #B14140
tetradic
#40B141 #4078B1 #B140B0 #B17A40
square
#40B141 #4078B1 #B140B0 #B17A40
split-complementary
#40B141 #7A40B1 #B14078
monochromatic
#1F5720 #308430 #40B141 #66C867 #93D894

Accessibility & contrast

On white

2.77
#40B141 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#40B141 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B141
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B141#FFFFFF#000000##000000
##40B1411.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A134
Deuteranopia (green-blind)
#A7984B
Tritanopia (blue-blind)
#28AC99
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #40b141;
/* rgb */ color: rgb(64, 177, 65);
/* oklch */ color: oklch(67.3% 0.183 143.3);
Tailwind
colors: {
  custom: {
    50: '#82c97a',
    500: '#40b141',
    950: '#000000',
  },
}
SCSS
$custom: #40b141;
$custom-light: #82c97a;
$custom-dark: #000000;
JSON
{
  "hex": "#40b141",
  "rgb": {
    "r": 64,
    "g": 177,
    "b": 65
  },
  "hsl": {
    "h": 120.531,
    "s": 46.888,
    "l": 47.255
  },
  "oklch": {
    "l": 0.6725,
    "c": 0.18261,
    "h": 143.3
  },
  "luminance": 0.32916
}

Semantic roles & 50–950 ramp

primary
#40B141
secondary
#C389C3
accent
#51D5D7
background
#F8FCF7
surface
#F0F8EE
border
#CBD1C9
text
#0C1309
muted
#7D827B

Preview Lab

Preview with #40B141

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

Preview Lab → · Contrast checker → · Palette generator →

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