#D8CC3F

#d8cc3f ≈ Citrine

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

#d8cc3f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 84.71% red, 80% green and 24.71% blue; printed in CMYK it uses 0% cyan, 5.56% magenta, 70.83% yellow and 15.29% black. Its hue angle is 55.29°, with 66.23% saturation and 54.71% 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.63:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.98.

Description generated from the measured properties of this color.

Conversions of #d8cc3f 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.5814

Readable text 1.66:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.63:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c9c9c9 ≈ 0.003% of males
Achromatomaly #cfcaa4 ≈ 0.001% of males
Protanopia #dec527 ≈ 1.01% of males
Deuteranopia #e2cc49 ≈ 1.27% of males
Tritanopia #e8beb0 ≈ 0.0001% of males
Protanomaly #dcc832 ≈ 1.08% of males
Deuteranomaly #decc45 ≈ 4.63% of males
Tritanomaly #e2c491 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d8cc3f {
  color: #d8cc3f;
}
Background
.bg-d8cc3f {
  background-color: #d8cc3f;
  color: #000000;
}
Border
.border-d8cc3f {
  border: 2px solid #d8cc3f;
}
CSS variables
:root {
  --color-primary: #d8cc3f;
  --color-primary-rgb: 216 204 63;
  --color-primary-hsl: 55 66% 55%;
}
Gradient
.gradient-d8cc3f {
  background: linear-gradient(135deg, #d8cc3f, #98d83f);
}
Colored shadow
.shadow-d8cc3f {
  box-shadow: 0 8px 24px rgb(216 204 63 / 0.35);
}

Citrine
#d8cc3f  rgb(216, 204, 63)  hsl(55, 66%, 55%)  Citrine
#3f4bd8  rgb(63, 75, 216)  hsl(235, 66%, 55%)  Iris
#3fd8cc  rgb(63, 216, 204)  hsl(175, 66%, 55%)  Turquoise
#cc3fd8  rgb(204, 63, 216)  hsl(295, 66%, 55%)  Medium Orchid