#42C078#42C078

#42C078 is a light, vivid green. Relative luminance 0.402; OKLCH L 72.1% C 0.153 H 154.4°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#42C078
RGBrgb(66, 192, 120)
HSLhsl(146, 50%, 51%)
HSVhsv(146, 66%, 75%)
CMYKcmyk(65.6%, 0%, 37.5%, 24.7%)
CIE-LABlab(69.62, -50.91, 26.41)
CIE-LCHlch(69.62, 57.35, 152.58°)
OKLaboklab(72.06% -0.1377 0.0661)
OKLCHoklch(72.06% 0.153 154.4)
XYZxyz(24.4844, 40.2110, 24.2368)
Luminance0.4021 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C078 #C0428A
analogous
#4BC042 #42C078 #42C0B7
triadic
#42C078 #7842C0 #C07842
tetradic
#42C078 #424BC0 #C0428A #C0B742
square
#42C078 #424BC0 #C0428A #C0B742
split-complementary
#42C078 #B742C0 #C0424B
monochromatic
#22663F #31945B #42C078 #70CF99 #9EDFBA

Accessibility & contrast

On white

2.32
#42C078 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#42C078 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C078
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C078#FFFFFF#000000##000000
##42C0781.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0B173
Deuteranopia (green-blind)
#AFA57D
Tritanopia (blue-blind)
#00BEAE
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #42c078;
/* rgb */ color: rgb(66, 192, 120);
/* oklch */ color: oklch(72.1% 0.153 154.4);
Tailwind
colors: {
  custom: {
    50: '#84d49f',
    500: '#42c078',
    950: '#000000',
  },
}
SCSS
$custom: #42c078;
$custom-light: #84d49f;
$custom-dark: #000000;
JSON
{
  "hex": "#42c078",
  "rgb": {
    "r": 66,
    "g": 192,
    "b": 120
  },
  "hsl": {
    "h": 145.714,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.72062,
    "c": 0.15275,
    "h": 154.4
  },
  "luminance": 0.40214
}

Semantic roles & 50–950 ramp

primary
#42C078
secondary
#CB93B3
accent
#4E9EDA
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140E
muted
#7D837E

Preview Lab

Preview with #42C078

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

Preview Lab → · Contrast checker → · Palette generator →

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