#40B377#40B377

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

Color values

HEX#40B377
RGBrgb(64, 179, 119)
HSLhsl(149, 47%, 48%)
HSVhsv(149, 64%, 70%)
CMYKcmyk(64.2%, 0%, 33.5%, 29.8%)
CIE-LABlab(65.48, -46.27, 21.37)
CIE-LCHlch(65.48, 50.97, 155.21°)
OKLaboklab(68.64% -0.1257 0.0539)
OKLCHoklch(68.64% 0.137 156.8)
XYZxyz(21.5623, 34.6599, 23.0029)
Luminance0.3466 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B377 #B3407C
analogous
#42B340 #40B377 #40B3B1
triadic
#40B377 #7740B3 #B37740
tetradic
#40B377 #4042B3 #B3407C #B3B140
square
#40B377 #4042B3 #B3407C #B3B140
split-complementary
#40B377 #B140B3 #B34042
monochromatic
#20593B #308659 #40B377 #67C996 #94D9B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40B377#FFFFFF#000000##000000
##40B3771.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)
#B2A573
Deuteranopia (green-blind)
#A39B7B
Tritanopia (blue-blind)
#00B2A3
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #40b377;
/* rgb */ color: rgb(64, 179, 119);
/* oklch */ color: oklch(68.6% 0.137 156.8);
Tailwind
colors: {
  custom: {
    50: '#81ca9e',
    500: '#40b377',
    950: '#000000',
  },
}
SCSS
$custom: #40b377;
$custom-light: #81ca9e;
$custom-dark: #000000;
JSON
{
  "hex": "#40b377",
  "rgb": {
    "r": 64,
    "g": 179,
    "b": 119
  },
  "hsl": {
    "h": 148.696,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.68643,
    "c": 0.13678,
    "h": 156.8
  },
  "luminance": 0.34662
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40B377

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

Preview Lab → · Contrast checker → · Palette generator →

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