#40B475#40B475

#40B475 is a light, vivid green. Relative luminance 0.350; OKLCH L 68.9% C 0.140 H 155.8°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#40B475
RGBrgb(64, 180, 117)
HSLhsl(147, 48%, 48%)
HSVhsv(147, 64%, 71%)
CMYKcmyk(64.4%, 0%, 35%, 29.4%)
CIE-LABlab(65.76, -47.08, 22.82)
CIE-LCHlch(65.76, 52.32, 154.14°)
OKLaboklab(68.86% -0.1277 0.0574)
OKLCHoklch(68.86% 0.14 155.8)
XYZxyz(21.6446, 35.0146, 22.4440)
Luminance0.3502 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B475 #B4407F
analogous
#45B440 #40B475 #40B4AF
triadic
#40B475 #7540B4 #B47540
tetradic
#40B475 #4045B4 #B4407F #B4AF40
square
#40B475 #4045B4 #B4407F #B4AF40
split-complementary
#40B475 #AF40B4 #B44045
monochromatic
#205A3A #308758 #40B475 #68C994 #95D9B4

Accessibility & contrast

On white

2.62
#40B475 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#40B475 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B475
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B475#FFFFFF#000000##000000
##40B4751.002.628.008.00
#FFFFFF2.621.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A671
Deuteranopia (green-blind)
#A49B79
Tritanopia (blue-blind)
#00B2A4
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #40b475;
/* rgb */ color: rgb(64, 180, 117);
/* oklch */ color: oklch(68.9% 0.140 155.8);
Tailwind
colors: {
  custom: {
    50: '#81cb9d',
    500: '#40b475',
    950: '#000000',
  },
}
SCSS
$custom: #40b475;
$custom-light: #81cb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#40b475",
  "rgb": {
    "r": 64,
    "g": 180,
    "b": 117
  },
  "hsl": {
    "h": 147.414,
    "s": 47.541,
    "l": 47.843
  },
  "oklch": {
    "l": 0.68858,
    "c": 0.14001,
    "h": 155.8
  },
  "luminance": 0.35017
}

Semantic roles & 50–950 ramp

primary
#40B475
secondary
#C58BAA
accent
#519AD7
background
#F8FCF9
surface
#F0F9F2
border
#CBD2CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #40B475

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

Preview Lab → · Contrast checker → · Palette generator →

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