#40AF2E#40AF2E

#40AF2E is a light, vivid green. Relative luminance 0.319; OKLCH L 66.5% C 0.193 H 141.1°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#40AF2E
RGBrgb(64, 175, 46)
HSLhsl(112, 58%, 43%)
HSVhsv(112, 74%, 69%)
CMYKcmyk(63.4%, 0%, 73.7%, 31.4%)
CIE-LABlab(63.30, -55.01, 53.64)
CIE-LCHlch(63.30, 76.83, 135.72°)
OKLaboklab(66.55% -0.1504 0.1212)
OKLCHoklch(66.55% 0.193 141.1)
XYZxyz(17.9366, 31.9454, 7.8051)
Luminance0.3195 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AF2E #9D2EAF
analogous
#80AF2E #40AF2E #2EAF5C
triadic
#40AF2E #2E40AF #AF2E40
tetradic
#40AF2E #2E80AF #9D2EAF #AF5C2E
square
#40AF2E #2E80AF #9D2EAF #AF5C2E
split-complementary
#40AF2E #5C2EAF #AF2E80
monochromatic
#1D4E15 #2E7F21 #40AF2E #5DD04B #89DC7B

Accessibility & contrast

On white

2.84
#40AF2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#40AF2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AF2E
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AF2E#FFFFFF#000000##000000
##40AF2E1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F16
Deuteranopia (green-blind)
#A6963B
Tritanopia (blue-blind)
#2DA996
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #40af2e;
/* rgb */ color: rgb(64, 175, 46);
/* oklch */ color: oklch(66.5% 0.193 141.1);
Tailwind
colors: {
  custom: {
    50: '#83c86f',
    500: '#40af2e',
    950: '#000000',
  },
}
SCSS
$custom: #40af2e;
$custom-light: #83c86f;
$custom-dark: #000000;
JSON
{
  "hex": "#40af2e",
  "rgb": {
    "r": 64,
    "g": 175,
    "b": 46
  },
  "hsl": {
    "h": 111.628,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.66545,
    "c": 0.19314,
    "h": 141.1
  },
  "luminance": 0.31947
}

Semantic roles & 50–950 ramp

primary
#40AF2E
secondary
#B974C5
accent
#46E2CC
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #40AF2E

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

Preview Lab → · Contrast checker → · Palette generator →

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