#42AE27#42AE27

#42AE27 is a light, vivid green. Relative luminance 0.316; OKLCH L 66.3% C 0.195 H 140.3°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#42AE27
RGBrgb(66, 174, 39)
HSLhsl(108, 63%, 42%)
HSVhsv(108, 78%, 68%)
CMYKcmyk(62.1%, 0%, 77.6%, 31.8%)
CIE-LABlab(62.99, -54.69, 55.77)
CIE-LCHlch(62.99, 78.11, 134.44°)
OKLaboklab(66.29% -0.15 0.1247)
OKLCHoklch(66.29% 0.195 140.3)
XYZxyz(17.7482, 31.5752, 7.0784)
Luminance0.3158 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AE27 #9327AE
analogous
#86AE27 #42AE27 #27AE50
triadic
#42AE27 #2742AE #AE2742
tetradic
#42AE27 #2786AE #9327AE #AE5027
square
#42AE27 #2786AE #9327AE #AE5027
split-complementary
#42AE27 #5027AE #AE2786
monochromatic
#1C4A11 #2F7C1C #42AE27 #5CD43E #87DF70

Accessibility & contrast

On white

2.87
#42AE27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#42AE27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42AE27
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42AE27#FFFFFF#000000##000000
##42AE271.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E03
Deuteranopia (green-blind)
#A69536
Tritanopia (blue-blind)
#32A895
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #42ae27;
/* rgb */ color: rgb(66, 174, 39);
/* oklch */ color: oklch(66.3% 0.195 140.3);
Tailwind
colors: {
  custom: {
    50: '#84c76c',
    500: '#42ae27',
    950: '#000000',
  },
}
SCSS
$custom: #42ae27;
$custom-light: #84c76c;
$custom-dark: #000000;
JSON
{
  "hex": "#42ae27",
  "rgb": {
    "r": 66,
    "g": 174,
    "b": 39
  },
  "hsl": {
    "h": 108,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.66293,
    "c": 0.19506,
    "h": 140.3
  },
  "luminance": 0.31577
}

Semantic roles & 50–950 ramp

primary
#42AE27
secondary
#B46BC6
accent
#41E6C5
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #42AE27

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

Preview Lab → · Contrast checker → · Palette generator →

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