#42A627#42A627

#42A627 is a light, vivid green. Relative luminance 0.286; OKLCH L 64.2% C 0.186 H 140.0°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#42A627
RGBrgb(66, 166, 39)
HSLhsl(107, 62%, 40%)
HSVhsv(107, 77%, 65%)
CMYKcmyk(60.2%, 0%, 76.5%, 34.9%)
CIE-LABlab(60.41, -51.83, 53.25)
CIE-LCHlch(60.41, 74.32, 134.23°)
OKLaboklab(64.16% -0.1423 0.1194)
OKLCHoklch(64.16% 0.186 140)
XYZxyz(16.2485, 28.5757, 6.5785)
Luminance0.2858 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A627 #8B27A6
analogous
#81A627 #42A627 #27A64B
triadic
#42A627 #2742A6 #A62742
tetradic
#42A627 #2781A6 #8B27A6 #A64B27
square
#42A627 #2781A6 #8B27A6 #A64B27
split-complementary
#42A627 #4B27A6 #A62781
monochromatic
#1B4310 #2E741B #42A627 #5AD13A #83DC6B

Accessibility & contrast

On white

3.13
#42A627 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#42A627 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A627
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A627#FFFFFF#000000##000000
##42A6271.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9709
Deuteranopia (green-blind)
#9E8F35
Tritanopia (blue-blind)
#35A08E
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #42a627;
/* rgb */ color: rgb(66, 166, 39);
/* oklch */ color: oklch(64.2% 0.186 140.0);
Tailwind
colors: {
  custom: {
    50: '#82c16b',
    500: '#42a627',
    950: '#000000',
  },
}
SCSS
$custom: #42a627;
$custom-light: #82c16b;
$custom-dark: #000000;
JSON
{
  "hex": "#42a627",
  "rgb": {
    "r": 66,
    "g": 166,
    "b": 39
  },
  "hsl": {
    "h": 107.244,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.64155,
    "c": 0.18578,
    "h": 140
  },
  "luminance": 0.28577
}

Semantic roles & 50–950 ramp

primary
#42A627
secondary
#AF66C3
accent
#43E5C3
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #42A627

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

Preview Lab → · Contrast checker → · Palette generator →

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