#40C670#40C670

#40C670 is a light, vivid green. Relative luminance 0.426; OKLCH L 73.4% C 0.169 H 151.4°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#40C670
RGBrgb(64, 198, 112)
HSLhsl(141, 54%, 51%)
HSVhsv(141, 68%, 78%)
CMYKcmyk(67.7%, 0%, 43.4%, 22.4%)
CIE-LABlab(71.31, -55.01, 32.78)
CIE-LCHlch(71.31, 64.03, 149.21°)
OKLaboklab(73.4% -0.1483 0.0808)
OKLCHoklch(73.4% 0.169 151.4)
XYZxyz(25.2310, 42.6453, 22.2278)
Luminance0.4265 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C670 #C64096
analogous
#53C640 #40C670 #40C6B3
triadic
#40C670 #7040C6 #C67040
tetradic
#40C670 #4053C6 #C64096 #C6B340
square
#40C670 #4053C6 #C64096 #C6B340
split-complementary
#40C670 #B340C6 #C64053
monochromatic
#206C3B #2E9B55 #40C670 #6FD493 #9EE2B7

Accessibility & contrast

On white

2.20
#40C670 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#40C670 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C670
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C670#FFFFFF#000000##000000
##40C6701.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B66A
Deuteranopia (green-blind)
#B6AA76
Tritanopia (blue-blind)
#00C3B1
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #40c670;
/* rgb */ color: rgb(64, 198, 112);
/* oklch */ color: oklch(73.4% 0.169 151.4);
Tailwind
colors: {
  custom: {
    50: '#85d89a',
    500: '#40c670',
    950: '#000000',
  },
}
SCSS
$custom: #40c670;
$custom-light: #85d89a;
$custom-dark: #000000;
JSON
{
  "hex": "#40c670",
  "rgb": {
    "r": 64,
    "g": 198,
    "b": 112
  },
  "hsl": {
    "h": 141.493,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.73401,
    "c": 0.16891,
    "h": 151.4
  },
  "luminance": 0.42648
}

Semantic roles & 50–950 ramp

primary
#40C670
secondary
#CE93B9
accent
#4AA9DD
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C150E
muted
#7D837E

Preview Lab

Preview with #40C670

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

Preview Lab → · Contrast checker → · Palette generator →

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