#42AE24#42AE24

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

Color values

HEX#42AE24
RGBrgb(66, 174, 36)
HSLhsl(107, 66%, 41%)
HSVhsv(107, 79%, 68%)
CMYKcmyk(62.1%, 0%, 79.3%, 31.8%)
CIE-LABlab(62.97, -54.88, 56.71)
CIE-LCHlch(62.97, 78.91, 134.06°)
OKLaboklab(66.27% -0.1506 0.1262)
OKLCHoklch(66.27% 0.197 140)
XYZxyz(17.7004, 31.5561, 6.8269)
Luminance0.3156 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AE24 #9024AE
analogous
#87AE24 #42AE24 #24AE4B
triadic
#42AE24 #2442AE #AE2442
tetradic
#42AE24 #2487AE #9024AE #AE4B24
square
#42AE24 #2487AE #9024AE #AE4B24
split-complementary
#42AE24 #4B24AE #AE2487
monochromatic
#1C490F #2F7B1A #42AE24 #5BD639 #85E16C

Accessibility & contrast

On white

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

On black

7.31
#42AE24 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42AE24
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42AE24#FFFFFF#000000##000000
##42AE241.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#A69534
Tritanopia (blue-blind)
#33A894
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #42ae24;
/* rgb */ color: rgb(66, 174, 36);
/* oklch */ color: oklch(66.3% 0.197 140.0);
Tailwind
colors: {
  custom: {
    50: '#84c76a',
    500: '#42ae24',
    950: '#000000',
  },
}
SCSS
$custom: #42ae24;
$custom-light: #84c76a;
$custom-dark: #000000;
JSON
{
  "hex": "#42ae24",
  "rgb": {
    "r": 66,
    "g": 174,
    "b": 36
  },
  "hsl": {
    "h": 106.957,
    "s": 65.714,
    "l": 41.176
  },
  "oklch": {
    "l": 0.66275,
    "c": 0.19654,
    "h": 140
  },
  "luminance": 0.31558
}

Semantic roles & 50–950 ramp

primary
#42AE24
secondary
#B267C7
accent
#3FE9C4
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #42AE24

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

Preview Lab → · Contrast checker → · Palette generator →

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