#40C362#40C362

#40C362 is a light, vivid green. Relative luminance 0.410; OKLCH L 72.4% C 0.178 H 148.4°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#40C362
RGBrgb(64, 195, 98)
HSLhsl(136, 52%, 51%)
HSVhsv(136, 67%, 76%)
CMYKcmyk(67.2%, 0%, 49.7%, 23.5%)
CIE-LABlab(70.18, -56.15, 38.39)
CIE-LCHlch(70.18, 68.02, 145.64°)
OKLaboklab(72.4% -0.1514 0.0931)
OKLCHoklch(72.4% 0.178 148.4)
XYZxyz(23.8323, 40.9995, 18.2106)
Luminance0.4100 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C362 #C340A1
analogous
#5FC340 #40C362 #40C3A4
triadic
#40C362 #6240C3 #C36240
tetradic
#40C362 #405FC3 #C340A1 #C3A440
square
#40C362 #405FC3 #C340A1 #C3A440
split-complementary
#40C362 #A440C3 #C3405F
monochromatic
#216833 #2F974A #40C362 #6FD288 #9DE0AF

Accessibility & contrast

On white

2.28
#40C362 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.20
#40C362 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C362
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C362#FFFFFF#000000##000000
##40C3621.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B25A
Deuteranopia (green-blind)
#B5A769
Tritanopia (blue-blind)
#02BFAC
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #40c362;
/* rgb */ color: rgb(64, 195, 98);
/* oklch */ color: oklch(72.4% 0.178 148.4);
Tailwind
colors: {
  custom: {
    50: '#84d690',
    500: '#40c362',
    950: '#000000',
  },
}
SCSS
$custom: #40c362;
$custom-light: #84d690;
$custom-dark: #000000;
JSON
{
  "hex": "#40c362",
  "rgb": {
    "r": 64,
    "g": 195,
    "b": 98
  },
  "hsl": {
    "h": 135.573,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.72397,
    "c": 0.1777,
    "h": 148.4
  },
  "luminance": 0.41002
}

Semantic roles & 50–950 ramp

primary
#40C362
secondary
#CC92BD
accent
#4CB6DC
background
#F8FDF9
surface
#F0FAF1
border
#CBD3CB
text
#0C140D
muted
#7D837E

Preview Lab

Preview with #40C362

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

Preview Lab → · Contrast checker → · Palette generator →

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