#40A348#40A348

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

Color values

HEX#40A348
RGBrgb(64, 163, 72)
HSLhsl(125, 44%, 45%)
HSVhsv(125, 61%, 64%)
CMYKcmyk(60.7%, 0%, 55.8%, 36.1%)
CIE-LABlab(59.66, -47.89, 38.38)
CIE-LCHlch(59.66, 61.37, 141.29°)
OKLaboklab(63.62% -0.1298 0.0915)
OKLCHoklch(63.62% 0.159 144.8)
XYZxyz(16.3803, 27.7507, 10.6228)
Luminance0.2775 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A348 #A3409B
analogous
#6AA340 #40A348 #40A379
triadic
#40A348 #4840A3 #A34840
tetradic
#40A348 #406AA3 #A3409B #A37940
square
#40A348 #406AA3 #A3409B #A37940
split-complementary
#40A348 #7940A3 #A3406A
monochromatic
#1D4B21 #2F7735 #40A348 #60C068 #8CD291

Accessibility & contrast

On white

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

On black

6.55
#40A348 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A348
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A348#FFFFFF#000000##000000
##40A3481.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6953F
Deuteranopia (green-blind)
#998C4F
Tritanopia (blue-blind)
#2C9F8F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #40a348;
/* rgb */ color: rgb(64, 163, 72);
/* oklch */ color: oklch(63.6% 0.159 144.8);
Tailwind
colors: {
  custom: {
    50: '#7fbf7d',
    500: '#40a348',
    950: '#000000',
  },
}
SCSS
$custom: #40a348;
$custom-light: #7fbf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#40a348",
  "rgb": {
    "r": 64,
    "g": 163,
    "b": 72
  },
  "hsl": {
    "h": 124.848,
    "s": 43.612,
    "l": 44.51
  },
  "oklch": {
    "l": 0.63618,
    "c": 0.15879,
    "h": 144.8
  },
  "luminance": 0.27752
}

Semantic roles & 50–950 ramp

primary
#40A348
secondary
#BD82B8
accent
#54C9D3
background
#F8FBF7
surface
#EFF7EE
border
#CAD0C9
text
#0B120A
muted
#7C817C

Preview Lab

Preview with #40A348

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

Preview Lab → · Contrast checker → · Palette generator →

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