#40B760#40B760

#40B760 is a light, vivid green. Relative luminance 0.358; OKLCH L 69.2% C 0.164 H 148.9°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#40B760
RGBrgb(64, 183, 96)
HSLhsl(136, 48%, 48%)
HSVhsv(136, 65%, 72%)
CMYKcmyk(65%, 0%, 47.5%, 28.2%)
CIE-LABlab(66.37, -52.00, 34.62)
CIE-LCHlch(66.37, 62.47, 146.35°)
OKLaboklab(69.25% -0.1403 0.0845)
OKLCHoklch(69.25% 0.164 148.9)
XYZxyz(21.1576, 35.7993, 16.8590)
Luminance0.3580 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B760 #B74097
analogous
#5CB740 #40B760 #40B79B
triadic
#40B760 #6040B7 #B76040
tetradic
#40B760 #405CB7 #B74097 #B79B40
square
#40B760 #405CB7 #B74097 #B79B40
split-complementary
#40B760 #9B40B7 #B7405C
monochromatic
#205C30 #308A48 #40B760 #69CB84 #97DBA9

Accessibility & contrast

On white

2.57
#40B760 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#40B760 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B760
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B760#FFFFFF#000000##000000
##40B7601.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A859
Deuteranopia (green-blind)
#AA9D66
Tritanopia (blue-blind)
#14B4A2
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #40b760;
/* rgb */ color: rgb(64, 183, 96);
/* oklch */ color: oklch(69.2% 0.164 148.9);
Tailwind
colors: {
  custom: {
    50: '#82ce8e',
    500: '#40b760',
    950: '#000000',
  },
}
SCSS
$custom: #40b760;
$custom-light: #82ce8e;
$custom-dark: #000000;
JSON
{
  "hex": "#40b760",
  "rgb": {
    "r": 64,
    "g": 183,
    "b": 96
  },
  "hsl": {
    "h": 136.134,
    "s": 48.178,
    "l": 48.431
  },
  "oklch": {
    "l": 0.69246,
    "c": 0.16376,
    "h": 148.9
  },
  "luminance": 0.35801
}

Semantic roles & 50–950 ramp

primary
#40B760
secondary
#C68DB7
accent
#50B3D8
background
#F8FCF8
surface
#F0F9F0
border
#CBD2CB
text
#0C140C
muted
#7D827D

Preview Lab

Preview with #40B760

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

Preview Lab → · Contrast checker → · Palette generator →

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