#42A027#42A027

#42A027 is a light, vivid green. Relative luminance 0.264; OKLCH L 62.5% C 0.179 H 139.8°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#42A027
RGBrgb(66, 160, 39)
HSLhsl(107, 61%, 39%)
HSVhsv(107, 76%, 63%)
CMYKcmyk(58.8%, 0%, 75.6%, 37.3%)
CIE-LABlab(58.46, -49.64, 51.33)
CIE-LCHlch(58.46, 71.41, 134.04°)
OKLaboklab(62.54% -0.1364 0.1154)
OKLCHoklch(62.54% 0.179 139.8)
XYZxyz(15.1831, 26.4450, 6.2233)
Luminance0.2645 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A027 #8527A0
analogous
#7FA027 #42A027 #27A049
triadic
#42A027 #2742A0 #A02742
tetradic
#42A027 #277FA0 #8527A0 #A04927
square
#42A027 #277FA0 #8527A0 #A04927
split-complementary
#42A027 #4927A0 #A0277F
monochromatic
#193E0F #2E6F1B #42A027 #58CE36 #81DA67

Accessibility & contrast

On white

3.34
#42A027 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#42A027 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A027
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A027#FFFFFF#000000##000000
##42A0271.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5910E
Deuteranopia (green-blind)
#998A34
Tritanopia (blue-blind)
#379B89
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #42a027;
/* rgb */ color: rgb(66, 160, 39);
/* oklch */ color: oklch(62.5% 0.179 139.8);
Tailwind
colors: {
  custom: {
    50: '#81bd6a',
    500: '#42a027',
    950: '#000000',
  },
}
SCSS
$custom: #42a027;
$custom-light: #81bd6a;
$custom-dark: #000000;
JSON
{
  "hex": "#42a027",
  "rgb": {
    "r": 66,
    "g": 160,
    "b": 39
  },
  "hsl": {
    "h": 106.612,
    "s": 60.804,
    "l": 39.02
  },
  "oklch": {
    "l": 0.62545,
    "c": 0.17869,
    "h": 139.8
  },
  "luminance": 0.26446
}

Semantic roles & 50–950 ramp

primary
#42A027
secondary
#AB63C0
accent
#44E4C0
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #42A027

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

Preview Lab → · Contrast checker → · Palette generator →

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