#40C556#40C556

#40C556 is a light, vivid green. Relative luminance 0.417; OKLCH L 72.7% C 0.191 H 146.0°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#40C556
RGBrgb(64, 197, 86)
HSLhsl(130, 53%, 51%)
HSVhsv(130, 68%, 77%)
CMYKcmyk(67.5%, 0%, 56.3%, 22.7%)
CIE-LABlab(70.66, -58.56, 44.76)
CIE-LCHlch(70.66, 73.71, 142.61°)
OKLaboklab(72.75% -0.1581 0.1065)
OKLCHoklch(72.75% 0.191 146)
XYZxyz(23.7587, 41.6919, 15.5975)
Luminance0.4169 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C556 #C540AF
analogous
#6CC540 #40C556 #40C598
triadic
#40C556 #5640C5 #C55640
tetradic
#40C556 #406CC5 #C540AF #C59840
square
#40C556 #406CC5 #C540AF #C59840
split-complementary
#40C556 #9840C5 #C5406C
monochromatic
#206A2D #2F9940 #40C556 #6FD380 #9EE2A9

Accessibility & contrast

On white

2.25
#40C556 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.34
#40C556 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C556
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C556#FFFFFF#000000##000000
##40C5561.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B44B
Deuteranopia (green-blind)
#B8A95F
Tritanopia (blue-blind)
#0FC0AC
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #40c556;
/* rgb */ color: rgb(64, 197, 86);
/* oklch */ color: oklch(72.7% 0.191 146.0);
Tailwind
colors: {
  custom: {
    50: '#85d889',
    500: '#40c556',
    950: '#000000',
  },
}
SCSS
$custom: #40c556;
$custom-light: #85d889;
$custom-dark: #000000;
JSON
{
  "hex": "#40c556",
  "rgb": {
    "r": 64,
    "g": 197,
    "b": 86
  },
  "hsl": {
    "h": 129.925,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.72748,
    "c": 0.19063,
    "h": 146
  },
  "luminance": 0.41694
}

Semantic roles & 50–950 ramp

primary
#40C556
secondary
#CE93C4
accent
#4BC5DD
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C150C
muted
#7D837D

Preview Lab

Preview with #40C556

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

Preview Lab → · Contrast checker → · Palette generator →

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