#40A327#40A327

#40A327 is a light, vivid green. Relative luminance 0.274; OKLCH L 63.3% C 0.183 H 140.2°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#40A327
RGBrgb(64, 163, 39)
HSLhsl(108, 61%, 40%)
HSVhsv(108, 76%, 64%)
CMYKcmyk(60.7%, 0%, 76.1%, 36.1%)
CIE-LABlab(59.37, -51.25, 52.22)
CIE-LCHlch(59.37, 73.16, 134.46°)
OKLaboklab(63.28% -0.1406 0.1173)
OKLCHoklch(63.28% 0.183 140.2)
XYZxyz(15.5770, 27.4294, 6.3926)
Luminance0.2743 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A327 #8A27A3
analogous
#7EA327 #40A327 #27A34C
triadic
#40A327 #2740A3 #A32740
tetradic
#40A327 #277EA3 #8A27A3 #A34C27
square
#40A327 #277EA3 #8A27A3 #A34C27
split-complementary
#40A327 #4C27A3 #A3277E
monochromatic
#19400F #2D721B #40A327 #56CF38 #80DB69

Accessibility & contrast

On white

3.24
#40A327 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#40A327 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A327
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A327#FFFFFF#000000##000000
##40A3271.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8940C
Deuteranopia (green-blind)
#9B8C34
Tritanopia (blue-blind)
#339E8B
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #40a327;
/* rgb */ color: rgb(64, 163, 39);
/* oklch */ color: oklch(63.3% 0.183 140.2);
Tailwind
colors: {
  custom: {
    50: '#81bf6a',
    500: '#40a327',
    950: '#000000',
  },
}
SCSS
$custom: #40a327;
$custom-light: #81bf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#40a327",
  "rgb": {
    "r": 64,
    "g": 163,
    "b": 39
  },
  "hsl": {
    "h": 107.903,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.63282,
    "c": 0.1831,
    "h": 140.2
  },
  "luminance": 0.27431
}

Semantic roles & 50–950 ramp

primary
#40A327
secondary
#AF64C1
accent
#43E4C4
background
#F8FBF6
surface
#F0F7EC
border
#CBD0C7
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #40A327

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

Preview Lab → · Contrast checker → · Palette generator →

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