#40C374#40C374

#40C374 is a light, vivid green. Relative luminance 0.414; OKLCH L 72.7% C 0.161 H 152.9°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#40C374
RGBrgb(64, 195, 116)
HSLhsl(144, 52%, 51%)
HSVhsv(144, 67%, 76%)
CMYKcmyk(67.2%, 0%, 40.5%, 23.5%)
CIE-LABlab(70.44, -53.17, 29.58)
CIE-LCHlch(70.44, 60.85, 150.91°)
OKLaboklab(72.7% -0.1435 0.0735)
OKLCHoklch(72.7% 0.161 152.9)
XYZxyz(24.7797, 41.3785, 23.2005)
Luminance0.4138 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C374 #C3408F
analogous
#4DC340 #40C374 #40C3B5
triadic
#40C374 #7440C3 #C37440
tetradic
#40C374 #404DC3 #C3408F #C3B540
square
#40C374 #404DC3 #C3408F #C3B540
split-complementary
#40C374 #B540C3 #C3404D
monochromatic
#21683D #2F9758 #40C374 #6FD296 #9DE0B8

Accessibility & contrast

On white

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

On black

9.28
#40C374 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C374
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C374#FFFFFF#000000##000000
##40C3741.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B36E
Deuteranopia (green-blind)
#B3A879
Tritanopia (blue-blind)
#00C0AF
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #40c374;
/* rgb */ color: rgb(64, 195, 116);
/* oklch */ color: oklch(72.7% 0.161 152.9);
Tailwind
colors: {
  custom: {
    50: '#84d69d',
    500: '#40c374',
    950: '#000000',
  },
}
SCSS
$custom: #40c374;
$custom-light: #84d69d;
$custom-dark: #000000;
JSON
{
  "hex": "#40c374",
  "rgb": {
    "r": 64,
    "g": 195,
    "b": 116
  },
  "hsl": {
    "h": 143.817,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.72702,
    "c": 0.16125,
    "h": 152.9
  },
  "luminance": 0.41381
}

Semantic roles & 50–950 ramp

primary
#40C374
secondary
#CC92B5
accent
#4CA3DC
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140E
muted
#7D837E

Preview Lab

Preview with #40C374

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

Preview Lab → · Contrast checker → · Palette generator →

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