#40B579#40B579

#40B579 is a light, vivid green. Relative luminance 0.355; OKLCH L 69.2% C 0.138 H 157.1°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#40B579
RGBrgb(64, 181, 121)
HSLhsl(149, 48%, 48%)
HSVhsv(149, 65%, 71%)
CMYKcmyk(64.6%, 0%, 33.1%, 29%)
CIE-LABlab(66.15, -46.69, 21.20)
CIE-LCHlch(66.15, 51.27, 155.58°)
OKLaboklab(69.2% -0.1269 0.0535)
OKLCHoklch(69.2% 0.138 157.1)
XYZxyz(22.0874, 35.5159, 23.7767)
Luminance0.3552 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B579 #B5407C
analogous
#41B540 #40B579 #40B5B3
triadic
#40B579 #7940B5 #B57940
tetradic
#40B579 #4041B5 #B5407C #B5B340
square
#40B579 #4041B5 #B5407C #B5B340
split-complementary
#40B579 #B340B5 #B54041
monochromatic
#205B3D #30885B #40B579 #68CA98 #96DAB7

Accessibility & contrast

On white

2.59
#40B579 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#40B579 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B579
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B579#FFFFFF#000000##000000
##40B5791.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40b579;
/* rgb */ color: rgb(64, 181, 121);
/* oklch */ color: oklch(69.2% 0.138 157.1);
Tailwind
colors: {
  custom: {
    50: '#82cca0',
    500: '#40b579',
    950: '#000000',
  },
}
SCSS
$custom: #40b579;
$custom-light: #82cca0;
$custom-dark: #000000;
JSON
{
  "hex": "#40b579",
  "rgb": {
    "r": 64,
    "g": 181,
    "b": 121
  },
  "hsl": {
    "h": 149.231,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.69201,
    "c": 0.1377,
    "h": 157.1
  },
  "luminance": 0.35518
}

Semantic roles & 50–950 ramp

primary
#40B579
secondary
#C58BA9
accent
#5096D7
background
#F8FCF9
surface
#F0F9F2
border
#CBD2CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #40B579

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

Preview Lab → · Contrast checker → · Palette generator →

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