#42AE28#42AE28

#42AE28 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#42AE28
RGBrgb(66, 174, 40)
HSLhsl(108, 63%, 42%)
HSVhsv(108, 77%, 68%)
CMYKcmyk(62.1%, 0%, 77%, 31.8%)
CIE-LABlab(63.00, -54.62, 55.45)
CIE-LCHlch(63.00, 77.83, 134.57°)
OKLaboklab(66.3% -0.1498 0.1242)
OKLCHoklch(66.3% 0.195 140.3)
XYZxyz(17.7650, 31.5819, 7.1668)
Luminance0.3158 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AE28 #9428AE
analogous
#85AE28 #42AE28 #28AE51
triadic
#42AE28 #2842AE #AE2842
tetradic
#42AE28 #2885AE #9428AE #AE5128
square
#42AE28 #2885AE #9428AE #AE5128
split-complementary
#42AE28 #5128AE #AE2885
monochromatic
#1C4A11 #2F7C1D #42AE28 #5DD340 #87DF72

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42AE28#FFFFFF#000000##000000
##42AE281.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)
#B39E06
Deuteranopia (green-blind)
#A69537
Tritanopia (blue-blind)
#32A895
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #42ae28;
/* rgb */ color: rgb(66, 174, 40);
/* oklch */ color: oklch(66.3% 0.195 140.3);
Tailwind
colors: {
  custom: {
    50: '#84c76c',
    500: '#42ae28',
    950: '#000000',
  },
}
SCSS
$custom: #42ae28;
$custom-light: #84c76c;
$custom-dark: #000000;
JSON
{
  "hex": "#42ae28",
  "rgb": {
    "r": 66,
    "g": 174,
    "b": 40
  },
  "hsl": {
    "h": 108.358,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.66299,
    "c": 0.19453,
    "h": 140.3
  },
  "luminance": 0.31584
}

Semantic roles & 50–950 ramp

primary
#42AE28
secondary
#B46CC6
accent
#42E6C6
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #42AE28

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

Preview Lab → · Contrast checker → · Palette generator →

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