#40B376#40B376

#40B376 is a light, vivid green. Relative luminance 0.346; OKLCH L 68.6% C 0.138 H 156.4°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#40B376
RGBrgb(64, 179, 118)
HSLhsl(148, 47%, 48%)
HSVhsv(148, 64%, 70%)
CMYKcmyk(64.2%, 0%, 34.1%, 29.8%)
CIE-LABlab(65.46, -46.48, 21.89)
CIE-LCHlch(65.46, 51.37, 154.78°)
OKLaboklab(68.62% -0.1262 0.0551)
OKLCHoklch(68.62% 0.138 156.4)
XYZxyz(21.5025, 34.6360, 22.6882)
Luminance0.3464 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B376 #B3407D
analogous
#43B340 #40B376 #40B3AF
triadic
#40B376 #7640B3 #B37640
tetradic
#40B376 #4043B3 #B3407D #B3AF40
square
#40B376 #4043B3 #B3407D #B3AF40
split-complementary
#40B376 #AF40B3 #B34043
monochromatic
#20593B #308658 #40B376 #67C995 #94D9B5

Accessibility & contrast

On white

2.65
#40B376 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#40B376 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B376
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B376#FFFFFF#000000##000000
##40B3761.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A572
Deuteranopia (green-blind)
#A39B7A
Tritanopia (blue-blind)
#00B1A3
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #40b376;
/* rgb */ color: rgb(64, 179, 118);
/* oklch */ color: oklch(68.6% 0.138 156.4);
Tailwind
colors: {
  custom: {
    50: '#81ca9e',
    500: '#40b376',
    950: '#000000',
  },
}
SCSS
$custom: #40b376;
$custom-light: #81ca9e;
$custom-dark: #000000;
JSON
{
  "hex": "#40b376",
  "rgb": {
    "r": 64,
    "g": 179,
    "b": 118
  },
  "hsl": {
    "h": 148.174,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.68621,
    "c": 0.1377,
    "h": 156.4
  },
  "luminance": 0.34638
}

Semantic roles & 50–950 ramp

primary
#40B376
secondary
#C48AA9
accent
#5198D7
background
#F8FCF9
surface
#F0F8F2
border
#CBD1CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #40B376

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

Preview Lab → · Contrast checker → · Palette generator →

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