#40B768#40B768

#40B768 is a light, vivid green. Relative luminance 0.360; OKLCH L 69.4% C 0.156 H 151.0°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#40B768
RGBrgb(64, 183, 104)
HSLhsl(140, 48%, 48%)
HSVhsv(140, 65%, 72%)
CMYKcmyk(65%, 0%, 43.2%, 28.2%)
CIE-LABlab(66.48, -50.68, 30.65)
CIE-LCHlch(66.48, 59.22, 148.83°)
OKLaboklab(69.38% -0.1368 0.0757)
OKLCHoklch(69.38% 0.156 151)
XYZxyz(21.5448, 35.9542, 18.8985)
Luminance0.3596 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B768 #B7408F
analogous
#53B740 #40B768 #40B7A3
triadic
#40B768 #6840B7 #B76840
tetradic
#40B768 #4053B7 #B7408F #B7A340
square
#40B768 #4053B7 #B7408F #B7A340
split-complementary
#40B768 #A340B7 #B74053
monochromatic
#205C34 #308A4E #40B768 #69CB8A #97DBAE

Accessibility & contrast

On white

2.56
#40B768 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#40B768 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B768
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B768#FFFFFF#000000##000000
##40B7681.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A862
Deuteranopia (green-blind)
#A99D6D
Tritanopia (blue-blind)
#0BB4A4
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #40b768;
/* rgb */ color: rgb(64, 183, 104);
/* oklch */ color: oklch(69.4% 0.156 151.0);
Tailwind
colors: {
  custom: {
    50: '#82cd94',
    500: '#40b768',
    950: '#000000',
  },
}
SCSS
$custom: #40b768;
$custom-light: #82cd94;
$custom-dark: #000000;
JSON
{
  "hex": "#40b768",
  "rgb": {
    "r": 64,
    "g": 183,
    "b": 104
  },
  "hsl": {
    "h": 140.168,
    "s": 48.178,
    "l": 48.431
  },
  "oklch": {
    "l": 0.69382,
    "c": 0.1563,
    "h": 151
  },
  "luminance": 0.35956
}

Semantic roles & 50–950 ramp

primary
#40B768
secondary
#C68DB3
accent
#50AAD8
background
#F8FCF9
surface
#F0F9F1
border
#CBD2CB
text
#0C140D
muted
#7D827E

Preview Lab

Preview with #40B768

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

Preview Lab → · Contrast checker → · Palette generator →

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