#40C854#40C854

#40C854 is a light, vivid green. Relative luminance 0.430; OKLCH L 73.5% C 0.196 H 145.6°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#40C854
RGBrgb(64, 200, 84)
HSLhsl(129, 55%, 52%)
HSVhsv(129, 68%, 78%)
CMYKcmyk(68%, 0%, 58%, 21.6%)
CIE-LABlab(71.58, -59.86, 46.78)
CIE-LCHlch(71.58, 75.97, 142.00°)
OKLaboklab(73.5% -0.1617 0.1107)
OKLCHoklch(73.5% 0.196 145.6)
XYZxyz(24.3672, 43.0360, 15.4084)
Luminance0.4304 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C854 #C840B4
analogous
#70C840 #40C854 #40C898
triadic
#40C854 #5440C8 #C85440
tetradic
#40C854 #4070C8 #C840B4 #C89840
square
#40C854 #4070C8 #C840B4 #C89840
split-complementary
#40C854 #9840C8 #C84070
monochromatic
#206E2B #2D9D3E #40C854 #70D67F #9FE3A9

Accessibility & contrast

On white

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

On black

9.61
#40C854 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C854
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C854#FFFFFF#000000##000000
##40C8541.002.199.619.61
#FFFFFF2.191.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB648
Deuteranopia (green-blind)
#BBAB5D
Tritanopia (blue-blind)
#0DC3AF
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #40c854;
/* rgb */ color: rgb(64, 200, 84);
/* oklch */ color: oklch(73.5% 0.196 145.6);
Tailwind
colors: {
  custom: {
    50: '#86da87',
    500: '#40c854',
    950: '#000000',
  },
}
SCSS
$custom: #40c854;
$custom-light: #86da87;
$custom-dark: #000000;
JSON
{
  "hex": "#40c854",
  "rgb": {
    "r": 64,
    "g": 200,
    "b": 84
  },
  "hsl": {
    "h": 128.824,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.73503,
    "c": 0.19598,
    "h": 145.6
  },
  "luminance": 0.43039
}

Semantic roles & 50–950 ramp

primary
#40C854
secondary
#D094C7
accent
#49C9DF
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0D150B
muted
#7D837C

Preview Lab

Preview with #40C854

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

Preview Lab → · Contrast checker → · Palette generator →

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