#40C875#40C875

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

Color values

HEX#40C875
RGBrgb(64, 200, 117)
HSLhsl(143, 55%, 52%)
HSVhsv(143, 68%, 78%)
CMYKcmyk(68%, 0%, 41.5%, 21.6%)
CIE-LABlab(72.01, -54.89, 31.12)
CIE-LCHlch(72.01, 63.10, 150.45°)
OKLaboklab(74% -0.1481 0.0771)
OKLCHoklch(74% 0.167 152.5)
XYZxyz(25.9773, 43.6801, 23.8882)
Luminance0.4368 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C875 #C84093
analogous
#4FC840 #40C875 #40C8B9
triadic
#40C875 #7540C8 #C87540
tetradic
#40C875 #404FC8 #C84093 #C8B940
square
#40C875 #404FC8 #C84093 #C8B940
split-complementary
#40C875 #B940C8 #C8404F
monochromatic
#206E3E #2D9D59 #40C875 #70D697 #9FE3BA

Accessibility & contrast

On white

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

On black

9.74
#40C875 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C875
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C875#FFFFFF#000000##000000
##40C8751.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B86F
Deuteranopia (green-blind)
#B7AC7B
Tritanopia (blue-blind)
#00C5B4
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #40c875;
/* rgb */ color: rgb(64, 200, 117);
/* oklch */ color: oklch(74.0% 0.167 152.5);
Tailwind
colors: {
  custom: {
    50: '#85da9d',
    500: '#40c875',
    950: '#000000',
  },
}
SCSS
$custom: #40c875;
$custom-light: #85da9d;
$custom-dark: #000000;
JSON
{
  "hex": "#40c875",
  "rgb": {
    "r": 64,
    "g": 200,
    "b": 117
  },
  "hsl": {
    "h": 143.382,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.74004,
    "c": 0.16695,
    "h": 152.5
  },
  "luminance": 0.43683
}

Semantic roles & 50–950 ramp

primary
#40C875
secondary
#D094B8
accent
#49A4DF
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150E
muted
#7D837E

Preview Lab

Preview with #40C875

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

Preview Lab → · Contrast checker → · Palette generator →

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