#40A343#40A343

#40A343 is a light, vivid green. Relative luminance 0.277; OKLCH L 63.6% C 0.163 H 143.8°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#40A343
RGBrgb(64, 163, 67)
HSLhsl(122, 44%, 45%)
HSVhsv(122, 61%, 64%)
CMYKcmyk(60.7%, 0%, 58.9%, 36.1%)
CIE-LABlab(59.61, -48.53, 40.73)
CIE-LCHlch(59.61, 63.36, 139.99°)
OKLaboklab(63.55% -0.1317 0.0962)
OKLCHoklch(63.55% 0.163 143.8)
XYZxyz(16.2237, 27.6881, 9.7985)
Luminance0.2769 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A343 #A340A0
analogous
#6FA340 #40A343 #40A375
triadic
#40A343 #4340A3 #A34340
tetradic
#40A343 #406FA3 #A340A0 #A37540
square
#40A343 #406FA3 #A340A0 #A37540
split-complementary
#40A343 #7540A3 #A3406F
monochromatic
#1D4B1F #2F7731 #40A343 #60C063 #8CD28E

Accessibility & contrast

On white

3.21
#40A343 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#40A343 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A343
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A343#FFFFFF#000000##000000
##40A3431.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69539
Deuteranopia (green-blind)
#9A8C4B
Tritanopia (blue-blind)
#2D9F8E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #40a343;
/* rgb */ color: rgb(64, 163, 67);
/* oklch */ color: oklch(63.6% 0.163 143.8);
Tailwind
colors: {
  custom: {
    50: '#80bf7a',
    500: '#40a343',
    950: '#000000',
  },
}
SCSS
$custom: #40a343;
$custom-light: #80bf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#40a343",
  "rgb": {
    "r": 64,
    "g": 163,
    "b": 67
  },
  "hsl": {
    "h": 121.818,
    "s": 43.612,
    "l": 44.51
  },
  "oklch": {
    "l": 0.63553,
    "c": 0.16312,
    "h": 143.8
  },
  "luminance": 0.2769
}

Semantic roles & 50–950 ramp

primary
#40A343
secondary
#BD82BB
accent
#54D0D3
background
#F8FBF7
surface
#EFF7EE
border
#CAD0C9
text
#0B1209
muted
#7C817B

Preview Lab

Preview with #40A343

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

Preview Lab → · Contrast checker → · Palette generator →

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