#40C848#40C848

#40C848 is a light, highly saturated green. Relative luminance 0.429; OKLCH L 73.4% C 0.205 H 143.9°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#40C848
RGBrgb(64, 200, 72)
HSLhsl(124, 55%, 52%)
HSVhsv(124, 68%, 78%)
CMYKcmyk(68%, 0%, 64%, 21.6%)
CIE-LABlab(71.46, -61.24, 51.96)
CIE-LCHlch(71.46, 80.31, 139.69°)
OKLaboklab(73.37% -0.1659 0.1208)
OKLCHoklch(73.37% 0.205 143.9)
XYZxyz(23.9368, 42.8639, 13.1417)
Luminance0.4287 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C848 #C840C0
analogous
#7CC840 #40C848 #40C88C
triadic
#40C848 #4840C8 #C84840
tetradic
#40C848 #407CC8 #C840C0 #C88C40
square
#40C848 #407CC8 #C840C0 #C88C40
split-complementary
#40C848 #8C40C8 #C8407C
monochromatic
#206E24 #2D9D34 #40C848 #70D676 #9FE3A3

Accessibility & contrast

On white

2.19
#40C848 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#40C848 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C848
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C848#FFFFFF#000000##000000
##40C8481.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB638
Deuteranopia (green-blind)
#BCAB53
Tritanopia (blue-blind)
#17C3AD
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #40c848;
/* rgb */ color: rgb(64, 200, 72);
/* oklch */ color: oklch(73.4% 0.205 143.9);
Tailwind
colors: {
  custom: {
    50: '#86da80',
    500: '#40c848',
    950: '#000000',
  },
}
SCSS
$custom: #40c848;
$custom-light: #86da80;
$custom-dark: #000000;
JSON
{
  "hex": "#40c848",
  "rgb": {
    "r": 64,
    "g": 200,
    "b": 72
  },
  "hsl": {
    "h": 123.529,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.73369,
    "c": 0.20521,
    "h": 143.9
  },
  "luminance": 0.42866
}

Semantic roles & 50–950 ramp

primary
#40C848
secondary
#D094CC
accent
#49D6DF
background
#F9FDF8
surface
#F1FBEF
border
#CBD4CA
text
#0D150B
muted
#7E837C

Preview Lab

Preview with #40C848

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

Preview Lab → · Contrast checker → · Palette generator →

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