#42C079#42C079

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

Color values

HEX#42C079
RGBrgb(66, 192, 121)
HSLhsl(146, 50%, 51%)
HSVhsv(146, 66%, 75%)
CMYKcmyk(65.6%, 0%, 37%, 24.7%)
CIE-LABlab(69.64, -50.72, 25.91)
CIE-LCHlch(69.64, 56.95, 152.94°)
OKLaboklab(72.08% -0.1373 0.0649)
OKLCHoklch(72.08% 0.152 154.7)
XYZxyz(24.5454, 40.2354, 24.5581)
Luminance0.4024 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C079 #C04289
analogous
#4AC042 #42C079 #42C0B8
triadic
#42C079 #7942C0 #C07942
tetradic
#42C079 #424AC0 #C04289 #C0B842
square
#42C079 #424AC0 #C04289 #C0B842
split-complementary
#42C079 #B842C0 #C0424A
monochromatic
#22663F #31945C #42C079 #70CF9A #9EDFBA

Accessibility & contrast

On white

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

On black

9.05
#42C079 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C079
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C079#FFFFFF#000000##000000
##42C0791.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42c079;
/* rgb */ color: rgb(66, 192, 121);
/* oklch */ color: oklch(72.1% 0.152 154.7);
Tailwind
colors: {
  custom: {
    50: '#84d4a0',
    500: '#42c079',
    950: '#000000',
  },
}
SCSS
$custom: #42c079;
$custom-light: #84d4a0;
$custom-dark: #000000;
JSON
{
  "hex": "#42c079",
  "rgb": {
    "r": 66,
    "g": 192,
    "b": 121
  },
  "hsl": {
    "h": 146.19,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.72082,
    "c": 0.15183,
    "h": 154.7
  },
  "luminance": 0.40238
}

Semantic roles & 50–950 ramp

primary
#42C079
secondary
#CB93B2
accent
#4E9DDA
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140E
muted
#7D837E

Preview Lab

Preview with #42C079

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

Preview Lab → · Contrast checker → · Palette generator →

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