#DFD151

#dfd151 ≈ Straw

  • yellow
  • Lightness: medium
  • Saturation: strong
  • Warm

#dfd151 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 87.45% red, 81.96% green and 31.76% blue; printed in CMYK it uses 0% cyan, 6.28% magenta, 63.68% yellow and 12.55% black. Its hue angle is 54.08°, with 68.93% saturation and 59.61% 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.38:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 3.43.

Description generated from the measured properties of this color.

Conversions of #dfd151 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.6188

Readable text 1.57:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.38:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cecece ≈ 0.003% of males
Achromatomaly #d5cfaa ≈ 0.001% of males
Protanopia #e3cb41 ≈ 1.01% of males
Deuteranopia #e7d158 ≈ 1.27% of males
Tritanopia #efc3b6 ≈ 0.0001% of males
Protanomaly #e1cd48 ≈ 1.08% of males
Deuteranomaly #e4d155 ≈ 4.63% of males
Tritanomaly #e9c998 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dfd151 {
  color: #dfd151;
}
Background
.bg-dfd151 {
  background-color: #dfd151;
  color: #000000;
}
Border
.border-dfd151 {
  border: 2px solid #dfd151;
}
CSS variables
:root {
  --color-primary: #dfd151;
  --color-primary-rgb: 223 209 81;
  --color-primary-hsl: 54 69% 60%;
}
Gradient
.gradient-dfd151 {
  background: linear-gradient(135deg, #dfd151, #a6df51);
}
Colored shadow
.shadow-dfd151 {
  box-shadow: 0 8px 24px rgb(223 209 81 / 0.35);
}

Straw
#dfd151  rgb(223, 209, 81)  hsl(54, 69%, 60%)  Straw
#515fdf  rgb(81, 95, 223)  hsl(234, 69%, 60%)  Ultramarine Blue
#51dfd1  rgb(81, 223, 209)  hsl(174, 69%, 60%)  Turquoise
#d151df  rgb(209, 81, 223)  hsl(294, 69%, 60%)  Medium Orchid