#40B975#40B975

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

Color values

HEX#40B975
RGBrgb(64, 185, 117)
HSLhsl(146, 49%, 49%)
HSVhsv(146, 65%, 73%)
CMYKcmyk(65.4%, 0%, 36.8%, 27.5%)
CIE-LABlab(67.33, -49.09, 24.93)
CIE-LCHlch(67.33, 55.06, 153.08°)
OKLaboklab(70.15% -0.1329 0.0625)
OKLCHoklch(70.15% 0.147 154.8)
XYZxyz(22.6722, 37.0699, 22.7865)
Luminance0.3707 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B975 #B94084
analogous
#48B940 #40B975 #40B9B2
triadic
#40B975 #7540B9 #B97540
tetradic
#40B975 #4048B9 #B94084 #B9B240
square
#40B975 #4048B9 #B94084 #B9B240
split-complementary
#40B975 #B240B9 #B94048
monochromatic
#215E3B #308C58 #40B975 #6BCC95 #98DBB6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40B975#FFFFFF#000000##000000
##40B9751.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)
#B8AB71
Deuteranopia (green-blind)
#A99F79
Tritanopia (blue-blind)
#00B7A8
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #40b975;
/* rgb */ color: rgb(64, 185, 117);
/* oklch */ color: oklch(70.1% 0.147 154.8);
Tailwind
colors: {
  custom: {
    50: '#82cf9d',
    500: '#40b975',
    950: '#000000',
  },
}
SCSS
$custom: #40b975;
$custom-light: #82cf9d;
$custom-dark: #000000;
JSON
{
  "hex": "#40b975",
  "rgb": {
    "r": 64,
    "g": 185,
    "b": 117
  },
  "hsl": {
    "h": 146.281,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.70148,
    "c": 0.14686,
    "h": 154.8
  },
  "luminance": 0.37072
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40B975

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

Preview Lab → · Contrast checker → · Palette generator →

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