#40B574#40B574

#40B574 is a light, vivid green. Relative luminance 0.354; OKLCH L 69.1% C 0.142 H 155.2°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#40B574
RGBrgb(64, 181, 116)
HSLhsl(147, 48%, 48%)
HSVhsv(147, 65%, 71%)
CMYKcmyk(64.6%, 0%, 35.9%, 29%)
CIE-LABlab(66.06, -47.68, 23.76)
CIE-LCHlch(66.06, 53.27, 153.52°)
OKLaboklab(69.1% -0.1292 0.0596)
OKLCHoklch(69.1% 0.142 155.2)
XYZxyz(21.7887, 35.3964, 22.2035)
Luminance0.3540 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B574 #B54081
analogous
#46B540 #40B574 #40B5AE
triadic
#40B574 #7440B5 #B57440
tetradic
#40B574 #4046B5 #B54081 #B5AE40
square
#40B574 #4046B5 #B54081 #B5AE40
split-complementary
#40B574 #AE40B5 #B54046
monochromatic
#205B3A #308857 #40B574 #68CA94 #96DAB4

Accessibility & contrast

On white

2.60
#40B574 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#40B574 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B574
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B574#FFFFFF#000000##000000
##40B5741.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A770
Deuteranopia (green-blind)
#A59C78
Tritanopia (blue-blind)
#00B3A4
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #40b574;
/* rgb */ color: rgb(64, 181, 116);
/* oklch */ color: oklch(69.1% 0.142 155.2);
Tailwind
colors: {
  custom: {
    50: '#82cc9c',
    500: '#40b574',
    950: '#000000',
  },
}
SCSS
$custom: #40b574;
$custom-light: #82cc9c;
$custom-dark: #000000;
JSON
{
  "hex": "#40b574",
  "rgb": {
    "r": 64,
    "g": 181,
    "b": 116
  },
  "hsl": {
    "h": 146.667,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.69095,
    "c": 0.14231,
    "h": 155.2
  },
  "luminance": 0.35399
}

Semantic roles & 50–950 ramp

primary
#40B574
secondary
#C58BAC
accent
#509BD7
background
#F8FCF9
surface
#F0F9F2
border
#CBD2CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #40B574

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

Preview Lab → · Contrast checker → · Palette generator →

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