#40B641#40B641

#40B641 is a light, vivid green. Relative luminance 0.349; OKLCH L 68.6% C 0.189 H 143.3°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#40B641
RGBrgb(64, 182, 65)
HSLhsl(121, 48%, 48%)
HSVhsv(121, 65%, 71%)
CMYKcmyk(64.8%, 0%, 64.3%, 28.6%)
CIE-LABlab(65.69, -55.74, 48.56)
CIE-LCHlch(65.69, 73.92, 138.94°)
OKLaboklab(68.57% -0.1513 0.1128)
OKLCHoklch(68.57% 0.189 143.3)
XYZxyz(19.7953, 34.9255, 10.6981)
Luminance0.3493 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B641 #B640B5
analogous
#7AB640 #40B641 #40B67C
triadic
#40B641 #4140B6 #B64140
tetradic
#40B641 #407AB6 #B640B5 #B67C40
square
#40B641 #407AB6 #B640B5 #B67C40
split-complementary
#40B641 #7C40B6 #B6407A
monochromatic
#205B21 #308931 #40B641 #69CA6A #96DA97

Accessibility & contrast

On white

2.63
#40B641 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#40B641 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B641
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B641#FFFFFF#000000##000000
##40B6411.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA633
Deuteranopia (green-blind)
#AB9C4B
Tritanopia (blue-blind)
#26B19E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #40b641;
/* rgb */ color: rgb(64, 182, 65);
/* oklch */ color: oklch(68.6% 0.189 143.3);
Tailwind
colors: {
  custom: {
    50: '#83cd7a',
    500: '#40b641',
    950: '#000000',
  },
}
SCSS
$custom: #40b641;
$custom-light: #83cd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#40b641",
  "rgb": {
    "r": 64,
    "g": 182,
    "b": 65
  },
  "hsl": {
    "h": 120.508,
    "s": 47.967,
    "l": 48.235
  },
  "oklch": {
    "l": 0.68572,
    "c": 0.18875,
    "h": 143.3
  },
  "luminance": 0.34928
}

Semantic roles & 50–950 ramp

primary
#40B641
secondary
#C68CC5
accent
#50D6D8
background
#F8FCF7
surface
#F0F9EE
border
#CBD2C9
text
#0C140A
muted
#7D827C

Preview Lab

Preview with #40B641

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

Preview Lab → · Contrast checker → · Palette generator →

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