#40C748#40C748

#40C748 is a light, highly saturated green. Relative luminance 0.424; OKLCH L 73.1% C 0.204 H 144.0°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#40C748
RGBrgb(64, 199, 72)
HSLhsl(124, 55%, 52%)
HSVhsv(124, 68%, 78%)
CMYKcmyk(67.8%, 0%, 63.8%, 22%)
CIE-LABlab(71.15, -60.90, 51.61)
CIE-LCHlch(71.15, 79.83, 139.72°)
OKLaboklab(73.11% -0.165 0.12)
OKLCHoklch(73.11% 0.204 144)
XYZxyz(23.7060, 42.4022, 13.0648)
Luminance0.4240 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C748 #C740BF
analogous
#7BC740 #40C748 #40C78C
triadic
#40C748 #4840C7 #C74840
tetradic
#40C748 #407BC7 #C740BF #C78C40
square
#40C748 #407BC7 #C740BF #C78C40
split-complementary
#40C748 #8C40C7 #C7407B
monochromatic
#206D24 #2E9C34 #40C748 #6FD575 #9FE3A3

Accessibility & contrast

On white

2.21
#40C748 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#40C748 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C748
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C748#FFFFFF#000000##000000
##40C7481.002.219.489.48
#FFFFFF2.211.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB539
Deuteranopia (green-blind)
#BBAA53
Tritanopia (blue-blind)
#18C2AC
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #40c748;
/* rgb */ color: rgb(64, 199, 72);
/* oklch */ color: oklch(73.1% 0.204 144.0);
Tailwind
colors: {
  custom: {
    50: '#86d980',
    500: '#40c748',
    950: '#000000',
  },
}
SCSS
$custom: #40c748;
$custom-light: #86d980;
$custom-dark: #000000;
JSON
{
  "hex": "#40c748",
  "rgb": {
    "r": 64,
    "g": 199,
    "b": 72
  },
  "hsl": {
    "h": 123.556,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.73108,
    "c": 0.20403,
    "h": 144
  },
  "luminance": 0.42405
}

Semantic roles & 50–950 ramp

primary
#40C748
secondary
#CF94CC
accent
#4AD5DE
background
#F8FDF8
surface
#F0FBEF
border
#CBD4CA
text
#0D150A
muted
#7D837C

Preview Lab

Preview with #40C748

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

Preview Lab → · Contrast checker → · Palette generator →

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