#42AB27#42AB27

#42AB27 is a light, vivid green. Relative luminance 0.304; OKLCH L 65.5% C 0.192 H 140.2°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#42AB27
RGBrgb(66, 171, 39)
HSLhsl(108, 63%, 41%)
HSVhsv(108, 77%, 67%)
CMYKcmyk(61.4%, 0%, 77.2%, 32.9%)
CIE-LABlab(62.02, -53.63, 54.83)
CIE-LCHlch(62.02, 76.70, 134.36°)
OKLaboklab(65.49% -0.1471 0.1227)
OKLCHoklch(65.49% 0.192 140.2)
XYZxyz(17.1751, 30.4290, 6.8873)
Luminance0.3043 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AB27 #9027AB
analogous
#84AB27 #42AB27 #27AB4E
triadic
#42AB27 #2742AB #AB2742
tetradic
#42AB27 #2784AB #9027AB #AB4E27
square
#42AB27 #2784AB #9027AB #AB4E27
split-complementary
#42AB27 #4E27AB #AB2784
monochromatic
#1C4710 #2F791C #42AB27 #5BD33D #85DE6E

Accessibility & contrast

On white

2.96
#42AB27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#42AB27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42AB27
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42AB27#FFFFFF#000000##000000
##42AB271.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B05
Deuteranopia (green-blind)
#A39336
Tritanopia (blue-blind)
#33A592
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #42ab27;
/* rgb */ color: rgb(66, 171, 39);
/* oklch */ color: oklch(65.5% 0.192 140.2);
Tailwind
colors: {
  custom: {
    50: '#83c56b',
    500: '#42ab27',
    950: '#000000',
  },
}
SCSS
$custom: #42ab27;
$custom-light: #83c56b;
$custom-dark: #000000;
JSON
{
  "hex": "#42ab27",
  "rgb": {
    "r": 66,
    "g": 171,
    "b": 39
  },
  "hsl": {
    "h": 107.727,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.65492,
    "c": 0.1916,
    "h": 140.2
  },
  "luminance": 0.30431
}

Semantic roles & 50–950 ramp

primary
#42AB27
secondary
#B269C5
accent
#42E6C4
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #42AB27

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

Preview Lab → · Contrast checker → · Palette generator →

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