#40C167#40C167

#40C167 is a light, vivid green. Relative luminance 0.402; OKLCH L 72.0% C 0.171 H 149.7°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#40C167
RGBrgb(64, 193, 103)
HSLhsl(138, 51%, 50%)
HSVhsv(138, 67%, 76%)
CMYKcmyk(66.8%, 0%, 46.6%, 24.3%)
CIE-LABlab(69.62, -54.64, 35.18)
CIE-LCHlch(69.62, 64.98, 147.22°)
OKLaboklab(71.96% -0.1473 0.0861)
OKLCHoklch(71.96% 0.171 149.7)
XYZxyz(23.6307, 40.2067, 19.3446)
Luminance0.4021 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C167 #C1409A
analogous
#59C140 #40C167 #40C1A8
triadic
#40C167 #6740C1 #C16740
tetradic
#40C167 #4059C1 #C1409A #C1A840
square
#40C167 #4059C1 #C1409A #C1A840
split-complementary
#40C167 #A840C1 #C14059
monochromatic
#216636 #30944E #40C167 #6ED08C #9CDFB1

Accessibility & contrast

On white

2.32
#40C167 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#40C167 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C167
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C167#FFFFFF#000000##000000
##40C1671.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2B160
Deuteranopia (green-blind)
#B2A66D
Tritanopia (blue-blind)
#00BEAC
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #40c167;
/* rgb */ color: rgb(64, 193, 103);
/* oklch */ color: oklch(72.0% 0.171 149.7);
Tailwind
colors: {
  custom: {
    50: '#84d594',
    500: '#40c167',
    950: '#000000',
  },
}
SCSS
$custom: #40c167;
$custom-light: #84d594;
$custom-dark: #000000;
JSON
{
  "hex": "#40c167",
  "rgb": {
    "r": 64,
    "g": 193,
    "b": 103
  },
  "hsl": {
    "h": 138.14,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.71958,
    "c": 0.17058,
    "h": 149.7
  },
  "luminance": 0.40209
}

Semantic roles & 50–950 ramp

primary
#40C167
secondary
#CB92BA
accent
#4DB0DA
background
#F8FDF9
surface
#F0FAF1
border
#CBD3CB
text
#0C140D
muted
#7D837E

Preview Lab

Preview with #40C167

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

Preview Lab → · Contrast checker → · Palette generator →

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