#40B642#40B642

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

Color values

HEX#40B642
RGBrgb(64, 182, 66)
HSLhsl(121, 48%, 48%)
HSVhsv(121, 65%, 71%)
CMYKcmyk(64.8%, 0%, 63.7%, 28.6%)
CIE-LABlab(65.70, -55.63, 48.13)
CIE-LCHlch(65.70, 73.56, 139.13°)
OKLaboklab(68.58% -0.151 0.112)
OKLCHoklch(68.58% 0.188 143.4)
XYZxyz(19.8245, 34.9372, 10.8520)
Luminance0.3494 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B642 #B640B4
analogous
#79B640 #40B642 #40B67D
triadic
#40B642 #4240B6 #B64240
tetradic
#40B642 #4079B6 #B640B4 #B67D40
square
#40B642 #4079B6 #B640B4 #B67D40
split-complementary
#40B642 #7D40B6 #B64079
monochromatic
#205B21 #308932 #40B642 #69CA6B #96DA97

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40B642#FFFFFF#000000##000000
##40B6421.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)
#BAA634
Deuteranopia (green-blind)
#AB9C4C
Tritanopia (blue-blind)
#25B19E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #40b642;
/* rgb */ color: rgb(64, 182, 66);
/* oklch */ color: oklch(68.6% 0.188 143.4);
Tailwind
colors: {
  custom: {
    50: '#83cd7b',
    500: '#40b642',
    950: '#000000',
  },
}
SCSS
$custom: #40b642;
$custom-light: #83cd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#40b642",
  "rgb": {
    "r": 64,
    "g": 182,
    "b": 66
  },
  "hsl": {
    "h": 121.017,
    "s": 47.967,
    "l": 48.235
  },
  "oklch": {
    "l": 0.68582,
    "c": 0.18801,
    "h": 143.4
  },
  "luminance": 0.34939
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40B642

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

Preview Lab → · Contrast checker → · Palette generator →

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