#40C847#40C847

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

Color values

HEX#40C847
RGBrgb(64, 200, 71)
HSLhsl(123, 55%, 52%)
HSVhsv(123, 68%, 78%)
CMYKcmyk(68%, 0%, 64.5%, 21.6%)
CIE-LABlab(71.45, -61.35, 52.37)
CIE-LCHlch(71.45, 80.66, 139.51°)
OKLaboklab(73.36% -0.1662 0.1215)
OKLCHoklch(73.36% 0.206 143.8)
XYZxyz(23.9045, 42.8509, 12.9713)
Luminance0.4285 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C847 #C840C1
analogous
#7DC840 #40C847 #40C88B
triadic
#40C847 #4740C8 #C84740
tetradic
#40C847 #407DC8 #C840C1 #C88B40
square
#40C847 #407DC8 #C840C1 #C88B40
split-complementary
#40C847 #8B40C8 #C8407D
monochromatic
#206E24 #2D9D33 #40C847 #70D675 #9FE3A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40C847#FFFFFF#000000##000000
##40C8471.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)
#CCB637
Deuteranopia (green-blind)
#BCAB52
Tritanopia (blue-blind)
#17C3AD
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #40c847;
/* rgb */ color: rgb(64, 200, 71);
/* oklch */ color: oklch(73.4% 0.206 143.8);
Tailwind
colors: {
  custom: {
    50: '#87da7f',
    500: '#40c847',
    950: '#000000',
  },
}
SCSS
$custom: #40c847;
$custom-light: #87da7f;
$custom-dark: #000000;
JSON
{
  "hex": "#40c847",
  "rgb": {
    "r": 64,
    "g": 200,
    "b": 71
  },
  "hsl": {
    "h": 123.088,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.73359,
    "c": 0.20593,
    "h": 143.8
  },
  "luminance": 0.42853
}

Semantic roles & 50–950 ramp

primary
#40C847
secondary
#D094CD
accent
#49D7DF
background
#F9FDF8
surface
#F1FBEF
border
#CBD4CA
text
#0D150A
muted
#7E837C

Preview Lab

Preview with #40C847

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

Preview Lab → · Contrast checker → · Palette generator →

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