#40B974#40B974

#40B974 is a light, vivid green. Relative luminance 0.370; OKLCH L 70.1% C 0.148 H 154.5°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#40B974
RGBrgb(64, 185, 116)
HSLhsl(146, 49%, 49%)
HSVhsv(146, 65%, 73%)
CMYKcmyk(65.4%, 0%, 37.3%, 27.5%)
CIE-LABlab(67.31, -49.28, 25.44)
CIE-LCHlch(67.31, 55.46, 152.70°)
OKLaboklab(70.13% -0.1334 0.0637)
OKLCHoklch(70.13% 0.148 154.5)
XYZxyz(22.6137, 37.0465, 22.4785)
Luminance0.3705 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B974 #B94085
analogous
#49B940 #40B974 #40B9B1
triadic
#40B974 #7440B9 #B97440
tetradic
#40B974 #4049B9 #B94085 #B9B140
square
#40B974 #4049B9 #B94085 #B9B140
split-complementary
#40B974 #B140B9 #B94049
monochromatic
#215E3B #308C57 #40B974 #6BCC94 #98DBB5

Accessibility & contrast

On white

2.50
#40B974 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#40B974 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B974
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B974#FFFFFF#000000##000000
##40B9741.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9AB6F
Deuteranopia (green-blind)
#A99F78
Tritanopia (blue-blind)
#00B7A7
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #40b974;
/* rgb */ color: rgb(64, 185, 116);
/* oklch */ color: oklch(70.1% 0.148 154.5);
Tailwind
colors: {
  custom: {
    50: '#82cf9c',
    500: '#40b974',
    950: '#000000',
  },
}
SCSS
$custom: #40b974;
$custom-light: #82cf9c;
$custom-dark: #000000;
JSON
{
  "hex": "#40b974",
  "rgb": {
    "r": 64,
    "g": 185,
    "b": 116
  },
  "hsl": {
    "h": 145.785,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.70127,
    "c": 0.14778,
    "h": 154.5
  },
  "luminance": 0.37049
}

Semantic roles & 50–950 ramp

primary
#40B974
secondary
#C78EAE
accent
#509DD8
background
#F8FCF9
surface
#F0F9F2
border
#CBD2CC
text
#0C140E
muted
#7D827E

Preview Lab

Preview with #40B974

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

Preview Lab → · Contrast checker → · Palette generator →

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