#40B374#40B374

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

Color values

HEX#40B374
RGBrgb(64, 179, 116)
HSLhsl(147, 47%, 48%)
HSVhsv(147, 64%, 70%)
CMYKcmyk(64.2%, 0%, 35.2%, 29.8%)
CIE-LABlab(65.43, -46.87, 22.91)
CIE-LCHlch(65.43, 52.17, 153.95°)
OKLaboklab(68.58% -0.1271 0.0576)
OKLCHoklch(68.58% 0.14 155.6)
XYZxyz(21.3850, 34.5889, 22.0689)
Luminance0.3459 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B374 #B3407F
analogous
#46B340 #40B374 #40B3AD
triadic
#40B374 #7440B3 #B37440
tetradic
#40B374 #4046B3 #B3407F #B3AD40
square
#40B374 #4046B3 #B3407F #B3AD40
split-complementary
#40B374 #AD40B3 #B34046
monochromatic
#20593A #308657 #40B374 #67C993 #94D9B3

Accessibility & contrast

On white

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

On black

7.92
#40B374 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B374
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B374#FFFFFF#000000##000000
##40B3741.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40b374;
/* rgb */ color: rgb(64, 179, 116);
/* oklch */ color: oklch(68.6% 0.140 155.6);
Tailwind
colors: {
  custom: {
    50: '#81ca9c',
    500: '#40b374',
    950: '#000000',
  },
}
SCSS
$custom: #40b374;
$custom-light: #81ca9c;
$custom-dark: #000000;
JSON
{
  "hex": "#40b374",
  "rgb": {
    "r": 64,
    "g": 179,
    "b": 116
  },
  "hsl": {
    "h": 147.13,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.68579,
    "c": 0.13956,
    "h": 155.6
  },
  "luminance": 0.34591
}

Semantic roles & 50–950 ramp

primary
#40B374
secondary
#C48AAA
accent
#519AD7
background
#F8FCF9
surface
#F0F8F2
border
#CBD1CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #40B374

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

Preview Lab → · Contrast checker → · Palette generator →

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