#40C074#40C074

#40C074 is a light, vivid green. Relative luminance 0.401; OKLCH L 71.9% C 0.157 H 153.3°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#40C074
RGBrgb(64, 192, 116)
HSLhsl(144, 50%, 50%)
HSVhsv(144, 67%, 75%)
CMYKcmyk(66.7%, 0%, 39.6%, 24.7%)
CIE-LABlab(69.50, -52.02, 28.35)
CIE-LCHlch(69.50, 59.24, 151.41°)
OKLaboklab(71.93% -0.1405 0.0706)
OKLCHoklch(71.93% 0.157 153.3)
XYZxyz(24.1143, 40.0476, 22.9787)
Luminance0.4005 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C074 #C0408C
analogous
#4CC040 #40C074 #40C0B4
triadic
#40C074 #7440C0 #C07440
tetradic
#40C074 #404CC0 #C0408C #C0B440
square
#40C074 #404CC0 #C0408C #C0B440
split-complementary
#40C074 #B440C0 #C0404C
monochromatic
#21643C #309258 #40C074 #6ECF95 #9CDEB7

Accessibility & contrast

On white

2.33
#40C074 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#40C074 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C074
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C074#FFFFFF#000000##000000
##40C0741.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40c074;
/* rgb */ color: rgb(64, 192, 116);
/* oklch */ color: oklch(71.9% 0.157 153.3);
Tailwind
colors: {
  custom: {
    50: '#84d49c',
    500: '#40c074',
    950: '#000000',
  },
}
SCSS
$custom: #40c074;
$custom-light: #84d49c;
$custom-dark: #000000;
JSON
{
  "hex": "#40c074",
  "rgb": {
    "r": 64,
    "g": 192,
    "b": 116
  },
  "hsl": {
    "h": 144.375,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.7193,
    "c": 0.15725,
    "h": 153.3
  },
  "luminance": 0.4005
}

Semantic roles & 50–950 ramp

primary
#40C074
secondary
#CB91B3
accent
#4EA1DA
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140E
muted
#7D837E

Preview Lab

Preview with #40C074

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

Preview Lab → · Contrast checker → · Palette generator →

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