#40A34F#40A34F

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

Color values

HEX#40A34F
RGBrgb(64, 163, 79)
HSLhsl(129, 44%, 45%)
HSVhsv(129, 61%, 64%)
CMYKcmyk(60.7%, 0%, 51.5%, 36.1%)
CIE-LABlab(59.75, -46.90, 35.00)
CIE-LCHlch(59.75, 58.52, 143.27°)
OKLaboklab(63.72% -0.1269 0.0845)
OKLCHoklch(63.72% 0.152 146.3)
XYZxyz(16.6218, 27.8473, 11.8947)
Luminance0.2785 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A34F #A34094
analogous
#63A340 #40A34F #40A381
triadic
#40A34F #4F40A3 #A34F40
tetradic
#40A34F #4063A3 #A34094 #A38140
square
#40A34F #4063A3 #A34094 #A38140
split-complementary
#40A34F #8140A3 #A34063
monochromatic
#1D4B24 #2F773A #40A34F #60C06E #8CD296

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40A34F#FFFFFF#000000##000000
##40A34F1.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)
#A59548
Deuteranopia (green-blind)
#988D55
Tritanopia (blue-blind)
#299F90
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #40a34f;
/* rgb */ color: rgb(64, 163, 79);
/* oklch */ color: oklch(63.7% 0.152 146.3);
Tailwind
colors: {
  custom: {
    50: '#7fbf82',
    500: '#40a34f',
    950: '#000000',
  },
}
SCSS
$custom: #40a34f;
$custom-light: #7fbf82;
$custom-dark: #000000;
JSON
{
  "hex": "#40a34f",
  "rgb": {
    "r": 64,
    "g": 163,
    "b": 79
  },
  "hsl": {
    "h": 129.091,
    "s": 43.612,
    "l": 44.51
  },
  "oklch": {
    "l": 0.63719,
    "c": 0.15244,
    "h": 146.3
  },
  "luminance": 0.27849
}

Semantic roles & 50–950 ramp

primary
#40A34F
secondary
#BD82B4
accent
#54C0D3
background
#F8FBF8
surface
#EFF7EF
border
#CAD0CA
text
#0B120A
muted
#7C817C

Preview Lab

Preview with #40A34F

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

Preview Lab → · Contrast checker → · Palette generator →

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