#CBA21F Hex color

#CBA21F

The hexadecimal color code #CBA21F corresponds to the code RGB( 203, 162, 31 ). It's a shade of Yellow. This color is a combination of red (at 0,80 level), green (at 0,64 level) and blue (at 0,12 level). Its brightness is 45% and its saturation is 73%. It is composed of red at 51%, green at 40% and blue at 7%.


Features

Hue

Saturation

Brightness

46
73
45
Shade of Yellow
Hex Code #CBA21F
RGB Code rgb( 203 , 162 , 31)
RGB Code Percentagergb( 79.6% , 63.5% , 12.2% )
HSLhsl( 46 , 73% , 45% )
Complementary
Color
#345DE0


Variations of #CBA21F

Lighter Shades

Palette of gradually lightened shades. The lightest shade of #CBA21F is the color #F9F5E8

#cba21f

Darker Shades

Palette of progressively darker shades. The darkest shade is #141003.

#cba21f

Other Shades of Yellow

Examples of other colors within the Yellow spectrum .

See more



Color Palettes

The complementary color #345DE0 is the color exactly opposite to #CBA21F on the color wheel. The triadic palette is created by selecting two colors that are evenly spaced on the color wheel.

Complementary color palette

#CBA21F

Triadic palette



Uses of #CBA21F in CSS

When using #CBA21F as the background color, consider selecting a lighter text color for improved readability. If you want to use #CBA21F as the text color, prefer a light background, such as Blanc.

#CBA21F as background color

Black text
White text
div{ background: #CBA21F;  }

Colored text

With a white background or
with a dark background
div{ color: #CBA21F;  }

Border

#CBA21F colored border with a width of 3px
div{ border: 3px solid #CBA21F;  }

Shadow

#CBA21F shadow colored
div{ box-shadow: 3px 3px 7px #CBA21F; }

Similar Colors

Other color codes similar or equivalent to the specified color code #CBA21F.

Choose another color

Select another color on color wheel.

Selected color: