#40A657#40A657

#40A657 is a light, vivid green. Relative luminance 0.291; OKLCH L 64.6% C 0.149 H 148.1°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#40A657
RGBrgb(64, 166, 87)
HSLhsl(134, 44%, 45%)
HSVhsv(134, 61%, 65%)
CMYKcmyk(61.4%, 0%, 47.6%, 34.9%)
CIE-LABlab(60.82, -46.86, 32.23)
CIE-LCHlch(60.82, 56.87, 145.47°)
OKLaboklab(64.64% -0.1266 0.0787)
OKLCHoklch(64.64% 0.149 148.1)
XYZxyz(17.4697, 29.0489, 13.7013)
Luminance0.2905 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A657 #A6408F
analogous
#5CA640 #40A657 #40A68A
triadic
#40A657 #5740A6 #A65740
tetradic
#40A657 #405CA6 #A6408F #A68A40
square
#40A657 #405CA6 #A6408F #A68A40
split-complementary
#40A657 #8A40A6 #A6405C
monochromatic
#1E4E29 #2F7A40 #40A657 #61C277 #8DD39D

Accessibility & contrast

On white

3.08
#40A657 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#40A657 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A657
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A657#FFFFFF#000000##000000
##40A6571.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89851
Deuteranopia (green-blind)
#9A8F5C
Tritanopia (blue-blind)
#24A393
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #40a657;
/* rgb */ color: rgb(64, 166, 87);
/* oklch */ color: oklch(64.6% 0.149 148.1);
Tailwind
colors: {
  custom: {
    50: '#7fc188',
    500: '#40a657',
    950: '#000000',
  },
}
SCSS
$custom: #40a657;
$custom-light: #7fc188;
$custom-dark: #000000;
JSON
{
  "hex": "#40a657",
  "rgb": {
    "r": 64,
    "g": 166,
    "b": 87
  },
  "hsl": {
    "h": 133.529,
    "s": 44.348,
    "l": 45.098
  },
  "oklch": {
    "l": 0.64639,
    "c": 0.14906,
    "h": 148.1
  },
  "luminance": 0.29051
}

Semantic roles & 50–950 ramp

primary
#40A657
secondary
#BE84B1
accent
#54B7D4
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B120B
muted
#7C817C

Preview Lab

Preview with #40A657

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

Preview Lab → · Contrast checker → · Palette generator →

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