#40C048#40C048

#40C048 is a light, vivid green. Relative luminance 0.393; OKLCH L 71.3% C 0.196 H 144.1°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#40C048
RGBrgb(64, 192, 72)
HSLhsl(124, 50%, 50%)
HSVhsv(124, 67%, 75%)
CMYKcmyk(66.7%, 0%, 62.5%, 24.7%)
CIE-LABlab(68.94, -58.49, 49.13)
CIE-LCHlch(68.94, 76.39, 139.97°)
OKLaboklab(71.28% -0.1585 0.1148)
OKLCHoklch(71.28% 0.196 144.1)
XYZxyz(22.1323, 39.2548, 12.5402)
Luminance0.3926 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C048 #C040B8
analogous
#78C040 #40C048 #40C088
triadic
#40C048 #4840C0 #C04840
tetradic
#40C048 #4078C0 #C040B8 #C08840
square
#40C048 #4078C0 #C040B8 #C08840
split-complementary
#40C048 #8840C0 #C04078
monochromatic
#216425 #309236 #40C048 #6ECF74 #9CDEA0

Accessibility & contrast

On white

2.37
#40C048 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#40C048 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C048
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C048#FFFFFF#000000##000000
##40C0481.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF3A
Deuteranopia (green-blind)
#B4A452
Tritanopia (blue-blind)
#1DBBA7
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #40c048;
/* rgb */ color: rgb(64, 192, 72);
/* oklch */ color: oklch(71.3% 0.196 144.1);
Tailwind
colors: {
  custom: {
    50: '#85d47f',
    500: '#40c048',
    950: '#000000',
  },
}
SCSS
$custom: #40c048;
$custom-light: #85d47f;
$custom-dark: #000000;
JSON
{
  "hex": "#40c048",
  "rgb": {
    "r": 64,
    "g": 192,
    "b": 72
  },
  "hsl": {
    "h": 123.75,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.71277,
    "c": 0.19565,
    "h": 144.1
  },
  "luminance": 0.39257
}

Semantic roles & 50–950 ramp

primary
#40C048
secondary
#CB91C7
accent
#4ED1DA
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140A
muted
#7D837C

Preview Lab

Preview with #40C048

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

Preview Lab → · Contrast checker → · Palette generator →

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