#40C874#40C874

#40C874 is a light, vivid green. Relative luminance 0.437; OKLCH L 74.0% C 0.168 H 152.2°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#40C874
RGBrgb(64, 200, 116)
HSLhsl(143, 55%, 52%)
HSVhsv(143, 68%, 78%)
CMYKcmyk(68%, 0%, 42%, 21.6%)
CIE-LABlab(72.00, -55.07, 31.62)
CIE-LCHlch(72.00, 63.50, 150.14°)
OKLaboklab(73.99% -0.1485 0.0783)
OKLCHoklch(73.99% 0.168 152.2)
XYZxyz(25.9188, 43.6567, 23.5802)
Luminance0.4366 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C874 #C84094
analogous
#50C840 #40C874 #40C8B8
triadic
#40C874 #7440C8 #C87440
tetradic
#40C874 #4050C8 #C84094 #C8B840
square
#40C874 #4050C8 #C84094 #C8B840
split-complementary
#40C874 #B840C8 #C84050
monochromatic
#206E3E #2D9D58 #40C874 #70D697 #9FE3B9

Accessibility & contrast

On white

2.16
#40C874 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.73
#40C874 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C874
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C874#FFFFFF#000000##000000
##40C8741.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B86E
Deuteranopia (green-blind)
#B7AC7A
Tritanopia (blue-blind)
#00C5B3
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #40c874;
/* rgb */ color: rgb(64, 200, 116);
/* oklch */ color: oklch(74.0% 0.168 152.2);
Tailwind
colors: {
  custom: {
    50: '#85da9d',
    500: '#40c874',
    950: '#000000',
  },
}
SCSS
$custom: #40c874;
$custom-light: #85da9d;
$custom-dark: #000000;
JSON
{
  "hex": "#40c874",
  "rgb": {
    "r": 64,
    "g": 200,
    "b": 116
  },
  "hsl": {
    "h": 142.941,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.73986,
    "c": 0.16788,
    "h": 152.2
  },
  "luminance": 0.43659
}

Semantic roles & 50–950 ramp

primary
#40C874
secondary
#D094B9
accent
#49A5DF
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150E
muted
#7D837E

Preview Lab

Preview with #40C874

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

Preview Lab → · Contrast checker → · Palette generator →

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