#40C05D#40C05D

#40C05D is a light, vivid green. Relative luminance 0.396; OKLCH L 71.5% C 0.178 H 147.6°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#40C05D
RGBrgb(64, 192, 93)
HSLhsl(134, 50%, 50%)
HSVhsv(134, 67%, 75%)
CMYKcmyk(66.7%, 0%, 51.6%, 24.7%)
CIE-LABlab(69.17, -55.80, 39.60)
CIE-LCHlch(69.17, 68.43, 144.64°)
OKLaboklab(71.54% -0.1505 0.0956)
OKLCHoklch(71.54% 0.178 147.6)
XYZxyz(22.9381, 39.5772, 16.7841)
Luminance0.3958 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C05D #C040A3
analogous
#63C040 #40C05D #40C09D
triadic
#40C05D #5D40C0 #C05D40
tetradic
#40C05D #4063C0 #C040A3 #C09D40
square
#40C05D #4063C0 #C040A3 #C09D40
split-complementary
#40C05D #9D40C0 #C04063
monochromatic
#216430 #309247 #40C05D #6ECF84 #9CDEAB

Accessibility & contrast

On white

2.36
#40C05D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#40C05D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C05D
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C05D#FFFFFF#000000##000000
##40C05D1.002.368.928.92
#FFFFFF2.361.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AF54
Deuteranopia (green-blind)
#B2A564
Tritanopia (blue-blind)
#0EBCA9
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #40c05d;
/* rgb */ color: rgb(64, 192, 93);
/* oklch */ color: oklch(71.5% 0.178 147.6);
Tailwind
colors: {
  custom: {
    50: '#84d48d',
    500: '#40c05d',
    950: '#000000',
  },
}
SCSS
$custom: #40c05d;
$custom-light: #84d48d;
$custom-dark: #000000;
JSON
{
  "hex": "#40c05d",
  "rgb": {
    "r": 64,
    "g": 192,
    "b": 93
  },
  "hsl": {
    "h": 133.594,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.71544,
    "c": 0.17827,
    "h": 147.6
  },
  "luminance": 0.3958
}

Semantic roles & 50–950 ramp

primary
#40C05D
secondary
#CB91BE
accent
#4EBADA
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140C
muted
#7D837D

Preview Lab

Preview with #40C05D

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

Preview Lab → · Contrast checker → · Palette generator →

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