#40B674#40B674

#40B674 is a light, vivid green. Relative luminance 0.358; OKLCH L 69.4% C 0.144 H 155.0°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#40B674
RGBrgb(64, 182, 116)
HSLhsl(146, 48%, 48%)
HSVhsv(146, 65%, 71%)
CMYKcmyk(64.8%, 0%, 36.3%, 28.6%)
CIE-LABlab(66.37, -48.08, 24.18)
CIE-LCHlch(66.37, 53.82, 153.31°)
OKLaboklab(69.35% -0.1303 0.0607)
OKLCHoklch(69.35% 0.144 155)
XYZxyz(21.9928, 35.8045, 22.2715)
Luminance0.3581 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B674 #B64082
analogous
#47B640 #40B674 #40B6AF
triadic
#40B674 #7440B6 #B67440
tetradic
#40B674 #4047B6 #B64082 #B6AF40
square
#40B674 #4047B6 #B64082 #B6AF40
split-complementary
#40B674 #AF40B6 #B64047
monochromatic
#205B3A #308957 #40B674 #69CA94 #96DAB4

Accessibility & contrast

On white

2.57
#40B674 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#40B674 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B674
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B674#FFFFFF#000000##000000
##40B6741.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A870
Deuteranopia (green-blind)
#A69D78
Tritanopia (blue-blind)
#00B4A5
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #40b674;
/* rgb */ color: rgb(64, 182, 116);
/* oklch */ color: oklch(69.4% 0.144 155.0);
Tailwind
colors: {
  custom: {
    50: '#82cd9c',
    500: '#40b674',
    950: '#000000',
  },
}
SCSS
$custom: #40b674;
$custom-light: #82cd9c;
$custom-dark: #000000;
JSON
{
  "hex": "#40b674",
  "rgb": {
    "r": 64,
    "g": 182,
    "b": 116
  },
  "hsl": {
    "h": 146.441,
    "s": 47.967,
    "l": 48.235
  },
  "oklch": {
    "l": 0.69353,
    "c": 0.14369,
    "h": 155
  },
  "luminance": 0.35807
}

Semantic roles & 50–950 ramp

primary
#40B674
secondary
#C68CAC
accent
#509CD8
background
#F8FCF9
surface
#F0F9F2
border
#CBD2CC
text
#0C130E
muted
#7D827E

Preview Lab

Preview with #40B674

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

Preview Lab → · Contrast checker → · Palette generator →

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