#40C23A#40C23A

#40C23A is a light, highly saturated green. Relative luminance 0.400; OKLCH L 71.7% C 0.208 H 142.5°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#40C23A
RGBrgb(64, 194, 58)
HSLhsl(117, 54%, 49%)
HSVhsv(117, 70%, 76%)
CMYKcmyk(67%, 0%, 70.1%, 23.9%)
CIE-LABlab(69.45, -60.55, 55.47)
CIE-LCHlch(69.45, 82.12, 137.51°)
OKLaboklab(71.67% -0.1647 0.1266)
OKLCHoklch(71.67% 0.208 142.5)
XYZxyz(22.1686, 39.9767, 10.5502)
Luminance0.3998 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C23A #BC3AC2
analogous
#84C23A #40C23A #3AC278
triadic
#40C23A #3A40C2 #C23A40
tetradic
#40C23A #3A84C2 #BC3AC2 #C2783A
square
#40C23A #3A84C2 #BC3AC2 #C2783A
split-complementary
#40C23A #783AC2 #C23A84
monochromatic
#21641E #30932C #40C23A #6CD267 #9AE097

Accessibility & contrast

On white

2.33
#40C23A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#40C23A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C23A
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C23A#FFFFFF#000000##000000
##40C23A1.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B025
Deuteranopia (green-blind)
#B7A647
Tritanopia (blue-blind)
#21BCA7
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #40c23a;
/* rgb */ color: rgb(64, 194, 58);
/* oklch */ color: oklch(71.7% 0.208 142.5);
Tailwind
colors: {
  custom: {
    50: '#86d678',
    500: '#40c23a',
    950: '#000000',
  },
}
SCSS
$custom: #40c23a;
$custom-light: #86d678;
$custom-dark: #000000;
JSON
{
  "hex": "#40c23a",
  "rgb": {
    "r": 64,
    "g": 194,
    "b": 58
  },
  "hsl": {
    "h": 117.353,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.71668,
    "c": 0.20776,
    "h": 142.5
  },
  "luminance": 0.39979
}

Semantic roles & 50–950 ramp

primary
#40C23A
secondary
#C98DCB
accent
#4ADDD7
background
#F8FDF7
surface
#F0FAEE
border
#CBD3C9
text
#0D1409
muted
#7D837B

Preview Lab

Preview with #40C23A

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

Preview Lab → · Contrast checker → · Palette generator →

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