#40A148#40A148

#40A148 is a light, vivid green. Relative luminance 0.270; OKLCH L 63.1% C 0.156 H 144.9°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#40A148
RGBrgb(64, 161, 72)
HSLhsl(125, 43%, 44%)
HSVhsv(125, 60%, 63%)
CMYKcmyk(60.2%, 0%, 55.3%, 36.9%)
CIE-LABlab(59.02, -47.11, 37.61)
CIE-LCHlch(59.02, 60.28, 141.40°)
OKLaboklab(63.09% -0.1277 0.0898)
OKLCHoklch(63.09% 0.156 144.9)
XYZxyz(16.0280, 27.0461, 10.5054)
Luminance0.2705 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A148 #A14099
analogous
#69A140 #40A148 #40A179
triadic
#40A148 #4840A1 #A14840
tetradic
#40A148 #4069A1 #A14099 #A17940
square
#40A148 #4069A1 #A14099 #A17940
split-complementary
#40A148 #7940A1 #A14069
monochromatic
#1D4921 #2F7534 #40A148 #5FBF67 #8BD190

Accessibility & contrast

On white

3.28
#40A148 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#40A148 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A148
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A148#FFFFFF#000000##000000
##40A1481.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49340
Deuteranopia (green-blind)
#978B4F
Tritanopia (blue-blind)
#2C9D8D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #40a148;
/* rgb */ color: rgb(64, 161, 72);
/* oklch */ color: oklch(63.1% 0.156 144.9);
Tailwind
colors: {
  custom: {
    50: '#7fbe7d',
    500: '#40a148',
    950: '#000000',
  },
}
SCSS
$custom: #40a148;
$custom-light: #7fbe7d;
$custom-dark: #000000;
JSON
{
  "hex": "#40a148",
  "rgb": {
    "r": 64,
    "g": 161,
    "b": 72
  },
  "hsl": {
    "h": 124.948,
    "s": 43.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.63086,
    "c": 0.1561,
    "h": 144.9
  },
  "luminance": 0.27048
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40A148

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

Preview Lab → · Contrast checker → · Palette generator →

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