#40C175#40C175

#40C175 is a light, vivid green. Relative luminance 0.405; OKLCH L 72.2% C 0.158 H 153.5°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#40C175
RGBrgb(64, 193, 117)
HSLhsl(145, 51%, 50%)
HSVhsv(145, 67%, 76%)
CMYKcmyk(66.8%, 0%, 39.4%, 24.3%)
CIE-LABlab(69.83, -52.22, 28.26)
CIE-LCHlch(69.83, 59.38, 151.58°)
OKLaboklab(72.21% -0.1411 0.0704)
OKLCHoklch(72.21% 0.158 153.5)
XYZxyz(24.3931, 40.5117, 23.3602)
Luminance0.4051 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C175 #C1408C
analogous
#4BC140 #40C175 #40C1B5
triadic
#40C175 #7540C1 #C17540
tetradic
#40C175 #404BC1 #C1408C #C1B540
square
#40C175 #404BC1 #C1408C #C1B540
split-complementary
#40C175 #B540C1 #C1404B
monochromatic
#21663D #309459 #40C175 #6ED096 #9CDFB8

Accessibility & contrast

On white

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

On black

9.10
#40C175 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C175
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C175#FFFFFF#000000##000000
##40C1751.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1B270
Deuteranopia (green-blind)
#B1A67A
Tritanopia (blue-blind)
#00BFAE
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #40c175;
/* rgb */ color: rgb(64, 193, 117);
/* oklch */ color: oklch(72.2% 0.158 153.5);
Tailwind
colors: {
  custom: {
    50: '#84d59d',
    500: '#40c175',
    950: '#000000',
  },
}
SCSS
$custom: #40c175;
$custom-light: #84d59d;
$custom-dark: #000000;
JSON
{
  "hex": "#40c175",
  "rgb": {
    "r": 64,
    "g": 193,
    "b": 117
  },
  "hsl": {
    "h": 144.651,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.72207,
    "c": 0.15766,
    "h": 153.5
  },
  "luminance": 0.40514
}

Semantic roles & 50–950 ramp

primary
#40C175
secondary
#CB92B4
accent
#4DA0DA
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140E
muted
#7D837E

Preview Lab

Preview with #40C175

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

Preview Lab → · Contrast checker → · Palette generator →

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