#40AF48#40AF48

#40AF48 is a light, vivid green. Relative luminance 0.322; OKLCH L 66.8% C 0.174 H 144.5°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#40AF48
RGBrgb(64, 175, 72)
HSLhsl(124, 46%, 47%)
HSVhsv(124, 63%, 69%)
CMYKcmyk(63.4%, 0%, 58.9%, 31.4%)
CIE-LABlab(63.52, -52.41, 42.93)
CIE-LCHlch(63.52, 67.75, 140.68°)
OKLaboklab(66.8% -0.142 0.1014)
OKLCHoklch(66.8% 0.175 144.5)
XYZxyz(18.6129, 32.2160, 11.3671)
Luminance0.3222 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AF48 #AF40A7
analogous
#70AF40 #40AF48 #40AF80
triadic
#40AF48 #4840AF #AF4840
tetradic
#40AF48 #4070AF #AF40A7 #AF8040
square
#40AF48 #4070AF #AF40A7 #AF8040
split-complementary
#40AF48 #8040AF #AF4070
monochromatic
#1F5523 #308236 #40AF48 #65C76C #92D797

Accessibility & contrast

On white

2.82
#40AF48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#40AF48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AF48
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AF48#FFFFFF#000000##000000
##40AF481.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A03D
Deuteranopia (green-blind)
#A49650
Tritanopia (blue-blind)
#27AA99
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #40af48;
/* rgb */ color: rgb(64, 175, 72);
/* oklch */ color: oklch(66.8% 0.174 144.5);
Tailwind
colors: {
  custom: {
    50: '#82c87e',
    500: '#40af48',
    950: '#000000',
  },
}
SCSS
$custom: #40af48;
$custom-light: #82c87e;
$custom-dark: #000000;
JSON
{
  "hex": "#40af48",
  "rgb": {
    "r": 64,
    "g": 175,
    "b": 72
  },
  "hsl": {
    "h": 124.324,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.66801,
    "c": 0.1745,
    "h": 144.5
  },
  "luminance": 0.32218
}

Semantic roles & 50–950 ramp

primary
#40AF48
secondary
#C388BE
accent
#52CDD6
background
#F8FCF7
surface
#F0F8EE
border
#CBD1C9
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #40AF48

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

Preview Lab → · Contrast checker → · Palette generator →

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