#40C170#40C170

#40C170 is a light, vivid green. Relative luminance 0.404; OKLCH L 72.1% C 0.162 H 152.0°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#40C170
RGBrgb(64, 193, 112)
HSLhsl(142, 51%, 50%)
HSVhsv(142, 67%, 76%)
CMYKcmyk(66.8%, 0%, 42%, 24.3%)
CIE-LABlab(69.75, -53.12, 30.75)
CIE-LCHlch(69.75, 61.38, 149.93°)
OKLaboklab(72.11% -0.1433 0.0761)
OKLCHoklch(72.11% 0.162 152)
XYZxyz(24.1069, 40.3972, 21.8531)
Luminance0.4040 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C170 #C14091
analogous
#50C140 #40C170 #40C1B1
triadic
#40C170 #7040C1 #C17040
tetradic
#40C170 #4050C1 #C14091 #C1B140
square
#40C170 #4050C1 #C14091 #C1B140
split-complementary
#40C170 #B140C1 #C14050
monochromatic
#21663B #309455 #40C170 #6ED093 #9CDFB5

Accessibility & contrast

On white

2.31
#40C170 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#40C170 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C170
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C170#FFFFFF#000000##000000
##40C1701.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1B16A
Deuteranopia (green-blind)
#B1A675
Tritanopia (blue-blind)
#00BEAD
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #40c170;
/* rgb */ color: rgb(64, 193, 112);
/* oklch */ color: oklch(72.1% 0.162 152.0);
Tailwind
colors: {
  custom: {
    50: '#84d59a',
    500: '#40c170',
    950: '#000000',
  },
}
SCSS
$custom: #40c170;
$custom-light: #84d59a;
$custom-dark: #000000;
JSON
{
  "hex": "#40c170",
  "rgb": {
    "r": 64,
    "g": 193,
    "b": 112
  },
  "hsl": {
    "h": 142.326,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.72114,
    "c": 0.16229,
    "h": 152
  },
  "luminance": 0.404
}

Semantic roles & 50–950 ramp

primary
#40C170
secondary
#CB92B6
accent
#4DA6DA
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140E
muted
#7D837E

Preview Lab

Preview with #40C170

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

Preview Lab → · Contrast checker → · Palette generator →

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