#40C04D#40C04D

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

Color values

HEX#40C04D
RGBrgb(64, 192, 77)
HSLhsl(126, 50%, 50%)
HSVhsv(126, 67%, 75%)
CMYKcmyk(66.7%, 0%, 59.9%, 24.7%)
CIE-LABlab(68.98, -57.92, 46.96)
CIE-LCHlch(68.98, 74.56, 140.97°)
OKLaboklab(71.33% -0.1567 0.1105)
OKLCHoklch(71.33% 0.192 144.8)
XYZxyz(22.3021, 39.3228, 13.4345)
Luminance0.3932 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C04D #C040B3
analogous
#73C040 #40C04D #40C08D
triadic
#40C04D #4D40C0 #C04D40
tetradic
#40C04D #4073C0 #C040B3 #C08D40
square
#40C04D #4073C0 #C040B3 #C08D40
split-complementary
#40C04D #8D40C0 #C04073
monochromatic
#216428 #30923A #40C04D #6ECF78 #9CDEA3

Accessibility & contrast

On white

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

On black

8.86
#40C04D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C04D
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C04D#FFFFFF#000000##000000
##40C04D1.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF41
Deuteranopia (green-blind)
#B4A456
Tritanopia (blue-blind)
#1BBBA7
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #40c04d;
/* rgb */ color: rgb(64, 192, 77);
/* oklch */ color: oklch(71.3% 0.192 144.8);
Tailwind
colors: {
  custom: {
    50: '#85d482',
    500: '#40c04d',
    950: '#000000',
  },
}
SCSS
$custom: #40c04d;
$custom-light: #85d482;
$custom-dark: #000000;
JSON
{
  "hex": "#40c04d",
  "rgb": {
    "r": 64,
    "g": 192,
    "b": 77
  },
  "hsl": {
    "h": 126.094,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.71333,
    "c": 0.19176,
    "h": 144.8
  },
  "luminance": 0.39325
}

Semantic roles & 50–950 ramp

primary
#40C04D
secondary
#CB91C5
accent
#4ECCDA
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140B
muted
#7D837C

Preview Lab

Preview with #40C04D

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

Preview Lab → · Contrast checker → · Palette generator →

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