⤺ color picker

#d1fc2a Color Hex

Hex color #d1fc2a, RGB(209, 252, 42) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.

The hex color code #d1fc2a is a shade of yellow. In a RGB color space it is composed of 81.96% red, 98.82% green and 16.47% blue. In HSL notation it has 72.3° hue, 97.2% saturation and 57.6% lightness. The process color (CMYK) is combination of 17.06% cyan, 0% magenta, 83.33% yellow and 1.18% key (black). The closest short hexadecimal code of #d1fc2a is #df2.

Color information

  • #d1fc2a is a shade of yellow.
  • Green is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 17.06%
    • Magenta: 0%
    • Yellow: 83.33%
    • Key color - black: 1.18%
  • In the HSL model coordinates are:
    • Hue: 72.3° degrees
    • Saturation: 97.2%
    • Lightness: 57.6%
  • The values in the RGB color space are:
    • Red: 209 (81.96%)
    • Green: 252 (98.82%)
    • Blue: 42 (16.47%)


C: 17.06%, M: 0%, Y: 83.33%, K: 1.18%
R: 209, G: 252, B: 42
H: 72.3°, S: 97.2%, L: 57.6%

Color harmonies

#d1fc2a color HTML and CSS codes

Example CSS code:

.setFontColor { color: #d1fc2a; }
.setBackgroundColor { background-color: #d1fc2a; }

#d1fc2a text/font color

How to set font color?

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

Font color is #d1fc2a.

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

#d1fc2a background color

How to set background color?

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

Background color is #d1fc2a.

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