#D2C823

#d2c823 ≈ Citrine

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

#d2c823 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 82.35% red, 78.43% green and 13.73% blue; printed in CMYK it uses 0% cyan, 4.76% magenta, 83.33% yellow and 17.65% black. Its hue angle is 56.57°, with 71.43% saturation and 48.04% 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.03:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.74.

Description generated from the measured properties of this color.

Conversions of #d2c823 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.5513

Readable text 1.75:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.03:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c4c4c4 ≈ 0.003% of males
Achromatomaly #cac69d ≈ 0.001% of males
Protanopia #dac000 ≈ 1.01% of males
Deuteranopia #dec733 ≈ 1.27% of males
Tritanopia #e2baab ≈ 0.0001% of males
Protanomaly #d7c300 ≈ 1.08% of males
Deuteranomaly #d9c72e ≈ 4.63% of males
Tritanomaly #dcc089 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Citrine
#d2c823  rgb(210, 200, 35)  hsl(57, 71%, 48%)  Citrine
#232dd2  rgb(35, 45, 210)  hsl(237, 71%, 48%)  Persian Blue
#23d2c8  rgb(35, 210, 200)  hsl(177, 71%, 48%)  Medium Turquoise
#c823d2  rgb(200, 35, 210)  hsl(297, 71%, 48%)  Medium Orchid