#40B757#40B757

#40B757 is a light, vivid green. Relative luminance 0.356; OKLCH L 69.1% C 0.172 H 146.9°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#40B757
RGBrgb(64, 183, 87)
HSLhsl(132, 48%, 48%)
HSVhsv(132, 65%, 72%)
CMYKcmyk(65%, 0%, 52.5%, 28.2%)
CIE-LABlab(66.25, -53.36, 38.97)
CIE-LCHlch(66.25, 66.08, 143.86°)
OKLaboklab(69.11% -0.1441 0.0938)
OKLCHoklch(69.11% 0.172 146.9)
XYZxyz(20.7667, 35.6430, 14.8003)
Luminance0.3564 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B757 #B740A0
analogous
#64B740 #40B757 #40B792
triadic
#40B757 #5740B7 #B75740
tetradic
#40B757 #4064B7 #B740A0 #B79240
square
#40B757 #4064B7 #B740A0 #B79240
split-complementary
#40B757 #9240B7 #B74064
monochromatic
#205C2C #308A41 #40B757 #69CB7C #97DBA4

Accessibility & contrast

On white

2.58
#40B757 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#40B757 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B757
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B757#FFFFFF#000000##000000
##40B7571.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A74F
Deuteranopia (green-blind)
#AB9D5E
Tritanopia (blue-blind)
#1BB3A1
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #40b757;
/* rgb */ color: rgb(64, 183, 87);
/* oklch */ color: oklch(69.1% 0.172 146.9);
Tailwind
colors: {
  custom: {
    50: '#83ce88',
    500: '#40b757',
    950: '#000000',
  },
}
SCSS
$custom: #40b757;
$custom-light: #83ce88;
$custom-dark: #000000;
JSON
{
  "hex": "#40b757",
  "rgb": {
    "r": 64,
    "g": 183,
    "b": 87
  },
  "hsl": {
    "h": 131.597,
    "s": 48.178,
    "l": 48.431
  },
  "oklch": {
    "l": 0.69108,
    "c": 0.17192,
    "h": 146.9
  },
  "luminance": 0.35645
}

Semantic roles & 50–950 ramp

primary
#40B757
secondary
#C68DBB
accent
#50BED8
background
#F8FCF8
surface
#F0F9F0
border
#CBD2CB
text
#0C140B
muted
#7D827C

Preview Lab

Preview with #40B757

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

Preview Lab → · Contrast checker → · Palette generator →

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