#40C348#40C348

#40C348 is a light, vivid green. Relative luminance 0.406; OKLCH L 72.1% C 0.199 H 144.0°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#40C348
RGBrgb(64, 195, 72)
HSLhsl(124, 52%, 51%)
HSVhsv(124, 67%, 76%)
CMYKcmyk(67.2%, 0%, 63.1%, 23.5%)
CIE-LABlab(69.88, -59.53, 50.20)
CIE-LCHlch(69.88, 77.87, 139.86°)
OKLaboklab(72.06% -0.1613 0.117)
OKLCHoklch(72.06% 0.199 144)
XYZxyz(22.7977, 40.5857, 12.7620)
Luminance0.4059 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C348 #C340BB
analogous
#79C340 #40C348 #40C389
triadic
#40C348 #4840C3 #C34840
tetradic
#40C348 #4079C3 #C340BB #C38940
square
#40C348 #4079C3 #C340BB #C38940
split-complementary
#40C348 #8940C3 #C34079
monochromatic
#216825 #2F9736 #40C348 #6FD275 #9DE0A1

Accessibility & contrast

On white

2.30
#40C348 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.12
#40C348 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C348
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C348#FFFFFF#000000##000000
##40C3481.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B13A
Deuteranopia (green-blind)
#B7A753
Tritanopia (blue-blind)
#1BBEA9
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #40c348;
/* rgb */ color: rgb(64, 195, 72);
/* oklch */ color: oklch(72.1% 0.199 144.0);
Tailwind
colors: {
  custom: {
    50: '#85d680',
    500: '#40c348',
    950: '#000000',
  },
}
SCSS
$custom: #40c348;
$custom-light: #85d680;
$custom-dark: #000000;
JSON
{
  "hex": "#40c348",
  "rgb": {
    "r": 64,
    "g": 195,
    "b": 72
  },
  "hsl": {
    "h": 123.664,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.72062,
    "c": 0.19926,
    "h": 144
  },
  "luminance": 0.40588
}

Semantic roles & 50–950 ramp

primary
#40C348
secondary
#CC92C9
accent
#4CD3DC
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140A
muted
#7D837C

Preview Lab

Preview with #40C348

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

Preview Lab → · Contrast checker → · Palette generator →

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