#40C545#40C545

#40C545 is a light, highly saturated green. Relative luminance 0.415; OKLCH L 72.6% C 0.204 H 143.6°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#40C545
RGBrgb(64, 197, 69)
HSLhsl(122, 53%, 51%)
HSVhsv(122, 68%, 77%)
CMYKcmyk(67.5%, 0%, 65%, 22.7%)
CIE-LABlab(70.49, -60.53, 52.15)
CIE-LCHlch(70.49, 79.90, 139.25°)
OKLaboklab(72.56% -0.1641 0.1209)
OKLCHoklch(72.56% 0.204 143.6)
XYZxyz(23.1534, 41.4497, 12.4095)
Luminance0.4145 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C545 #C540C0
analogous
#7DC540 #40C545 #40C587
triadic
#40C545 #4540C5 #C54540
tetradic
#40C545 #407DC5 #C540C0 #C58740
square
#40C545 #407DC5 #C540C0 #C58740
split-complementary
#40C545 #8740C5 #C5407D
monochromatic
#206A23 #2F9933 #40C545 #6FD373 #9EE2A0

Accessibility & contrast

On white

2.26
#40C545 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.29
#40C545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C545
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C545#FFFFFF#000000##000000
##40C5451.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B335
Deuteranopia (green-blind)
#B9A850
Tritanopia (blue-blind)
#1BC0AA
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #40c545;
/* rgb */ color: rgb(64, 197, 69);
/* oklch */ color: oklch(72.6% 0.204 143.6);
Tailwind
colors: {
  custom: {
    50: '#86d87e',
    500: '#40c545',
    950: '#000000',
  },
}
SCSS
$custom: #40c545;
$custom-light: #86d87e;
$custom-dark: #000000;
JSON
{
  "hex": "#40c545",
  "rgb": {
    "r": 64,
    "g": 197,
    "b": 69
  },
  "hsl": {
    "h": 122.256,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.72555,
    "c": 0.20383,
    "h": 143.6
  },
  "luminance": 0.41452
}

Semantic roles & 50–950 ramp

primary
#40C545
secondary
#CE93CC
accent
#4BD7DD
background
#F8FDF7
surface
#F0FAEE
border
#CBD3C9
text
#0D150A
muted
#7D837C

Preview Lab

Preview with #40C545

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

Preview Lab → · Contrast checker → · Palette generator →

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