What is hex #DFEB8A color?

 
The hex code #DFEB8A is closest to the named color Khaki (#F0E68C).
In professional design frameworks, this hue is considered a balanced and versatile hue. It is ideal for creating smooth color harmony, digital artwork, or minimalist web components.

From a technical standpoint, this color is composed of 87% red, 92% green and 54% blue, resulting in rgb(223, 235, 138) and hsl(67, 71%, 73%).
For print media and manufacturing layout, the CMYK equivalent is (5%, 0%, 41%, 8%).
In the HSV/HSB scale, #DFEB8A features a hue of 67°, 41% saturation, and 92% brightness.

Hex #DFEB8A Color Codes & Conversions

Closest Named Color
Khaki (#F0E68C)
Hex Code #DFEB8A
Hex8 (RGBA Hex) #DFEB8AFF
RGB (CSS) rgb(223, 235, 138)
RGBA (CSS) rgba(223, 235, 138, 1)
HSL (CSS) hsl(67, 71%, 73%)
HSLA (CSS) hsla(67, 71%, 73%, 1)
HSV / HSB (67°, 41%, 92%)
CMYK Values (5%, 0%, 41%, 8%)
OKLCH (Modern CSS) oklch(91.0% 0.122 114.6)
CIE-LAB (D65) 90.29, -18.26, 45.64
CIE XYZ 64.73, 76.94, 35.48
Decimal / Binary 14674826
11011111 11101011 10001010

Closest Standards & Equivalents

Closest Web Safe
#CCFF99
Inverse Color
#201475
Complementary Color
#968AEB
Closest Pantone®
Pantone 587 C
Closest RAL
RAL 1014 [Ivory]

#DFEB8A Grayscale Equivalents

Average
#C7C7C7
Lightness (Desaturation)
#BBBBBB
Weighted (BT601)
#DCDCDC [Gainsboro]
Luma (BT709)
#E1E1E1

WCAG 2.1 Color Contrast & Accessibility

Check how #DFEB8A complies with web accessibility standards (WCAG AA & AAA) for typography. Need to test against another custom color? Use our interactive contrast checker.

White Text on #DFEB8A

Sample preview of readable typography on top of #DFEB8A.

Contrast Ratio: 1.28:1
AA Fail AAA Fail

Black Text on #DFEB8A

Sample preview of readable typography on top of #DFEB8A.

Contrast Ratio: 16.39:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #DFEB8A

Preview #DFEB8A in real UI elements and copy ready-to-use CSS rules.

Background Preview
background-color: #DFEB8A;
Typography Color Preview
color: #DFEB8A;
Border & Shadow Preview
border: 2px solid #DFEB8A;
CSS Custom Properties & Gradient
:root {
  --color-primary: #DFEB8A;
  --color-primary-rgb: 223, 235, 138;
  --color-complementary: #968AEB;
}
.btn-accent {
  background-color: #DFEB8A;
  color: #000000;
}

Hex #DFEB8A Color Palettes

Complementary Palette

The complementary color of #DFEB8A is #968AEB. Opposite on the color wheel, placing these two colors next to each other creates the strongest visual contrast.

Analogous Palette

The analogous color scheme of #DFEB8A pairs with #EBC68A and #AEEB8A, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #DFEB8A pairs with #C68AEB and #8AAEEB, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #DFEB8A uses #EB8ADF and #8ADFEB, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #DFEB8A combines #8ADFEB, #968AEB and #EB968A around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #DFEB8A pairs with #8AEBC6, #968AEB and #EB8AAE spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #DFEB8A

Tints

Tints are created by mixing #DFEB8A with white, producing lighter variations.

Tones

Tones are created by mixing #DFEB8A with gray, softening saturation.

Shades

Shades result from mixing #DFEB8A with black, creating deeper variations.

Hex #DFEB8A in Programming & CSS Frameworks

Copy the exact syntax for #DFEB8A in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:

HTML / CSS #DFEB8A
Tailwind CSS bg-[#DFEB8A] text-[#DFEB8A]
Java (AWT) new Color(223,235,138);
Python Color("#DFEB8A")
.NET (C#) Color.FromArgb(255, 223,235,138);
Swift / iOS UIColor(red: 0.87, green: 0.92, blue: 0.54, alpha: 1)
Kotlin / Android Color.rgb(223, 235, 138)