HTML color codes for amber - hexadecimal + RGB

Discover all HTML codes for the color amber - hexadecimal, rgb, hsl, hsv, and cmyk, as well as different combinations, schemes, temperatures, hues, and types of amber color.

#ffbf00

códigos del color amber

Complementary color of amber:

The complementary color of a color is the opposite of it on the color wheel (chromatic circle)

#0040ff

Monochromatic scheme of the color amber

#865900
#a77500
#c99200
#edb000
#ffc829
#ffda51
#ffed73
#ffff93

This scheme is based on the color amber and is composed of different hues, tones, and shades, both dark and light.

HTML and CSS codes for the color amber

formatcode
hex#ffbf00
rgbrgb(255,191,0)
hslhsl(45,100%,50%)
cmykcmyk(0, 26, 100, 0)
hsvhsv(45, 100%, 100%)

What is the amber color in RGB format?

The amber color in RGB format is composed of (255 in the red channel), (191 in the green channel), and (0 in the blue channel).

What is the amber color in CMYK format?

It is composed of (0%) cyan, (26%) magenta, (100%) yellow, and (0%) black / key.

What is the composition of the amber color in HSL?

It is composed of (45°) hue, (100%) saturation, and (50%) lightness.

What is the amber color in HSV format?

The amber color in HSV format is composed of (45°) hue, (100%) saturation, and (100%) value.

Analogous scheme of the color amber

Analogous colors are obtained from the two closest colors within the color wheel.

#ffbf00
#bfff00
#ff4000

Triadic scheme of the color amber

The triadic scheme is obtained from 3 colors equally spaced from each other within the color wheel

#ffbf00
#00ffbf
#bf00ff

Tetradic scheme of the color amber

This color scheme is obtained by using two pairs of opposing colors on the color wheel in a rectangular shape.

#ffbf00
#00ff40
#0040ff
#ff00bf

Split complementary scheme of the color amber

This color scheme is obtained by using two pairs of opposing colors on the color wheel in a rectangular shape.

#ffbf00
#0dff00
#5900ff

Tints of the color amber

Tints are obtained from the base color amber up to reaching white, finding in between shades of pastel colors.

#ffbf00
#ffcc33
#ffd966
#ffe599
#fff2cc
#ffffff

Shades of the color amber

These shades are obtained from the base color amber up to reaching black.

#ffbf00
#cc9900
#997300
#664c00
#332600
#000000

Check the contrast of the color amber.

You can now validate the contrast relationship of the color amber, whether using it as a background color or as a text color.

Change the text color.
Contrast ratio: 1.65

Contrast ratio test of the color amber as a background

Change the background color
Contrast ratio: 9.45

Contrast ratio test of the color amber as text.

How to implement the color amber in HTML and CSS

Here are examples of code to use the amber on your web page. Remember that you can implement the color in HTML using color codes such as hexadecimal, RGB, or HSL, and also directly with the color name written in English (as long as it is natively supported by HTML).

Background color amber in HTML - CSS.

To set the background color, you can use inline styles or apply them in a CSS stylesheet

<div style="background:#ffbf00;"> Color amber as the background of a div.</div>
/* Color amber as the background of the body tag with CSS. */
body {
background: #ffbf00;
}

To set the text color amber in HTML - CSS.

To set the text color, you can use inline styles or apply them in a CSS stylesheet.

<p style="color:#ffbf00;"> Color amber as the text color.</p>
p {
color:#ffbf00 ;
}