#40C457#40C457

#40C457 is a light, vivid green. Relative luminance 0.413; OKLCH L 72.5% C 0.189 H 146.3°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#40C457
RGBrgb(64, 196, 87)
HSLhsl(130, 53%, 51%)
HSVhsv(130, 67%, 77%)
CMYKcmyk(67.3%, 0%, 55.6%, 23.1%)
CIE-LABlab(70.35, -58.07, 43.93)
CIE-LCHlch(70.35, 72.82, 142.89°)
OKLaboklab(72.5% -0.1568 0.1048)
OKLCHoklch(72.5% 0.189 146.3)
XYZxyz(23.5730, 41.2555, 15.7358)
Luminance0.4126 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C457 #C440AD
analogous
#6BC440 #40C457 #40C499
triadic
#40C457 #5740C4 #C45740
tetradic
#40C457 #406BC4 #C440AD #C49940
square
#40C457 #406BC4 #C440AD #C49940
split-complementary
#40C457 #9940C4 #C4406B
monochromatic
#20692D #2F9841 #40C457 #6FD280 #9EE1A9

Accessibility & contrast

On white

2.27
#40C457 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.25
#40C457 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C457
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C457#FFFFFF#000000##000000
##40C4571.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B34D
Deuteranopia (green-blind)
#B7A85F
Tritanopia (blue-blind)
#0FBFAC
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #40c457;
/* rgb */ color: rgb(64, 196, 87);
/* oklch */ color: oklch(72.5% 0.189 146.3);
Tailwind
colors: {
  custom: {
    50: '#85d789',
    500: '#40c457',
    950: '#000000',
  },
}
SCSS
$custom: #40c457;
$custom-light: #85d789;
$custom-dark: #000000;
JSON
{
  "hex": "#40c457",
  "rgb": {
    "r": 64,
    "g": 196,
    "b": 87
  },
  "hsl": {
    "h": 130.455,
    "s": 52.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.72501,
    "c": 0.18855,
    "h": 146.3
  },
  "luminance": 0.41258
}

Semantic roles & 50–950 ramp

primary
#40C457
secondary
#CD93C3
accent
#4CC3DC
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140C
muted
#7D837D

Preview Lab

Preview with #40C457

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

Preview Lab → · Contrast checker → · Palette generator →

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