#40B562#40B562

#40B562 is a light, vivid green. Relative luminance 0.350; OKLCH L 68.8% C 0.159 H 149.6°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#40B562
RGBrgb(64, 181, 98)
HSLhsl(137, 48%, 48%)
HSVhsv(137, 65%, 71%)
CMYKcmyk(64.6%, 0%, 45.9%, 29%)
CIE-LABlab(65.76, -50.92, 32.83)
CIE-LCHlch(65.76, 60.58, 147.19°)
OKLaboklab(68.76% -0.1374 0.0805)
OKLCHoklch(68.76% 0.159 149.6)
XYZxyz(20.8413, 35.0174, 17.2136)
Luminance0.3502 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B562 #B54093
analogous
#58B540 #40B562 #40B59C
triadic
#40B562 #6240B5 #B56240
tetradic
#40B562 #4058B5 #B54093 #B59C40
square
#40B562 #4058B5 #B54093 #B59C40
split-complementary
#40B562 #9C40B5 #B54058
monochromatic
#205B31 #30884A #40B562 #68CA85 #96DAA9

Accessibility & contrast

On white

2.62
#40B562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#40B562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B562
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B562#FFFFFF#000000##000000
##40B5621.002.628.008.00
#FFFFFF2.621.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A65C
Deuteranopia (green-blind)
#A79C68
Tritanopia (blue-blind)
#14B2A1
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #40b562;
/* rgb */ color: rgb(64, 181, 98);
/* oklch */ color: oklch(68.8% 0.159 149.6);
Tailwind
colors: {
  custom: {
    50: '#82cc90',
    500: '#40b562',
    950: '#000000',
  },
}
SCSS
$custom: #40b562;
$custom-light: #82cc90;
$custom-dark: #000000;
JSON
{
  "hex": "#40b562",
  "rgb": {
    "r": 64,
    "g": 181,
    "b": 98
  },
  "hsl": {
    "h": 137.436,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.68757,
    "c": 0.15921,
    "h": 149.6
  },
  "luminance": 0.3502
}

Semantic roles & 50–950 ramp

primary
#40B562
secondary
#C58BB5
accent
#50B0D7
background
#F8FCF8
surface
#F0F9F0
border
#CBD2CB
text
#0C130C
muted
#7D827D

Preview Lab

Preview with #40B562

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

Preview Lab → · Contrast checker → · Palette generator →

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