#DFD12C

#dfd12c ≈ Citrine

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

#dfd12c 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 17.25% blue; printed in CMYK it uses 0% cyan, 6.28% magenta, 80.27% yellow and 12.55% black. Its hue angle is 55.31°, with 73.66% 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.29:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.03.

Description generated from the measured properties of this color.

Conversions of #dfd12c 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.6147

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

Achromatopsia #cecece ≈ 0.003% of males
Achromatomaly #d5cfa6 ≈ 0.001% of males
Protanopia #e4ca00 ≈ 1.01% of males
Deuteranopia #e9d13b ≈ 1.27% of males
Tritanopia #f0c2b3 ≈ 0.0001% of males
Protanomaly #e2cd12 ≈ 1.08% of males
Deuteranomaly #e5d135 ≈ 4.63% of males
Tritanomaly #eac891 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dfd12c {
  color: #dfd12c;
}
Background
.bg-dfd12c {
  background-color: #dfd12c;
  color: #000000;
}
Border
.border-dfd12c {
  border: 2px solid #dfd12c;
}
CSS variables
:root {
  --color-primary: #dfd12c;
  --color-primary-rgb: 223 209 44;
  --color-primary-hsl: 55 74% 52%;
}
Gradient
.gradient-dfd12c {
  background: linear-gradient(135deg, #dfd12c, #93df2c);
}
Colored shadow
.shadow-dfd12c {
  box-shadow: 0 8px 24px rgb(223 209 44 / 0.35);
}

Citrine
#dfd12c  rgb(223, 209, 44)  hsl(55, 74%, 52%)  Citrine
#2c3adf  rgb(44, 58, 223)  hsl(235, 74%, 52%)  Persian Blue
#2cdfd1  rgb(44, 223, 209)  hsl(175, 74%, 52%)  Turquoise
#d12cdf  rgb(209, 44, 223)  hsl(295, 74%, 52%)  Medium Orchid