#40C13D#40C13D

#40C13D is a light, highly saturated green. Relative luminance 0.396; OKLCH L 71.4% C 0.205 H 142.8°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#40C13D
RGBrgb(64, 193, 61)
HSLhsl(119, 52%, 50%)
HSVhsv(119, 68%, 76%)
CMYKcmyk(66.8%, 0%, 68.4%, 24.3%)
CIE-LABlab(69.16, -59.95, 53.99)
CIE-LCHlch(69.16, 80.68, 137.99°)
OKLaboklab(71.43% -0.1629 0.1239)
OKLCHoklch(71.43% 0.205 142.8)
XYZxyz(22.0253, 39.5645, 10.8900)
Luminance0.3957 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C13D #BE3DC1
analogous
#82C13D #40C13D #3DC17C
triadic
#40C13D #3D40C1 #C13D40
tetradic
#40C13D #3D82C1 #BE3DC1 #C17C3D
square
#40C13D #3D82C1 #BE3DC1 #C17C3D
split-complementary
#40C13D #7C3DC1 #C13D82
monochromatic
#216420 #31922E #40C13D #6DD06B #9BDF99

Accessibility & contrast

On white

2.36
#40C13D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#40C13D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C13D
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C13D#FFFFFF#000000##000000
##40C13D1.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF2A
Deuteranopia (green-blind)
#B6A549
Tritanopia (blue-blind)
#21BBA6
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #40c13d;
/* rgb */ color: rgb(64, 193, 61);
/* oklch */ color: oklch(71.4% 0.205 142.8);
Tailwind
colors: {
  custom: {
    50: '#86d579',
    500: '#40c13d',
    950: '#000000',
  },
}
SCSS
$custom: #40c13d;
$custom-light: #86d579;
$custom-dark: #000000;
JSON
{
  "hex": "#40c13d",
  "rgb": {
    "r": 64,
    "g": 193,
    "b": 61
  },
  "hsl": {
    "h": 118.636,
    "s": 51.969,
    "l": 49.804
  },
  "oklch": {
    "l": 0.71431,
    "c": 0.20466,
    "h": 142.8
  },
  "luminance": 0.39567
}

Semantic roles & 50–950 ramp

primary
#40C13D
secondary
#C98FCB
accent
#4CDBD8
background
#F8FDF7
surface
#F0FAEE
border
#CBD3C9
text
#0C1409
muted
#7D837B

Preview Lab

Preview with #40C13D

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

Preview Lab → · Contrast checker → · Palette generator →

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