HTML color codes for khaki - hexadecimal + RGB

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

#dfc38a

códigos del color khaki

Complementary color of khaki:

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

#8aa6df

Monochromatic scheme of the color khaki

#725d29
#907943
#af965f
#cfb47b
#e4cb9a
#eedcba
#f7eddb
#fffffd

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

HTML and CSS codes for the color khaki

formatcode
hex#dfc38a
rgbrgb(223,195,138)
hslhsl(41,58%,71%)
cmykcmyk(0, 13, 39, 13)
hsvhsv(41, 39%, 88%)

What is the khaki color in RGB format?

The khaki color in RGB format is composed of (223 in the red channel), (195 in the green channel), and (138 in the blue channel).

What is the khaki color in CMYK format?

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

What is the composition of the khaki color in HSL?

It is composed of (41°) hue, (58%) saturation, and (71%) lightness.

What is the khaki color in HSV format?

The khaki color in HSV format is composed of (41°) hue, (39%) saturation, and (88%) value.

Analogous scheme of the color khaki

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

#e0c58a
#d0e08a
#e09a8a

Triadic scheme of the color khaki

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

#dfc38a
#8adfc3
#c38adf

Tetradic scheme of the color khaki

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

#dfc38a
#8adf98
#8aa6df
#df8ad0

Split complementary scheme of the color khaki

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

#dfc38a
#95df8a
#a18adf

Tints of the color khaki

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

#dfc38a
#e5cfa1
#ecdbb9
#f2e7d0
#f9f3e8
#ffffff

Shades of the color khaki

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

#dfc38a
#b29c6e
#867553
#594e37
#2d271c
#000000

Check the contrast of the color khaki.

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

Change the text color.
Contrast ratio: 1.71

Contrast ratio test of the color khaki as a background

Change the background color
Contrast ratio: 9.16

Contrast ratio test of the color khaki as text.

How to implement the color khaki in HTML and CSS

Here are examples of code to use the khaki 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 khaki in HTML - CSS.

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

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

To set the text color khaki in HTML - CSS.

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

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