#DCD22F

#dcd22f ≈ Citrine

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

#dcd22f 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 18.43% blue; printed in CMYK it uses 0% cyan, 4.55% magenta, 78.64% yellow and 13.73% black. Its hue angle is 56.53°, with 71.19% saturation and 52.35% 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.3:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.94.

Description generated from the measured properties of this color.

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

Readable text 1.58:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.3:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cecece ≈ 0.003% of males
Achromatomaly #d4cfa6 ≈ 0.001% of males
Protanopia #e5ca00 ≈ 1.01% of males
Deuteranopia #e9d13d ≈ 1.27% of males
Tritanopia #edc3b4 ≈ 0.0001% of males
Protanomaly #e1cd18 ≈ 1.08% of males
Deuteranomaly #e4d138 ≈ 4.63% of males
Tritanomaly #e6c992 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dcd22f {
  color: #dcd22f;
}
Background
.bg-dcd22f {
  background-color: #dcd22f;
  color: #000000;
}
Border
.border-dcd22f {
  border: 2px solid #dcd22f;
}
CSS variables
:root {
  --color-primary: #dcd22f;
  --color-primary-rgb: 220 210 47;
  --color-primary-hsl: 57 71% 52%;
}
Gradient
.gradient-dcd22f {
  background: linear-gradient(135deg, #dcd22f, #8fdc2f);
}
Colored shadow
.shadow-dcd22f {
  box-shadow: 0 8px 24px rgb(220 210 47 / 0.35);
}

Citrine
#dcd22f  rgb(220, 210, 47)  hsl(57, 71%, 52%)  Citrine
#2f39dc  rgb(47, 57, 220)  hsl(237, 71%, 52%)  Persian Blue
#2fdcd2  rgb(47, 220, 210)  hsl(177, 71%, 52%)  Turquoise
#d22fdc  rgb(210, 47, 220)  hsl(297, 71%, 52%)  Medium Orchid