#40C07D#40C07D

#40C07D is a light, vivid green. Relative luminance 0.403; OKLCH L 72.1% C 0.149 H 156.3°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#40C07D
RGBrgb(64, 192, 125)
HSLhsl(149, 50%, 50%)
HSVhsv(149, 67%, 75%)
CMYKcmyk(66.7%, 0%, 34.9%, 24.7%)
CIE-LABlab(69.66, -50.31, 23.82)
CIE-LCHlch(69.66, 55.66, 154.67°)
OKLaboklab(72.11% -0.1364 0.0599)
OKLCHoklch(72.11% 0.149 156.3)
XYZxyz(24.6634, 40.2673, 25.8706)
Luminance0.4027 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C07D #C04083
analogous
#43C040 #40C07D #40C0BD
triadic
#40C07D #7D40C0 #C07D40
tetradic
#40C07D #4043C0 #C04083 #C0BD40
square
#40C07D #4043C0 #C04083 #C0BD40
split-complementary
#40C07D #BD40C0 #C04043
monochromatic
#216441 #30925F #40C07D #6ECF9C #9CDEBC

Accessibility & contrast

On white

2.32
#40C07D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#40C07D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C07D
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C07D#FFFFFF#000000##000000
##40C07D1.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFB179
Deuteranopia (green-blind)
#AEA581
Tritanopia (blue-blind)
#00BEAF
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #40c07d;
/* rgb */ color: rgb(64, 192, 125);
/* oklch */ color: oklch(72.1% 0.149 156.3);
Tailwind
colors: {
  custom: {
    50: '#84d4a3',
    500: '#40c07d',
    950: '#000000',
  },
}
SCSS
$custom: #40c07d;
$custom-light: #84d4a3;
$custom-dark: #000000;
JSON
{
  "hex": "#40c07d",
  "rgb": {
    "r": 64,
    "g": 192,
    "b": 125
  },
  "hsl": {
    "h": 148.594,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.7211,
    "c": 0.14896,
    "h": 156.3
  },
  "luminance": 0.4027
}

Semantic roles & 50–950 ramp

primary
#40C07D
secondary
#CB91AF
accent
#4E97DA
background
#F8FDFA
surface
#F0FAF3
border
#CBD3CD
text
#0C140F
muted
#7D837F

Preview Lab

Preview with #40C07D

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

Preview Lab → · Contrast checker → · Palette generator →

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