#40A048#40A048

#40A048 is a light, vivid green. Relative luminance 0.267; OKLCH L 62.8% C 0.155 H 144.9°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#40A048
RGBrgb(64, 160, 72)
HSLhsl(125, 43%, 44%)
HSVhsv(125, 60%, 63%)
CMYKcmyk(60%, 0%, 55%, 37.3%)
CIE-LABlab(58.69, -46.72, 37.22)
CIE-LCHlch(58.69, 59.74, 141.46°)
OKLaboklab(62.82% -0.1266 0.089)
OKLCHoklch(62.82% 0.155 144.9)
XYZxyz(15.8539, 26.6980, 10.4474)
Luminance0.2670 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A048 #A04098
analogous
#68A040 #40A048 #40A078
triadic
#40A048 #4840A0 #A04840
tetradic
#40A048 #4068A0 #A04098 #A07840
square
#40A048 #4068A0 #A04098 #A07840
split-complementary
#40A048 #7840A0 #A04068
monochromatic
#1D4921 #2F7434 #40A048 #5EBF66 #8AD090

Accessibility & contrast

On white

3.31
#40A048 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#40A048 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A048
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A048#FFFFFF#000000##000000
##40A0481.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39240
Deuteranopia (green-blind)
#968A4F
Tritanopia (blue-blind)
#2D9C8C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #40a048;
/* rgb */ color: rgb(64, 160, 72);
/* oklch */ color: oklch(62.8% 0.155 144.9);
Tailwind
colors: {
  custom: {
    50: '#7fbd7d',
    500: '#40a048',
    950: '#000000',
  },
}
SCSS
$custom: #40a048;
$custom-light: #7fbd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#40a048",
  "rgb": {
    "r": 64,
    "g": 160,
    "b": 72
  },
  "hsl": {
    "h": 125,
    "s": 42.857,
    "l": 43.922
  },
  "oklch": {
    "l": 0.62819,
    "c": 0.15474,
    "h": 144.9
  },
  "luminance": 0.26699
}

Semantic roles & 50–950 ramp

primary
#40A048
secondary
#BB81B6
accent
#55C8D3
background
#F8FBF7
surface
#EFF7EE
border
#CAD0C9
text
#0B120A
muted
#7C817C

Preview Lab

Preview with #40A048

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

Preview Lab → · Contrast checker → · Palette generator →

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