#40AC2F#40AC2F

#40AC2F is a light, vivid green. Relative luminance 0.308; OKLCH L 65.8% C 0.189 H 141.2°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#40AC2F
RGBrgb(64, 172, 47)
HSLhsl(112, 57%, 43%)
HSVhsv(112, 73%, 67%)
CMYKcmyk(62.8%, 0%, 72.7%, 32.5%)
CIE-LABlab(62.34, -53.87, 52.29)
CIE-LCHlch(62.34, 75.08, 135.85°)
OKLaboklab(65.75% -0.1472 0.1186)
OKLCHoklch(65.75% 0.189 141.2)
XYZxyz(17.3791, 30.7986, 7.7176)
Luminance0.3080 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AC2F #9B2FAC
analogous
#7EAC2F #40AC2F #2FAC5C
triadic
#40AC2F #2F40AC #AC2F40
tetradic
#40AC2F #2F7EAC #9B2FAC #AC5C2F
square
#40AC2F #2F7EAC #9B2FAC #AC5C2F
split-complementary
#40AC2F #5C2FAC #AC2F7E
monochromatic
#1C4C15 #2E7C22 #40AC2F #5CCE4B #88DB7B

Accessibility & contrast

On white

2.93
#40AC2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#40AC2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AC2F
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AC2F#FFFFFF#000000##000000
##40AC2F1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C19
Deuteranopia (green-blind)
#A3933C
Tritanopia (blue-blind)
#2EA794
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #40ac2f;
/* rgb */ color: rgb(64, 172, 47);
/* oklch */ color: oklch(65.8% 0.189 141.2);
Tailwind
colors: {
  custom: {
    50: '#82c66f',
    500: '#40ac2f',
    950: '#000000',
  },
}
SCSS
$custom: #40ac2f;
$custom-light: #82c66f;
$custom-dark: #000000;
JSON
{
  "hex": "#40ac2f",
  "rgb": {
    "r": 64,
    "g": 172,
    "b": 47
  },
  "hsl": {
    "h": 111.84,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.65752,
    "c": 0.18902,
    "h": 141.2
  },
  "luminance": 0.308
}

Semantic roles & 50–950 ramp

primary
#40AC2F
secondary
#B874C3
accent
#47E0CC
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #40AC2F

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

Preview Lab → · Contrast checker → · Palette generator →

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