#40C068#40C068

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

Color values

HEX#40C068
RGBrgb(64, 192, 104)
HSLhsl(139, 50%, 50%)
HSVhsv(139, 67%, 75%)
CMYKcmyk(66.7%, 0%, 45.8%, 24.7%)
CIE-LABlab(69.32, -54.10, 34.29)
CIE-LCHlch(69.32, 64.05, 147.63°)
OKLaboklab(71.72% -0.1458 0.0841)
OKLCHoklch(71.72% 0.168 150)
XYZxyz(23.4608, 39.7862, 19.5371)
Luminance0.3979 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C068 #C04098
analogous
#58C040 #40C068 #40C0A8
triadic
#40C068 #6840C0 #C06840
tetradic
#40C068 #4058C0 #C04098 #C0A840
square
#40C068 #4058C0 #C04098 #C0A840
split-complementary
#40C068 #A840C0 #C04058
monochromatic
#216436 #30924F #40C068 #6ECF8C #9CDEB1

Accessibility & contrast

On white

2.34
#40C068 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#40C068 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C068
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C068#FFFFFF#000000##000000
##40C0681.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40c068;
/* rgb */ color: rgb(64, 192, 104);
/* oklch */ color: oklch(71.7% 0.168 150.0);
Tailwind
colors: {
  custom: {
    50: '#84d494',
    500: '#40c068',
    950: '#000000',
  },
}
SCSS
$custom: #40c068;
$custom-light: #84d494;
$custom-dark: #000000;
JSON
{
  "hex": "#40c068",
  "rgb": {
    "r": 64,
    "g": 192,
    "b": 104
  },
  "hsl": {
    "h": 138.75,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.71716,
    "c": 0.16834,
    "h": 150
  },
  "luminance": 0.39789
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40C068

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

Preview Lab → · Contrast checker → · Palette generator →

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