#42A427#42A427

#42A427 is a light, vivid green. Relative luminance 0.279; OKLCH L 63.6% C 0.183 H 139.9°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#42A427
RGBrgb(66, 164, 39)
HSLhsl(107, 62%, 40%)
HSVhsv(107, 76%, 64%)
CMYKcmyk(59.8%, 0%, 76.2%, 35.7%)
CIE-LABlab(59.76, -51.11, 52.62)
CIE-LCHlch(59.76, 73.35, 134.17°)
OKLaboklab(63.62% -0.1403 0.1181)
OKLCHoklch(63.62% 0.183 139.9)
XYZxyz(15.8877, 27.8542, 6.4582)
Luminance0.2786 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A427 #8927A4
analogous
#81A427 #42A427 #27A44B
triadic
#42A427 #2742A4 #A42742
tetradic
#42A427 #2781A4 #8927A4 #A44B27
square
#42A427 #2781A4 #8927A4 #A44B27
split-complementary
#42A427 #4B27A4 #A42781
monochromatic
#1A410F #2E731B #42A427 #59D038 #82DC6A

Accessibility & contrast

On white

3.20
#42A427 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#42A427 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A427
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A427#FFFFFF#000000##000000
##42A4271.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)
#A9950B
Deuteranopia (green-blind)
#9D8D34
Tritanopia (blue-blind)
#369E8C
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #42a427;
/* rgb */ color: rgb(66, 164, 39);
/* oklch */ color: oklch(63.6% 0.183 139.9);
Tailwind
colors: {
  custom: {
    50: '#82c06a',
    500: '#42a427',
    950: '#000000',
  },
}
SCSS
$custom: #42a427;
$custom-light: #82c06a;
$custom-dark: #000000;
JSON
{
  "hex": "#42a427",
  "rgb": {
    "r": 66,
    "g": 164,
    "b": 39
  },
  "hsl": {
    "h": 107.04,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.63619,
    "c": 0.18343,
    "h": 139.9
  },
  "luminance": 0.27856
}

Semantic roles & 50–950 ramp

primary
#42A427
secondary
#AE65C2
accent
#43E5C2
background
#F8FBF6
surface
#F0F7EC
border
#CBD0C7
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #42A427

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

Preview Lab → · Contrast checker → · Palette generator →

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