⤺ color picker

#42d504 Color Hex

Hex color #42d504, RGB(66, 213, 4) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.

The hex color code #42d504 is a shade of green-yellow. In a RGB color space it is composed of 25.88% red, 83.53% green and 1.57% blue. In HSL notation it has 102.2° hue, 96.3% saturation and 42.5% lightness. The process color (CMYK) is combination of 69.01% cyan, 0% magenta, 98.12% yellow and 16.47% key (black). The closest short hexadecimal code of #42d504 is #4d0.

Color information

  • #42d504 is a shade of green-yellow.
  • Green is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 69.01%
    • Magenta: 0%
    • Yellow: 98.12%
    • Key color - black: 16.47%
  • In the HSL model coordinates are:
    • Hue: 102.2° degrees
    • Saturation: 96.3%
    • Lightness: 42.5%
  • The values in the RGB color space are:
    • Red: 66 (25.88%)
    • Green: 213 (83.53%)
    • Blue: 4 (1.57%)


C: 69.01%, M: 0%, Y: 98.12%, K: 16.47%
R: 66, G: 213, B: 4
H: 102.2°, S: 96.3%, L: 42.5%

Color harmonies

#42d504 color HTML and CSS codes

Example CSS code:

.setFontColor { color: #42d504; }
.setBackgroundColor { background-color: #42d504; }

#42d504 text/font color

How to set font color?

<p style="color:#42d504">Font color is #42d504.</p>

Font color is #42d504.

When you photograph people in color, you photograph their clothes. But when you photograph people in Black and white, you photograph their souls!
- Ted Grant

#42d504 background color

How to set background color?

<div style="background-color:#42d504">Background color is #42d504.</div>

Background color is #42d504.

Red was ruby, green was fluorescent, yellow was simply incandescent. Color was life. Color was everything. Color, you see, was the universal sign of magic.
- Tahereh Mafi, Furthermore