⤺ color picker

#a2b838 Color Hex

Hex color #a2b838, RGB(162, 184, 56) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.

The hex color code #a2b838 is a shade of yellow. In a RGB color space it is composed of 63.53% red, 72.16% green and 21.96% blue. In HSL notation it has 70.3° hue, 53.3% saturation and 47.1% lightness. The process color (CMYK) is combination of 11.96% cyan, 0% magenta, 69.57% yellow and 27.84% key (black). The closest short hexadecimal code of #a2b838 is #ab3.

Color information

  • #a2b838 is a shade of yellow.
  • Green is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 11.96%
    • Magenta: 0%
    • Yellow: 69.57%
    • Key color - black: 27.84%
  • In the HSL model coordinates are:
    • Hue: 70.3° degrees
    • Saturation: 53.3%
    • Lightness: 47.1%
  • The values in the RGB color space are:
    • Red: 162 (63.53%)
    • Green: 184 (72.16%)
    • Blue: 56 (21.96%)


C: 11.96%, M: 0%, Y: 69.57%, K: 27.84%
R: 162, G: 184, B: 56
H: 70.3°, S: 53.3%, L: 47.1%

Color harmonies

#a2b838 color HTML and CSS codes

Example CSS code:

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

#a2b838 text/font color

How to set font color?

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

Font color is #a2b838.

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

#a2b838 background color

How to set background color?

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

Background color is #a2b838.

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