#40C067#40C067

#40C067 is a light, vivid green. Relative luminance 0.398; OKLCH L 71.7% C 0.169 H 149.8°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#40C067
RGBrgb(64, 192, 103)
HSLhsl(138, 50%, 50%)
HSVhsv(138, 67%, 75%)
CMYKcmyk(66.7%, 0%, 46.4%, 24.7%)
CIE-LABlab(69.30, -54.26, 34.78)
CIE-LCHlch(69.30, 64.45, 147.34°)
OKLaboklab(71.7% -0.1463 0.0851)
OKLCHoklch(71.7% 0.169 149.8)
XYZxyz(23.4104, 39.7661, 19.2712)
Luminance0.3977 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C067 #C04099
analogous
#59C040 #40C067 #40C0A7
triadic
#40C067 #6740C0 #C06740
tetradic
#40C067 #4059C0 #C04099 #C0A740
square
#40C067 #4059C0 #C04099 #C0A740
split-complementary
#40C067 #A740C0 #C04059
monochromatic
#216436 #30924E #40C067 #6ECF8C #9CDEB0

Accessibility & contrast

On white

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

On black

8.95
#40C067 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C067
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C067#FFFFFF#000000##000000
##40C0671.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1B060
Deuteranopia (green-blind)
#B1A56D
Tritanopia (blue-blind)
#00BDAB
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #40c067;
/* rgb */ color: rgb(64, 192, 103);
/* oklch */ color: oklch(71.7% 0.169 149.8);
Tailwind
colors: {
  custom: {
    50: '#84d494',
    500: '#40c067',
    950: '#000000',
  },
}
SCSS
$custom: #40c067;
$custom-light: #84d494;
$custom-dark: #000000;
JSON
{
  "hex": "#40c067",
  "rgb": {
    "r": 64,
    "g": 192,
    "b": 103
  },
  "hsl": {
    "h": 138.281,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.71699,
    "c": 0.16926,
    "h": 149.8
  },
  "luminance": 0.39769
}

Semantic roles & 50–950 ramp

primary
#40C067
secondary
#CB91B9
accent
#4EAFDA
background
#F8FDF9
surface
#F0FAF1
border
#CBD3CB
text
#0C140D
muted
#7D837E

Preview Lab

Preview with #40C067

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

Preview Lab → · Contrast checker → · Palette generator →

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