#D3CD1F

#d3cd1f ≈ Citrine

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

#d3cd1f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 82.75% red, 80.39% green and 12.16% blue; printed in CMYK it uses 0% cyan, 2.84% magenta, 85.31% yellow and 17.25% black. Its hue angle is 58°, with 74.38% saturation and 47.45% 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 12.52:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.8.

Description generated from the measured properties of this color.

Conversions of #d3cd1f 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.5761

Readable text 1.68:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.52:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c8c8c8 ≈ 0.003% of males
Achromatomaly #cccaa0 ≈ 0.001% of males
Protanopia #dfc500 ≈ 1.01% of males
Deuteranopia #e2ca32 ≈ 1.27% of males
Tritanopia #e3bfaf ≈ 0.0001% of males
Protanomaly #dac800 ≈ 1.08% of males
Deuteranomaly #dccb2b ≈ 4.63% of males
Tritanomaly #ddc58c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d3cd1f {
  color: #d3cd1f;
}
Background
.bg-d3cd1f {
  background-color: #d3cd1f;
  color: #000000;
}
Border
.border-d3cd1f {
  border: 2px solid #d3cd1f;
}
CSS variables
:root {
  --color-primary: #d3cd1f;
  --color-primary-rgb: 211 205 31;
  --color-primary-hsl: 58 74% 47%;
}
Gradient
.gradient-d3cd1f {
  background: linear-gradient(135deg, #d3cd1f, #7fd31f);
}
Colored shadow
.shadow-d3cd1f {
  box-shadow: 0 8px 24px rgb(211 205 31 / 0.35);
}

Citrine
#d3cd1f  rgb(211, 205, 31)  hsl(58, 74%, 47%)  Citrine
#1f25d3  rgb(31, 37, 211)  hsl(238, 74%, 47%)  Medium Blue
#1fd3cd  rgb(31, 211, 205)  hsl(178, 74%, 47%)  Medium Turquoise
#cd1fd3  rgb(205, 31, 211)  hsl(298, 74%, 47%)  Medium Orchid