#40C458#40C458

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

Color values

HEX#40C458
RGBrgb(64, 196, 88)
HSLhsl(131, 53%, 51%)
HSVhsv(131, 67%, 77%)
CMYKcmyk(67.3%, 0%, 55.1%, 23.1%)
CIE-LABlab(70.37, -57.94, 43.47)
CIE-LCHlch(70.37, 72.44, 143.12°)
OKLaboklab(72.51% -0.1564 0.1038)
OKLCHoklch(72.51% 0.188 146.4)
XYZxyz(23.6141, 41.2719, 15.9524)
Luminance0.4127 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C458 #C440AC
analogous
#6AC440 #40C458 #40C49A
triadic
#40C458 #5840C4 #C45840
tetradic
#40C458 #406AC4 #C440AC #C49A40
square
#40C458 #406AC4 #C440AC #C49A40
split-complementary
#40C458 #9A40C4 #C4406A
monochromatic
#20692E #2F9842 #40C458 #6FD281 #9EE1AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40C458#FFFFFF#000000##000000
##40C4581.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)
#C7B34E
Deuteranopia (green-blind)
#B7A860
Tritanopia (blue-blind)
#0EC0AC
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #40c458;
/* rgb */ color: rgb(64, 196, 88);
/* oklch */ color: oklch(72.5% 0.188 146.4);
Tailwind
colors: {
  custom: {
    50: '#85d78a',
    500: '#40c458',
    950: '#000000',
  },
}
SCSS
$custom: #40c458;
$custom-light: #85d78a;
$custom-dark: #000000;
JSON
{
  "hex": "#40c458",
  "rgb": {
    "r": 64,
    "g": 196,
    "b": 88
  },
  "hsl": {
    "h": 130.909,
    "s": 52.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.72514,
    "c": 0.1877,
    "h": 146.4
  },
  "luminance": 0.41274
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40C458

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

Preview Lab → · Contrast checker → · Palette generator →

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