#42C422#42C422

#42C422 is a light, highly saturated green. Relative luminance 0.408; OKLCH L 72.1% C 0.222 H 140.5°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#42C422
RGBrgb(66, 196, 34)
HSLhsl(108, 70%, 45%)
HSVhsv(108, 83%, 77%)
CMYKcmyk(66.3%, 0%, 82.7%, 23.1%)
CIE-LABlab(70.00, -62.43, 63.80)
CIE-LCHlch(70.00, 89.26, 134.38°)
OKLaboklab(72.09% -0.1711 0.1408)
OKLCHoklch(72.09% 0.222 140.5)
XYZxyz(22.2743, 40.7513, 8.2050)
Luminance0.4075 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C422 #A422C4
analogous
#93C422 #42C422 #22C453
triadic
#42C422 #2242C4 #C42242
tetradic
#42C422 #2293C4 #A422C4 #C45322
square
#42C422 #2293C4 #A422C4 #C45322
split-complementary
#42C422 #5322C4 #C42293
monochromatic
#1F5C10 #309019 #42C422 #63DF45 #8FE879

Accessibility & contrast

On white

2.29
#42C422 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.15
#42C422 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C422
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C422#FFFFFF#000000##000000
##42C4221.002.299.159.15
#FFFFFF2.291.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B100
Deuteranopia (green-blind)
#BAA737
Tritanopia (blue-blind)
#2ABEA7
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #42c422;
/* rgb */ color: rgb(66, 196, 34);
/* oklch */ color: oklch(72.1% 0.222 140.5);
Tailwind
colors: {
  custom: {
    50: '#88d76d',
    500: '#42c422',
    950: '#000000',
  },
}
SCSS
$custom: #42c422;
$custom-light: #88d76d;
$custom-dark: #000000;
JSON
{
  "hex": "#42c422",
  "rgb": {
    "r": 66,
    "g": 196,
    "b": 34
  },
  "hsl": {
    "h": 108.148,
    "s": 70.435,
    "l": 45.098
  },
  "oklch": {
    "l": 0.72093,
    "c": 0.22155,
    "h": 140.5
  },
  "luminance": 0.40754
}

Semantic roles & 50–950 ramp

primary
#42C422
secondary
#BD73CF
accent
#3BEDCA
background
#F9FDF7
surface
#F1FAED
border
#CBD3C8
text
#0D1408
muted
#7E837B

Preview Lab

Preview with #42C422

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

Preview Lab → · Contrast checker → · Palette generator →

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