#DEF302 Hex color

#DEF302

The hexadecimal color code #DEF302 corresponds to the code RGB( 222, 243, 2 ). It's a shade of Yellow. This color is a combination of red (at 0,87 level), green (at 0,95 level) and blue (at 0,01 level). Its brightness is 48% and its saturation is 98%. It is composed of red at 47%, green at 52% and blue at 0%.


Features

Hue

Saturation

Brightness

65
98
48
Shade of Yellow
Hex Code #DEF302
RGB Code rgb( 222 , 243 , 2)
RGB Code Percentagergb( 87.1% , 95.3% , 0.8% )
HSLhsl( 65 , 98% , 48% )
Complementary
Color
#210CFD


Variations of #DEF302

Lighter Shades

Palette of gradually lightened shades. The lightest shade of #DEF302 is the color #FBFDE5

#def302

Darker Shades

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

#def302

Other Shades of Yellow

Examples of other colors within the Yellow spectrum .

See more



Color Palettes

The complementary color #210CFD is the color exactly opposite to #DEF302 on the color wheel. The triadic palette is created by selecting two colors that are evenly spaced on the color wheel.

Complementary color palette

#DEF302

Triadic palette



Uses of #DEF302 in CSS

When using #DEF302 as the background color, consider selecting a darker text color for improved readability. If you want to use #DEF302 as the text color, prefer a dark background, such as Black.

#DEF302 as background color

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

Colored text

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

Border

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

Shadow

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

Similar Colors

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

Choose another color

Select another color on color wheel.

Selected color: