#40B657#40B657

#40B657 is a light, vivid green. Relative luminance 0.352; OKLCH L 68.8% C 0.171 H 147.0°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#40B657
RGBrgb(64, 182, 87)
HSLhsl(132, 48%, 48%)
HSVhsv(132, 65%, 71%)
CMYKcmyk(64.8%, 0%, 52.2%, 28.6%)
CIE-LABlab(65.93, -52.99, 38.58)
CIE-LCHlch(65.93, 65.55, 143.94°)
OKLaboklab(68.85% -0.1431 0.0929)
OKLCHoklch(68.85% 0.171 147)
XYZxyz(20.5612, 35.2319, 14.7318)
Luminance0.3523 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B657 #B6409F
analogous
#64B640 #40B657 #40B692
triadic
#40B657 #5740B6 #B65740
tetradic
#40B657 #4064B6 #B6409F #B69240
square
#40B657 #4064B6 #B6409F #B69240
split-complementary
#40B657 #9240B6 #B64064
monochromatic
#205B2C #308941 #40B657 #69CA7C #96DAA3

Accessibility & contrast

On white

2.61
#40B657 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#40B657 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B657
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B657#FFFFFF#000000##000000
##40B6571.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A64F
Deuteranopia (green-blind)
#AA9C5E
Tritanopia (blue-blind)
#1CB2A0
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #40b657;
/* rgb */ color: rgb(64, 182, 87);
/* oklch */ color: oklch(68.8% 0.171 147.0);
Tailwind
colors: {
  custom: {
    50: '#82cd88',
    500: '#40b657',
    950: '#000000',
  },
}
SCSS
$custom: #40b657;
$custom-light: #82cd88;
$custom-dark: #000000;
JSON
{
  "hex": "#40b657",
  "rgb": {
    "r": 64,
    "g": 182,
    "b": 87
  },
  "hsl": {
    "h": 131.695,
    "s": 47.967,
    "l": 48.235
  },
  "oklch": {
    "l": 0.68846,
    "c": 0.17061,
    "h": 147
  },
  "luminance": 0.35234
}

Semantic roles & 50–950 ramp

primary
#40B657
secondary
#C68CBB
accent
#50BDD8
background
#F8FCF8
surface
#F0F9F0
border
#CBD2CB
text
#0C140B
muted
#7D827C

Preview Lab

Preview with #40B657

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

Preview Lab → · Contrast checker → · Palette generator →

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