#40B762#40B762

#40B762 is a light, vivid green. Relative luminance 0.358; OKLCH L 69.3% C 0.162 H 149.4°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#40B762
RGBrgb(64, 183, 98)
HSLhsl(137, 48%, 48%)
HSVhsv(137, 65%, 72%)
CMYKcmyk(65%, 0%, 46.4%, 28.2%)
CIE-LABlab(66.39, -51.68, 33.63)
CIE-LCHlch(66.39, 61.66, 146.95°)
OKLaboklab(69.28% -0.1394 0.0823)
OKLCHoklch(69.28% 0.162 149.4)
XYZxyz(21.2508, 35.8366, 17.3501)
Luminance0.3584 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B762 #B74095
analogous
#59B740 #40B762 #40B79D
triadic
#40B762 #6240B7 #B76240
tetradic
#40B762 #4059B7 #B74095 #B79D40
square
#40B762 #4059B7 #B74095 #B79D40
split-complementary
#40B762 #9D40B7 #B74059
monochromatic
#205C31 #308A4A #40B762 #69CB85 #97DBAA

Accessibility & contrast

On white

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

On black

8.17
#40B762 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B762
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B762#FFFFFF#000000##000000
##40B7621.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A85B
Deuteranopia (green-blind)
#A99D68
Tritanopia (blue-blind)
#12B4A3
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #40b762;
/* rgb */ color: rgb(64, 183, 98);
/* oklch */ color: oklch(69.3% 0.162 149.4);
Tailwind
colors: {
  custom: {
    50: '#82cd90',
    500: '#40b762',
    950: '#000000',
  },
}
SCSS
$custom: #40b762;
$custom-light: #82cd90;
$custom-dark: #000000;
JSON
{
  "hex": "#40b762",
  "rgb": {
    "r": 64,
    "g": 183,
    "b": 98
  },
  "hsl": {
    "h": 137.143,
    "s": 48.178,
    "l": 48.431
  },
  "oklch": {
    "l": 0.69279,
    "c": 0.1619,
    "h": 149.4
  },
  "luminance": 0.35839
}

Semantic roles & 50–950 ramp

primary
#40B762
secondary
#C68DB6
accent
#50B1D8
background
#F8FCF8
surface
#F0F9F0
border
#CBD2CB
text
#0C140C
muted
#7D827D

Preview Lab

Preview with #40B762

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

Preview Lab → · Contrast checker → · Palette generator →

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