#40B174#40B174

#40B174 is a light, vivid green. Relative luminance 0.338; OKLCH L 68.1% C 0.137 H 156.0°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#40B174
RGBrgb(64, 177, 116)
HSLhsl(148, 47%, 47%)
HSVhsv(148, 64%, 69%)
CMYKcmyk(63.8%, 0%, 34.5%, 30.6%)
CIE-LABlab(64.80, -46.06, 22.06)
CIE-LCHlch(64.80, 51.07, 154.41°)
OKLaboklab(68.06% -0.125 0.0555)
OKLCHoklch(68.06% 0.137 156)
XYZxyz(20.9870, 33.7931, 21.9363)
Luminance0.3379 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B174 #B1407D
analogous
#44B140 #40B174 #40B1AD
triadic
#40B174 #7440B1 #B17440
tetradic
#40B174 #4044B1 #B1407D #B1AD40
square
#40B174 #4044B1 #B1407D #B1AD40
split-complementary
#40B174 #AD40B1 #B14044
monochromatic
#1F5739 #308457 #40B174 #66C893 #93D8B3

Accessibility & contrast

On white

2.71
#40B174 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#40B174 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B174
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B174#FFFFFF#000000##000000
##40B1741.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A470
Deuteranopia (green-blind)
#A19978
Tritanopia (blue-blind)
#00AFA1
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #40b174;
/* rgb */ color: rgb(64, 177, 116);
/* oklch */ color: oklch(68.1% 0.137 156.0);
Tailwind
colors: {
  custom: {
    50: '#81c99c',
    500: '#40b174',
    950: '#000000',
  },
}
SCSS
$custom: #40b174;
$custom-light: #81c99c;
$custom-dark: #000000;
JSON
{
  "hex": "#40b174",
  "rgb": {
    "r": 64,
    "g": 177,
    "b": 116
  },
  "hsl": {
    "h": 147.611,
    "s": 46.888,
    "l": 47.255
  },
  "oklch": {
    "l": 0.68062,
    "c": 0.13679,
    "h": 156
  },
  "luminance": 0.33795
}

Semantic roles & 50–950 ramp

primary
#40B174
secondary
#C389A9
accent
#5199D7
background
#F8FCF9
surface
#EFF8F2
border
#CAD1CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #40B174

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

Preview Lab → · Contrast checker → · Palette generator →

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