#40C548#40C548

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

Color values

HEX#40C548
RGBrgb(64, 197, 72)
HSLhsl(124, 53%, 51%)
HSVhsv(124, 68%, 77%)
CMYKcmyk(67.5%, 0%, 63.5%, 22.7%)
CIE-LABlab(70.52, -60.22, 50.91)
CIE-LCHlch(70.52, 78.85, 139.79°)
OKLaboklab(72.58% -0.1631 0.1185)
OKLCHoklch(72.58% 0.202 144)
XYZxyz(23.2489, 41.4879, 12.9124)
Luminance0.4149 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C548 #C540BD
analogous
#7AC540 #40C548 #40C58A
triadic
#40C548 #4840C5 #C54840
tetradic
#40C548 #407AC5 #C540BD #C58A40
square
#40C548 #407AC5 #C540BD #C58A40
split-complementary
#40C548 #8A40C5 #C5407A
monochromatic
#206A25 #2F9935 #40C548 #6FD375 #9EE2A2

Accessibility & contrast

On white

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

On black

9.30
#40C548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C548
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C548#FFFFFF#000000##000000
##40C5481.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B339
Deuteranopia (green-blind)
#B9A853
Tritanopia (blue-blind)
#19C0AB
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #40c548;
/* rgb */ color: rgb(64, 197, 72);
/* oklch */ color: oklch(72.6% 0.202 144.0);
Tailwind
colors: {
  custom: {
    50: '#86d880',
    500: '#40c548',
    950: '#000000',
  },
}
SCSS
$custom: #40c548;
$custom-light: #86d880;
$custom-dark: #000000;
JSON
{
  "hex": "#40c548",
  "rgb": {
    "r": 64,
    "g": 197,
    "b": 72
  },
  "hsl": {
    "h": 123.609,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.72585,
    "c": 0.20165,
    "h": 144
  },
  "luminance": 0.4149
}

Semantic roles & 50–950 ramp

primary
#40C548
secondary
#CE93CA
accent
#4BD4DD
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0D150A
muted
#7D837C

Preview Lab

Preview with #40C548

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

Preview Lab → · Contrast checker → · Palette generator →

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