#42A327#42A327

#42A327 is a light, vivid green. Relative luminance 0.275; OKLCH L 63.4% C 0.182 H 139.9°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#42A327
RGBrgb(66, 163, 39)
HSLhsl(107, 61%, 40%)
HSVhsv(107, 76%, 64%)
CMYKcmyk(59.5%, 0%, 76.1%, 36.1%)
CIE-LABlab(59.43, -50.74, 52.30)
CIE-LCHlch(59.43, 72.87, 134.14°)
OKLaboklab(63.35% -0.1394 0.1175)
OKLCHoklch(63.35% 0.182 139.9)
XYZxyz(15.7095, 27.4977, 6.3988)
Luminance0.2750 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A327 #8827A3
analogous
#80A327 #42A327 #27A34A
triadic
#42A327 #2742A3 #A32742
tetradic
#42A327 #2780A3 #8827A3 #A34A27
square
#42A327 #2780A3 #8827A3 #A34A27
split-complementary
#42A327 #4A27A3 #A32780
monochromatic
#1A400F #2E721B #42A327 #59CF38 #82DB69

Accessibility & contrast

On white

3.23
#42A327 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#42A327 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A327
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A327#FFFFFF#000000##000000
##42A3271.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42a327;
/* rgb */ color: rgb(66, 163, 39);
/* oklch */ color: oklch(63.4% 0.182 139.9);
Tailwind
colors: {
  custom: {
    50: '#82bf6a',
    500: '#42a327',
    950: '#000000',
  },
}
SCSS
$custom: #42a327;
$custom-light: #82bf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#42a327",
  "rgb": {
    "r": 66,
    "g": 163,
    "b": 39
  },
  "hsl": {
    "h": 106.935,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.63351,
    "c": 0.18225,
    "h": 139.9
  },
  "luminance": 0.27499
}

Semantic roles & 50–950 ramp

primary
#42A327
secondary
#AD64C1
accent
#43E4C1
background
#F8FBF6
surface
#F0F7EC
border
#CBD0C7
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #42A327

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

Preview Lab → · Contrast checker → · Palette generator →

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