#40C23B#40C23B

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

Color values

HEX#40C23B
RGBrgb(64, 194, 59)
HSLhsl(118, 53%, 50%)
HSVhsv(118, 70%, 76%)
CMYKcmyk(67%, 0%, 69.6%, 23.9%)
CIE-LABlab(69.46, -60.47, 55.09)
CIE-LCHlch(69.46, 81.80, 137.66°)
OKLaboklab(71.68% -0.1644 0.1259)
OKLCHoklch(71.68% 0.207 142.6)
XYZxyz(22.1943, 39.9870, 10.6854)
Luminance0.3999 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C23B #BD3BC2
analogous
#83C23B #40C23B #3BC27A
triadic
#40C23B #3B40C2 #C23B40
tetradic
#40C23B #3B83C2 #BD3BC2 #C27A3B
square
#40C23B #3B83C2 #BD3BC2 #C27A3B
split-complementary
#40C23B #7A3BC2 #C23B83
monochromatic
#21641E #31932D #40C23B #6DD169 #9AE098

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40C23B#FFFFFF#000000##000000
##40C23B1.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)
#C6B027
Deuteranopia (green-blind)
#B7A648
Tritanopia (blue-blind)
#21BCA7
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #40c23b;
/* rgb */ color: rgb(64, 194, 59);
/* oklch */ color: oklch(71.7% 0.207 142.6);
Tailwind
colors: {
  custom: {
    50: '#86d678',
    500: '#40c23b',
    950: '#000000',
  },
}
SCSS
$custom: #40c23b;
$custom-light: #86d678;
$custom-dark: #000000;
JSON
{
  "hex": "#40c23b",
  "rgb": {
    "r": 64,
    "g": 194,
    "b": 59
  },
  "hsl": {
    "h": 117.778,
    "s": 53.36,
    "l": 49.608
  },
  "oklch": {
    "l": 0.71676,
    "c": 0.20712,
    "h": 142.6
  },
  "luminance": 0.39989
}

Semantic roles & 50–950 ramp

primary
#40C23B
secondary
#C98ECB
accent
#4BDDD7
background
#F8FDF7
surface
#F0FAEE
border
#CBD3C9
text
#0D1409
muted
#7D837B

Preview Lab

Preview with #40C23B

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

Preview Lab → · Contrast checker → · Palette generator →

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