#40A15F#40A15F

#40A15F is a light, vivid green. Relative luminance 0.274; OKLCH L 63.5% C 0.134 H 151.2°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#40A15F
RGBrgb(64, 161, 95)
HSLhsl(139, 43%, 44%)
HSVhsv(139, 60%, 63%)
CMYKcmyk(60.2%, 0%, 41%, 36.9%)
CIE-LABlab(59.35, -43.48, 26.11)
CIE-LCHlch(59.35, 50.72, 149.02°)
OKLaboklab(63.46% -0.1176 0.0648)
OKLCHoklch(63.46% 0.134 151.2)
XYZxyz(16.9235, 27.4043, 15.2220)
Luminance0.2741 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A15F #A14082
analogous
#52A140 #40A15F #40A190
triadic
#40A15F #5F40A1 #A15F40
tetradic
#40A15F #4052A1 #A14082 #A19040
square
#40A15F #4052A1 #A14082 #A19040
split-complementary
#40A15F #9040A1 #A14052
monochromatic
#1D492B #2F7545 #40A15F #5FBF7E #8BD1A1

Accessibility & contrast

On white

3.24
#40A15F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#40A15F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A15F
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A15F#FFFFFF#000000##000000
##40A15F1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2945A
Deuteranopia (green-blind)
#958B63
Tritanopia (blue-blind)
#239F91
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #40a15f;
/* rgb */ color: rgb(64, 161, 95);
/* oklch */ color: oklch(63.5% 0.134 151.2);
Tailwind
colors: {
  custom: {
    50: '#7ebd8d',
    500: '#40a15f',
    950: '#000000',
  },
}
SCSS
$custom: #40a15f;
$custom-light: #7ebd8d;
$custom-dark: #000000;
JSON
{
  "hex": "#40a15f",
  "rgb": {
    "r": 64,
    "g": 161,
    "b": 95
  },
  "hsl": {
    "h": 139.175,
    "s": 43.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.63464,
    "c": 0.1343,
    "h": 151.2
  },
  "luminance": 0.27406
}

Semantic roles & 50–950 ramp

primary
#40A15F
secondary
#BC81A9
accent
#55ABD3
background
#F8FBF8
surface
#EFF7F0
border
#CAD0CB
text
#0B120C
muted
#7C817D

Preview Lab

Preview with #40A15F

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

Preview Lab → · Contrast checker → · Palette generator →

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