#42AE22#42AE22

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

Color values

HEX#42AE22
RGBrgb(66, 174, 34)
HSLhsl(106, 67%, 41%)
HSVhsv(106, 80%, 68%)
CMYKcmyk(62.1%, 0%, 80.5%, 31.8%)
CIE-LABlab(62.96, -54.99, 57.30)
CIE-LCHlch(62.96, 79.42, 133.82°)
OKLaboklab(66.26% -0.1511 0.1272)
OKLCHoklch(66.26% 0.197 139.9)
XYZxyz(17.6707, 31.5442, 6.6705)
Luminance0.3155 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AE22 #8E22AE
analogous
#88AE22 #42AE22 #22AE48
triadic
#42AE22 #2242AE #AE2242
tetradic
#42AE22 #2288AE #8E22AE #AE4822
square
#42AE22 #2288AE #8E22AE #AE4822
split-complementary
#42AE22 #4822AE #AE2288
monochromatic
#1B480E #2F7B18 #42AE22 #5BD836 #84E269

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42AE22#FFFFFF#000000##000000
##42AE221.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)
#A69533
Tritanopia (blue-blind)
#33A894
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #42ae22;
/* rgb */ color: rgb(66, 174, 34);
/* oklch */ color: oklch(66.3% 0.197 139.9);
Tailwind
colors: {
  custom: {
    50: '#84c769',
    500: '#42ae22',
    950: '#000000',
  },
}
SCSS
$custom: #42ae22;
$custom-light: #84c769;
$custom-dark: #000000;
JSON
{
  "hex": "#42ae22",
  "rgb": {
    "r": 66,
    "g": 174,
    "b": 34
  },
  "hsl": {
    "h": 106.286,
    "s": 67.308,
    "l": 40.784
  },
  "oklch": {
    "l": 0.66263,
    "c": 0.19748,
    "h": 139.9
  },
  "luminance": 0.31546
}

Semantic roles & 50–950 ramp

primary
#42AE22
secondary
#B164C7
accent
#3EEAC3
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #42AE22

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

Preview Lab → · Contrast checker → · Palette generator →

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