#DFD162

#dfd162 ≈ Straw

  • yellow
  • Lightness: high
  • Saturation: moderate
  • Warm

#dfd162 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 87.45% red, 81.96% green and 38.43% blue; printed in CMYK it uses 0% cyan, 6.28% magenta, 56.05% yellow and 12.55% black. Its hue angle is 53.28°, with 66.14% saturation and 62.94% lightness in HSL. It is a warm color, often associated with optimism, attention and joy. Designers typically use it for highlights and warnings, children's products and brand accents. Black text on this color reaches a contrast ratio of 13.43:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 2.1.

Description generated from the measured properties of this color.

Conversions of #dfd162 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cccc66
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.6217

Readable text 1.56:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.43:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cfcfcf ≈ 0.003% of males
Achromatomaly #d5d0ae ≈ 0.001% of males
Protanopia #e2cb57 ≈ 1.01% of males
Deuteranopia #e6d267 ≈ 1.27% of males
Tritanopia #eec4b8 ≈ 0.0001% of males
Protanomaly #e1cd5c ≈ 1.08% of males
Deuteranomaly #e3d165 ≈ 4.63% of males
Tritanomaly #e8c99d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dfd162 {
  color: #dfd162;
}
Background
.bg-dfd162 {
  background-color: #dfd162;
  color: #000000;
}
Border
.border-dfd162 {
  border: 2px solid #dfd162;
}
CSS variables
:root {
  --color-primary: #dfd162;
  --color-primary-rgb: 223 209 98;
  --color-primary-hsl: 53 66% 63%;
}
Gradient
.gradient-dfd162 {
  background: linear-gradient(135deg, #dfd162, #aedf62);
}
Colored shadow
.shadow-dfd162 {
  box-shadow: 0 8px 24px rgb(223 209 98 / 0.35);
}

Straw
#dfd162  rgb(223, 209, 98)  hsl(53, 66%, 63%)  Straw
#6270df  rgb(98, 112, 223)  hsl(233, 66%, 63%)  Royal Blue
#62dfd1  rgb(98, 223, 209)  hsl(173, 66%, 63%)  Turquoise
#d162df  rgb(209, 98, 223)  hsl(293, 66%, 63%)  Orchid