#42AA27#42AA27

#42AA27 is a light, vivid green. Relative luminance 0.301; OKLCH L 65.2% C 0.190 H 140.1°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#42AA27
RGBrgb(66, 170, 39)
HSLhsl(108, 63%, 41%)
HSVhsv(108, 77%, 67%)
CMYKcmyk(61.2%, 0%, 77.1%, 33.3%)
CIE-LABlab(61.70, -53.27, 54.52)
CIE-LCHlch(61.70, 76.22, 134.34°)
OKLaboklab(65.22% -0.1462 0.1221)
OKLCHoklch(65.22% 0.19 140.1)
XYZxyz(16.9869, 30.0526, 6.8246)
Luminance0.3005 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AA27 #8F27AA
analogous
#83AA27 #42AA27 #27AA4E
triadic
#42AA27 #2742AA #AA2742
tetradic
#42AA27 #2783AA #8F27AA #AA4E27
square
#42AA27 #2783AA #8F27AA #AA4E27
split-complementary
#42AA27 #4E27AA #AA2783
monochromatic
#1B4610 #2F781C #42AA27 #5BD23C #85DE6E

Accessibility & contrast

On white

3.00
#42AA27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#42AA27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42AA27
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42AA27#FFFFFF#000000##000000
##42AA271.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A06
Deuteranopia (green-blind)
#A29236
Tritanopia (blue-blind)
#34A491
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #42aa27;
/* rgb */ color: rgb(66, 170, 39);
/* oklch */ color: oklch(65.2% 0.190 140.1);
Tailwind
colors: {
  custom: {
    50: '#83c46b',
    500: '#42aa27',
    950: '#000000',
  },
}
SCSS
$custom: #42aa27;
$custom-light: #83c46b;
$custom-dark: #000000;
JSON
{
  "hex": "#42aa27",
  "rgb": {
    "r": 66,
    "g": 170,
    "b": 39
  },
  "hsl": {
    "h": 107.634,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.65225,
    "c": 0.19044,
    "h": 140.1
  },
  "luminance": 0.30054
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42AA27

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

Preview Lab → · Contrast checker → · Palette generator →

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