#40AF43#40AF43

#40AF43 is a light, vivid green. Relative luminance 0.322; OKLCH L 66.7% C 0.179 H 143.7°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#40AF43
RGBrgb(64, 175, 67)
HSLhsl(122, 46%, 47%)
HSVhsv(122, 63%, 69%)
CMYKcmyk(63.4%, 0%, 61.7%, 31.4%)
CIE-LABlab(63.47, -53.00, 45.18)
CIE-LCHlch(63.47, 69.64, 139.56°)
OKLaboklab(66.74% -0.1438 0.1058)
OKLCHoklch(66.74% 0.179 143.7)
XYZxyz(18.4564, 32.1534, 10.5427)
Luminance0.3216 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AF43 #AF40AC
analogous
#74AF40 #40AF43 #40AF7B
triadic
#40AF43 #4340AF #AF4340
tetradic
#40AF43 #4074AF #AF40AC #AF7B40
square
#40AF43 #4074AF #AF40AC #AF7B40
split-complementary
#40AF43 #7B40AF #AF4074
monochromatic
#1F5521 #308232 #40AF43 #65C768 #92D794

Accessibility & contrast

On white

2.83
#40AF43 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#40AF43 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AF43
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AF43#FFFFFF#000000##000000
##40AF431.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F37
Deuteranopia (green-blind)
#A5964C
Tritanopia (blue-blind)
#28AA98
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #40af43;
/* rgb */ color: rgb(64, 175, 67);
/* oklch */ color: oklch(66.7% 0.179 143.7);
Tailwind
colors: {
  custom: {
    50: '#82c87b',
    500: '#40af43',
    950: '#000000',
  },
}
SCSS
$custom: #40af43;
$custom-light: #82c87b;
$custom-dark: #000000;
JSON
{
  "hex": "#40af43",
  "rgb": {
    "r": 64,
    "g": 175,
    "b": 67
  },
  "hsl": {
    "h": 121.622,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.66742,
    "c": 0.17856,
    "h": 143.7
  },
  "luminance": 0.32155
}

Semantic roles & 50–950 ramp

primary
#40AF43
secondary
#C388C1
accent
#52D3D6
background
#F8FCF7
surface
#F0F8EE
border
#CBD1C9
text
#0C130A
muted
#7D827C

Preview Lab

Preview with #40AF43

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

Preview Lab → · Contrast checker → · Palette generator →

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