#40C479#40C479

#40C479 is a light, vivid green. Relative luminance 0.419; OKLCH L 73.1% C 0.158 H 154.2°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#40C479
RGBrgb(64, 196, 121)
HSLhsl(146, 53%, 51%)
HSVhsv(146, 67%, 77%)
CMYKcmyk(67.3%, 0%, 38.3%, 23.1%)
CIE-LABlab(70.83, -52.64, 27.49)
CIE-LCHlch(70.83, 59.39, 152.42°)
OKLaboklab(73.05% -0.1423 0.0687)
OKLCHoklch(73.05% 0.158 154.2)
XYZxyz(25.3032, 41.9476, 24.8486)
Luminance0.4195 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C479 #C4408B
analogous
#49C440 #40C479 #40C4BB
triadic
#40C479 #7940C4 #C47940
tetradic
#40C479 #4049C4 #C4408B #C4BB40
square
#40C479 #4049C4 #C4408B #C4BB40
split-complementary
#40C479 #BB40C4 #C44049
monochromatic
#206940 #2F985C #40C479 #6FD29A #9EE1BB

Accessibility & contrast

On white

2.24
#40C479 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.39
#40C479 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C479
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C479#FFFFFF#000000##000000
##40C4791.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B474
Deuteranopia (green-blind)
#B3A97E
Tritanopia (blue-blind)
#00C2B1
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #40c479;
/* rgb */ color: rgb(64, 196, 121);
/* oklch */ color: oklch(73.1% 0.158 154.2);
Tailwind
colors: {
  custom: {
    50: '#84d7a0',
    500: '#40c479',
    950: '#000000',
  },
}
SCSS
$custom: #40c479;
$custom-light: #84d7a0;
$custom-dark: #000000;
JSON
{
  "hex": "#40c479",
  "rgb": {
    "r": 64,
    "g": 196,
    "b": 121
  },
  "hsl": {
    "h": 145.909,
    "s": 52.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.73054,
    "c": 0.15798,
    "h": 154.2
  },
  "luminance": 0.4195
}

Semantic roles & 50–950 ramp

primary
#40C479
secondary
#CD93B4
accent
#4C9EDC
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140F
muted
#7D837E

Preview Lab

Preview with #40C479

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

Preview Lab → · Contrast checker → · Palette generator →

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