#40AF46#40AF46

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

Color values

HEX#40AF46
RGBrgb(64, 175, 70)
HSLhsl(123, 46%, 47%)
HSVhsv(123, 63%, 69%)
CMYKcmyk(63.4%, 0%, 60%, 31.4%)
CIE-LABlab(63.50, -52.65, 43.84)
CIE-LCHlch(63.50, 68.51, 140.22°)
OKLaboklab(66.78% -0.1427 0.1032)
OKLCHoklch(66.78% 0.176 144.1)
XYZxyz(18.5487, 32.1903, 11.0290)
Luminance0.3219 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AF46 #AF40A9
analogous
#72AF40 #40AF46 #40AF7E
triadic
#40AF46 #4640AF #AF4640
tetradic
#40AF46 #4072AF #AF40A9 #AF7E40
square
#40AF46 #4072AF #AF40A9 #AF7E40
split-complementary
#40AF46 #7E40AF #AF4072
monochromatic
#1F5522 #308234 #40AF46 #65C76B #92D796

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40AF46#FFFFFF#000000##000000
##40AF461.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)
#B29F3B
Deuteranopia (green-blind)
#A5964E
Tritanopia (blue-blind)
#27AA98
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #40af46;
/* rgb */ color: rgb(64, 175, 70);
/* oklch */ color: oklch(66.8% 0.176 144.1);
Tailwind
colors: {
  custom: {
    50: '#82c87d',
    500: '#40af46',
    950: '#000000',
  },
}
SCSS
$custom: #40af46;
$custom-light: #82c87d;
$custom-dark: #000000;
JSON
{
  "hex": "#40af46",
  "rgb": {
    "r": 64,
    "g": 175,
    "b": 70
  },
  "hsl": {
    "h": 123.243,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.66777,
    "c": 0.17614,
    "h": 144.1
  },
  "luminance": 0.32192
}

Semantic roles & 50–950 ramp

primary
#40AF46
secondary
#C388BF
accent
#52CFD6
background
#F8FCF7
surface
#F0F8EE
border
#CBD1C9
text
#0C130A
muted
#7D827C

Preview Lab

Preview with #40AF46

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

Preview Lab → · Contrast checker → · Palette generator →

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