#DCD24F

#dcd24f ≈ Straw

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

#dcd24f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 86.27% red, 82.35% green and 30.98% blue; printed in CMYK it uses 0% cyan, 4.55% magenta, 64.09% yellow and 13.73% black. Its hue angle is 55.74°, with 66.82% saturation and 58.63% 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.37:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 3.53.

Description generated from the measured properties of this color.

Conversions of #dcd24f 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.6187

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

Achromatopsia #cecece ≈ 0.003% of males
Achromatomaly #d4d0aa ≈ 0.001% of males
Protanopia #e3cb3e ≈ 1.01% of males
Deuteranopia #e7d157 ≈ 1.27% of males
Tritanopia #ecc5b7 ≈ 0.0001% of males
Protanomaly #e0ce45 ≈ 1.08% of males
Deuteranomaly #e3d154 ≈ 4.63% of males
Tritanomaly #e5ca98 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dcd24f {
  color: #dcd24f;
}
Background
.bg-dcd24f {
  background-color: #dcd24f;
  color: #000000;
}
Border
.border-dcd24f {
  border: 2px solid #dcd24f;
}
CSS variables
:root {
  --color-primary: #dcd24f;
  --color-primary-rgb: 220 210 79;
  --color-primary-hsl: 56 67% 59%;
}
Gradient
.gradient-dcd24f {
  background: linear-gradient(135deg, #dcd24f, #a0dc4f);
}
Colored shadow
.shadow-dcd24f {
  box-shadow: 0 8px 24px rgb(220 210 79 / 0.35);
}

Straw
#dcd24f  rgb(220, 210, 79)  hsl(56, 67%, 59%)  Straw
#4f59dc  rgb(79, 89, 220)  hsl(236, 67%, 59%)  Majorelle Blue
#4fdcd2  rgb(79, 220, 210)  hsl(176, 67%, 59%)  Turquoise
#d24fdc  rgb(210, 79, 220)  hsl(296, 67%, 59%)  Medium Orchid