#40C345#40C345

#40C345 is a light, highly saturated green. Relative luminance 0.406; OKLCH L 72.0% C 0.201 H 143.7°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#40C345
RGBrgb(64, 195, 69)
HSLhsl(122, 52%, 51%)
HSVhsv(122, 67%, 76%)
CMYKcmyk(67.2%, 0%, 64.6%, 23.5%)
CIE-LABlab(69.86, -59.85, 51.46)
CIE-LCHlch(69.86, 78.93, 139.31°)
OKLaboklab(72.03% -0.1623 0.1194)
OKLCHoklch(72.03% 0.201 143.7)
XYZxyz(22.7022, 40.5475, 12.2591)
Luminance0.4055 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C345 #C340BE
analogous
#7CC340 #40C345 #40C386
triadic
#40C345 #4540C3 #C34540
tetradic
#40C345 #407CC3 #C340BE #C38640
square
#40C345 #407CC3 #C340BE #C38640
split-complementary
#40C345 #8640C3 #C3407C
monochromatic
#216823 #2F9733 #40C345 #6FD272 #9DE0A0

Accessibility & contrast

On white

2.31
#40C345 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.11
#40C345 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C345
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C345#FFFFFF#000000##000000
##40C3451.002.319.119.11
#FFFFFF2.311.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B135
Deuteranopia (green-blind)
#B7A750
Tritanopia (blue-blind)
#1CBEA9
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #40c345;
/* rgb */ color: rgb(64, 195, 69);
/* oklch */ color: oklch(72.0% 0.201 143.7);
Tailwind
colors: {
  custom: {
    50: '#86d67e',
    500: '#40c345',
    950: '#000000',
  },
}
SCSS
$custom: #40c345;
$custom-light: #86d67e;
$custom-dark: #000000;
JSON
{
  "hex": "#40c345",
  "rgb": {
    "r": 64,
    "g": 195,
    "b": 69
  },
  "hsl": {
    "h": 122.29,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.72031,
    "c": 0.20146,
    "h": 143.7
  },
  "luminance": 0.4055
}

Semantic roles & 50–950 ramp

primary
#40C345
secondary
#CC92CA
accent
#4CD6DC
background
#F8FDF7
surface
#F0FAEE
border
#CBD3C9
text
#0C140A
muted
#7D837C

Preview Lab

Preview with #40C345

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

Preview Lab → · Contrast checker → · Palette generator →

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