#40C146#40C146

#40C146 is a light, vivid green. Relative luminance 0.397; OKLCH L 71.5% C 0.198 H 143.8°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#40C146
RGBrgb(64, 193, 70)
HSLhsl(123, 51%, 50%)
HSVhsv(123, 67%, 76%)
CMYKcmyk(66.8%, 0%, 63.7%, 24.3%)
CIE-LABlab(69.23, -59.06, 50.34)
CIE-LCHlch(69.23, 77.60, 139.56°)
OKLaboklab(71.52% -0.1601 0.1171)
OKLCHoklch(71.52% 0.198 143.8)
XYZxyz(22.2884, 39.6698, 12.2756)
Luminance0.3967 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C146 #C140BB
analogous
#7AC140 #40C146 #40C187
triadic
#40C146 #4640C1 #C14640
tetradic
#40C146 #407AC1 #C140BB #C18740
square
#40C146 #407AC1 #C140BB #C18740
split-complementary
#40C146 #8740C1 #C1407A
monochromatic
#216624 #309435 #40C146 #6ED073 #9CDFA0

Accessibility & contrast

On white

2.35
#40C146 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#40C146 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C146
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C146#FFFFFF#000000##000000
##40C1461.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF37
Deuteranopia (green-blind)
#B5A551
Tritanopia (blue-blind)
#1DBCA7
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #40c146;
/* rgb */ color: rgb(64, 193, 70);
/* oklch */ color: oklch(71.5% 0.198 143.8);
Tailwind
colors: {
  custom: {
    50: '#85d57e',
    500: '#40c146',
    950: '#000000',
  },
}
SCSS
$custom: #40c146;
$custom-light: #85d57e;
$custom-dark: #000000;
JSON
{
  "hex": "#40c146",
  "rgb": {
    "r": 64,
    "g": 193,
    "b": 70
  },
  "hsl": {
    "h": 122.791,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.71518,
    "c": 0.19835,
    "h": 143.8
  },
  "luminance": 0.39672
}

Semantic roles & 50–950 ramp

primary
#40C146
secondary
#CB92C8
accent
#4DD4DA
background
#F8FDF7
surface
#F0FAEE
border
#CBD3C9
text
#0C140A
muted
#7D837C

Preview Lab

Preview with #40C146

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

Preview Lab → · Contrast checker → · Palette generator →

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