#40AA4F#40AA4F

#40AA4F is a light, vivid green. Relative luminance 0.304; OKLCH L 65.6% C 0.162 H 146.0°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#40AA4F
RGBrgb(64, 170, 79)
HSLhsl(128, 45%, 46%)
HSVhsv(128, 62%, 67%)
CMYKcmyk(62.4%, 0%, 53.5%, 33.3%)
CIE-LABlab(62.00, -49.61, 37.75)
CIE-LCHlch(62.00, 62.34, 142.73°)
OKLaboklab(65.57% -0.1342 0.0906)
OKLCHoklch(65.57% 0.162 146)
XYZxyz(17.8992, 30.4022, 12.3206)
Luminance0.3040 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AA4F #AA409B
analogous
#66AA40 #40AA4F #40AA84
triadic
#40AA4F #4F40AA #AA4F40
tetradic
#40AA4F #4066AA #AA409B #AA8440
square
#40AA4F #4066AA #AA409B #AA8440
split-complementary
#40AA4F #8440AA #AA4066
monochromatic
#1F5126 #2F7E3A #40AA4F #63C471 #8FD599

Accessibility & contrast

On white

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

On black

7.08
#40AA4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AA4F
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AA4F#FFFFFF#000000##000000
##40AA4F1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9B47
Deuteranopia (green-blind)
#9F9256
Tritanopia (blue-blind)
#26A695
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #40aa4f;
/* rgb */ color: rgb(64, 170, 79);
/* oklch */ color: oklch(65.6% 0.162 146.0);
Tailwind
colors: {
  custom: {
    50: '#80c482',
    500: '#40aa4f',
    950: '#000000',
  },
}
SCSS
$custom: #40aa4f;
$custom-light: #80c482;
$custom-dark: #000000;
JSON
{
  "hex": "#40aa4f",
  "rgb": {
    "r": 64,
    "g": 170,
    "b": 79
  },
  "hsl": {
    "h": 128.491,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.65572,
    "c": 0.1619,
    "h": 146
  },
  "luminance": 0.30404
}

Semantic roles & 50–950 ramp

primary
#40AA4F
secondary
#C086B8
accent
#53C3D5
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #40AA4F

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

Preview Lab → · Contrast checker → · Palette generator →

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