#40C378#40C378

#40C378 is a light, vivid green. Relative luminance 0.415; OKLCH L 72.8% C 0.158 H 154.1°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#40C378
RGBrgb(64, 195, 120)
HSLhsl(146, 52%, 51%)
HSVhsv(146, 67%, 76%)
CMYKcmyk(67.2%, 0%, 38.5%, 23.5%)
CIE-LABlab(70.51, -52.44, 27.58)
CIE-LCHlch(70.51, 59.25, 152.26°)
OKLaboklab(72.78% -0.1417 0.0689)
OKLCHoklch(72.78% 0.158 154.1)
XYZxyz(25.0174, 41.4736, 24.4524)
Luminance0.4148 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C378 #C3408B
analogous
#49C340 #40C378 #40C3B9
triadic
#40C378 #7840C3 #C37840
tetradic
#40C378 #4049C3 #C3408B #C3B940
square
#40C378 #4049C3 #C3408B #C3B940
split-complementary
#40C378 #B940C3 #C34049
monochromatic
#21683F #2F975B #40C378 #6FD299 #9DE0BA

Accessibility & contrast

On white

2.26
#40C378 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.30
#40C378 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C378
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C378#FFFFFF#000000##000000
##40C3781.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B473
Deuteranopia (green-blind)
#B2A87D
Tritanopia (blue-blind)
#00C1B0
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #40c378;
/* rgb */ color: rgb(64, 195, 120);
/* oklch */ color: oklch(72.8% 0.158 154.1);
Tailwind
colors: {
  custom: {
    50: '#84d69f',
    500: '#40c378',
    950: '#000000',
  },
}
SCSS
$custom: #40c378;
$custom-light: #84d69f;
$custom-dark: #000000;
JSON
{
  "hex": "#40c378",
  "rgb": {
    "r": 64,
    "g": 195,
    "b": 120
  },
  "hsl": {
    "h": 145.649,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.72778,
    "c": 0.15757,
    "h": 154.1
  },
  "luminance": 0.41476
}

Semantic roles & 50–950 ramp

primary
#40C378
secondary
#CC92B4
accent
#4C9EDC
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140E
muted
#7D837E

Preview Lab

Preview with #40C378

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

Preview Lab → · Contrast checker → · Palette generator →

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