#40C846#40C846

#40C846 is a light, highly saturated green. Relative luminance 0.428; OKLCH L 73.3% C 0.207 H 143.7°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#40C846
RGBrgb(64, 200, 70)
HSLhsl(123, 55%, 52%)
HSVhsv(123, 68%, 78%)
CMYKcmyk(68%, 0%, 65%, 21.6%)
CIE-LABlab(71.44, -61.45, 52.78)
CIE-LCHlch(71.44, 81.01, 139.34°)
OKLaboklab(73.35% -0.1666 0.1223)
OKLCHoklch(73.35% 0.207 143.7)
XYZxyz(23.8726, 42.8382, 12.8037)
Luminance0.4284 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C846 #C840C2
analogous
#7EC840 #40C846 #40C88A
triadic
#40C846 #4640C8 #C84640
tetradic
#40C846 #407EC8 #C840C2 #C88A40
square
#40C846 #407EC8 #C840C2 #C88A40
split-complementary
#40C846 #8A40C8 #C8407E
monochromatic
#206E23 #2D9D32 #40C846 #70D674 #9FE3A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40C846#FFFFFF#000000##000000
##40C8461.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)
#CCB636
Deuteranopia (green-blind)
#BCAB52
Tritanopia (blue-blind)
#18C3AD
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #40c846;
/* rgb */ color: rgb(64, 200, 70);
/* oklch */ color: oklch(73.3% 0.207 143.7);
Tailwind
colors: {
  custom: {
    50: '#87da7f',
    500: '#40c846',
    950: '#000000',
  },
}
SCSS
$custom: #40c846;
$custom-light: #87da7f;
$custom-dark: #000000;
JSON
{
  "hex": "#40c846",
  "rgb": {
    "r": 64,
    "g": 200,
    "b": 70
  },
  "hsl": {
    "h": 122.647,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.73349,
    "c": 0.20664,
    "h": 143.7
  },
  "luminance": 0.42841
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40C846

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

Preview Lab → · Contrast checker → · Palette generator →

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