#42C045#42C045

#42C045 is a light, vivid green. Relative luminance 0.393; OKLCH L 71.3% C 0.197 H 143.5°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#42C045
RGBrgb(66, 192, 69)
HSLhsl(121, 50%, 51%)
HSVhsv(121, 66%, 75%)
CMYKcmyk(65.6%, 0%, 64.1%, 24.7%)
CIE-LABlab(68.96, -58.41, 50.47)
CIE-LCHlch(68.96, 77.20, 139.17°)
OKLaboklab(71.3% -0.1585 0.1173)
OKLCHoklch(71.3% 0.197 143.5)
XYZxyz(22.1693, 39.2849, 12.0435)
Luminance0.3929 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C045 #C042BD
analogous
#7EC042 #42C045 #42C084
triadic
#42C045 #4542C0 #C04542
tetradic
#42C045 #427EC0 #C042BD #C08442
square
#42C045 #427EC0 #C042BD #C08442
split-complementary
#42C045 #8442C0 #C0427E
monochromatic
#226624 #319434 #42C045 #70CF72 #9EDF9F

Accessibility & contrast

On white

2.37
#42C045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#42C045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C045
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C045#FFFFFF#000000##000000
##42C0451.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF36
Deuteranopia (green-blind)
#B5A450
Tritanopia (blue-blind)
#24BBA6
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #42c045;
/* rgb */ color: rgb(66, 192, 69);
/* oklch */ color: oklch(71.3% 0.197 143.5);
Tailwind
colors: {
  custom: {
    50: '#86d47e',
    500: '#42c045',
    950: '#000000',
  },
}
SCSS
$custom: #42c045;
$custom-light: #86d47e;
$custom-dark: #000000;
JSON
{
  "hex": "#42c045",
  "rgb": {
    "r": 66,
    "g": 192,
    "b": 69
  },
  "hsl": {
    "h": 121.429,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.713,
    "c": 0.19718,
    "h": 143.5
  },
  "luminance": 0.39287
}

Semantic roles & 50–950 ramp

primary
#42C045
secondary
#CB93CA
accent
#4ED6DA
background
#F8FDF7
surface
#F0FAEE
border
#CBD3C9
text
#0C140A
muted
#7D837C

Preview Lab

Preview with #42C045

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

Preview Lab → · Contrast checker → · Palette generator →

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