#40AA48#40AA48

#40AA48 is a light, vivid green. Relative luminance 0.303; OKLCH L 65.5% C 0.168 H 144.6°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#40AA48
RGBrgb(64, 170, 72)
HSLhsl(125, 45%, 46%)
HSVhsv(125, 62%, 67%)
CMYKcmyk(62.4%, 0%, 57.6%, 33.3%)
CIE-LABlab(61.92, -50.55, 41.05)
CIE-LCHlch(61.92, 65.12, 140.92°)
OKLaboklab(65.48% -0.137 0.0974)
OKLCHoklch(65.48% 0.168 144.6)
XYZxyz(17.6577, 30.3056, 11.0487)
Luminance0.3031 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AA48 #AA40A2
analogous
#6DAA40 #40AA48 #40AA7D
triadic
#40AA48 #4840AA #AA4840
tetradic
#40AA48 #406DAA #AA40A2 #AA7D40
square
#40AA48 #406DAA #AA40A2 #AA7D40
split-complementary
#40AA48 #7D40AA #AA406D
monochromatic
#1F5122 #2F7E35 #40AA48 #63C46A #8FD595

Accessibility & contrast

On white

2.97
#40AA48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#40AA48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AA48
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AA48#FFFFFF#000000##000000
##40AA481.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9B3E
Deuteranopia (green-blind)
#A09250
Tritanopia (blue-blind)
#29A694
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #40aa48;
/* rgb */ color: rgb(64, 170, 72);
/* oklch */ color: oklch(65.5% 0.168 144.6);
Tailwind
colors: {
  custom: {
    50: '#81c47e',
    500: '#40aa48',
    950: '#000000',
  },
}
SCSS
$custom: #40aa48;
$custom-light: #81c47e;
$custom-dark: #000000;
JSON
{
  "hex": "#40aa48",
  "rgb": {
    "r": 64,
    "g": 170,
    "b": 72
  },
  "hsl": {
    "h": 124.528,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.65477,
    "c": 0.16804,
    "h": 144.6
  },
  "luminance": 0.30307
}

Semantic roles & 50–950 ramp

primary
#40AA48
secondary
#C086BC
accent
#53CBD5
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #40AA48

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

Preview Lab → · Contrast checker → · Palette generator →

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