#40A42E#40A42E

#40A42E is a light, vivid green. Relative luminance 0.278; OKLCH L 63.6% C 0.180 H 140.9°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#40A42E
RGBrgb(64, 164, 46)
HSLhsl(111, 56%, 41%)
HSVhsv(111, 72%, 64%)
CMYKcmyk(61%, 0%, 72%, 35.7%)
CIE-LABlab(59.74, -51.07, 50.01)
CIE-LCHlch(59.74, 71.48, 135.60°)
OKLaboklab(63.6% -0.1397 0.1137)
OKLCHoklch(63.6% 0.18 140.9)
XYZxyz(15.8822, 27.8367, 7.1203)
Luminance0.2784 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A42E #922EA4
analogous
#7BA42E #40A42E #2EA457
triadic
#40A42E #2E40A4 #A42E40
tetradic
#40A42E #2E7BA4 #922EA4 #A4572E
square
#40A42E #2E7BA4 #922EA4 #A4572E
split-complementary
#40A42E #572EA4 #A42E7B
monochromatic
#1B4413 #2D7421 #40A42E #59CB45 #84D874

Accessibility & contrast

On white

3.20
#40A42E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#40A42E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A42E
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A42E#FFFFFF#000000##000000
##40A42E1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8951B
Deuteranopia (green-blind)
#9C8D3A
Tritanopia (blue-blind)
#319F8D
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #40a42e;
/* rgb */ color: rgb(64, 164, 46);
/* oklch */ color: oklch(63.6% 0.180 140.9);
Tailwind
colors: {
  custom: {
    50: '#81c06e',
    500: '#40a42e',
    950: '#000000',
  },
}
SCSS
$custom: #40a42e;
$custom-light: #81c06e;
$custom-dark: #000000;
JSON
{
  "hex": "#40a42e",
  "rgb": {
    "r": 64,
    "g": 164,
    "b": 46
  },
  "hsl": {
    "h": 110.847,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.63603,
    "c": 0.18011,
    "h": 140.9
  },
  "luminance": 0.27838
}

Semantic roles & 50–950 ramp

primary
#40A42E
secondary
#B36EC0
accent
#48DFC8
background
#F8FBF6
surface
#F0F7EC
border
#CBD0C7
text
#0B1208
muted
#7C817B

Preview Lab

Preview with #40A42E

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

Preview Lab → · Contrast checker → · Palette generator →

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