#40A458#40A458

#40A458 is a light, vivid green. Relative luminance 0.283; OKLCH L 64.1% C 0.145 H 148.6°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#40A458
RGBrgb(64, 164, 88)
HSLhsl(134, 44%, 45%)
HSVhsv(134, 61%, 64%)
CMYKcmyk(61%, 0%, 46.3%, 35.7%)
CIE-LABlab(60.20, -45.90, 30.92)
CIE-LCHlch(60.20, 55.34, 146.04°)
OKLaboklab(64.13% -0.124 0.0757)
OKLCHoklch(64.13% 0.145 148.6)
XYZxyz(17.1501, 28.3438, 13.7977)
Luminance0.2834 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A458 #A4408C
analogous
#5AA440 #40A458 #40A48A
triadic
#40A458 #5840A4 #A45840
tetradic
#40A458 #405AA4 #A4408C #A48A40
square
#40A458 #405AA4 #A4408C #A48A40
split-complementary
#40A458 #8A40A4 #A4405A
monochromatic
#1E4C29 #2F7840 #40A458 #60C177 #8CD29D

Accessibility & contrast

On white

3.15
#40A458 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#40A458 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A458
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A458#FFFFFF#000000##000000
##40A4581.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59752
Deuteranopia (green-blind)
#988E5D
Tritanopia (blue-blind)
#25A192
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #40a458;
/* rgb */ color: rgb(64, 164, 88);
/* oklch */ color: oklch(64.1% 0.145 148.6);
Tailwind
colors: {
  custom: {
    50: '#7fc088',
    500: '#40a458',
    950: '#000000',
  },
}
SCSS
$custom: #40a458;
$custom-light: #7fc088;
$custom-dark: #000000;
JSON
{
  "hex": "#40a458",
  "rgb": {
    "r": 64,
    "g": 164,
    "b": 88
  },
  "hsl": {
    "h": 134.4,
    "s": 43.86,
    "l": 44.706
  },
  "oklch": {
    "l": 0.64128,
    "c": 0.14533,
    "h": 148.6
  },
  "luminance": 0.28345
}

Semantic roles & 50–950 ramp

primary
#40A458
secondary
#BD83AF
accent
#54B5D4
background
#F8FBF8
surface
#EFF7F0
border
#CAD0CB
text
#0B120B
muted
#7C817C

Preview Lab

Preview with #40A458

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

Preview Lab → · Contrast checker → · Palette generator →

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