#40C05F#40C05F

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

Color values

HEX#40C05F
RGBrgb(64, 192, 95)
HSLhsl(135, 50%, 50%)
HSVhsv(135, 67%, 75%)
CMYKcmyk(66.7%, 0%, 50.5%, 24.7%)
CIE-LABlab(69.19, -55.51, 38.65)
CIE-LCHlch(69.19, 67.64, 145.15°)
OKLaboklab(71.57% -0.1497 0.0935)
OKLCHoklch(71.57% 0.177 148)
XYZxyz(23.0279, 39.6131, 17.2568)
Luminance0.3962 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C05F #C040A1
analogous
#61C040 #40C05F #40C09F
triadic
#40C05F #5F40C0 #C05F40
tetradic
#40C05F #4061C0 #C040A1 #C09F40
square
#40C05F #4061C0 #C040A1 #C09F40
split-complementary
#40C05F #9F40C0 #C04061
monochromatic
#216431 #309248 #40C05F #6ECF86 #9CDEAC

Accessibility & contrast

On white

2.35
#40C05F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##40C05F#FFFFFF#000000##000000
##40C05F1.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2B057
Deuteranopia (green-blind)
#B2A566
Tritanopia (blue-blind)
#0BBCAA
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #40c05f;
/* rgb */ color: rgb(64, 192, 95);
/* oklch */ color: oklch(71.6% 0.176 148.0);
Tailwind
colors: {
  custom: {
    50: '#84d48e',
    500: '#40c05f',
    950: '#000000',
  },
}
SCSS
$custom: #40c05f;
$custom-light: #84d48e;
$custom-dark: #000000;
JSON
{
  "hex": "#40c05f",
  "rgb": {
    "r": 64,
    "g": 192,
    "b": 95
  },
  "hsl": {
    "h": 134.531,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.71573,
    "c": 0.1765,
    "h": 148
  },
  "luminance": 0.39615
}

Semantic roles & 50–950 ramp

primary
#40C05F
secondary
#CB91BD
accent
#4EB8DA
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140C
muted
#7D837D

Preview Lab

Preview with #40C05F

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

Preview Lab → · Contrast checker → · Palette generator →

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