#40C069#40C069

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

Color values

HEX#40C069
RGBrgb(64, 192, 105)
HSLhsl(139, 50%, 50%)
HSVhsv(139, 67%, 75%)
CMYKcmyk(66.7%, 0%, 45.3%, 24.7%)
CIE-LABlab(69.33, -53.94, 33.80)
CIE-LCHlch(69.33, 63.65, 147.92°)
OKLaboklab(71.73% -0.1454 0.083)
OKLCHoklch(71.73% 0.167 150.3)
XYZxyz(23.5119, 39.8067, 19.8062)
Luminance0.3981 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C069 #C04097
analogous
#57C040 #40C069 #40C0A9
triadic
#40C069 #6940C0 #C06940
tetradic
#40C069 #4057C0 #C04097 #C0A940
square
#40C069 #4057C0 #C04097 #C0A940
split-complementary
#40C069 #A940C0 #C04057
monochromatic
#216437 #309250 #40C069 #6ECF8D #9CDEB1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40C069#FFFFFF#000000##000000
##40C0691.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)
#C1B062
Deuteranopia (green-blind)
#B1A56F
Tritanopia (blue-blind)
#00BDAB
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #40c069;
/* rgb */ color: rgb(64, 192, 105);
/* oklch */ color: oklch(71.7% 0.167 150.3);
Tailwind
colors: {
  custom: {
    50: '#84d495',
    500: '#40c069',
    950: '#000000',
  },
}
SCSS
$custom: #40c069;
$custom-light: #84d495;
$custom-dark: #000000;
JSON
{
  "hex": "#40c069",
  "rgb": {
    "r": 64,
    "g": 192,
    "b": 105
  },
  "hsl": {
    "h": 139.219,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.71733,
    "c": 0.16742,
    "h": 150.3
  },
  "luminance": 0.39809
}

Semantic roles & 50–950 ramp

primary
#40C069
secondary
#CB91B8
accent
#4EADDA
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140D
muted
#7D837E

Preview Lab

Preview with #40C069

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

Preview Lab → · Contrast checker → · Palette generator →

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