#D2C827

#d2c827 ≈ Citrine

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

#d2c827 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 15.29% blue; printed in CMYK it uses 0% cyan, 4.76% magenta, 81.43% yellow and 17.65% black. Its hue angle is 56.49°, with 68.67% saturation and 48.82% 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.84.

Description generated from the measured properties of this color.

Conversions of #d2c827 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.5516

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 #dec736 ≈ 1.27% of males
Tritanopia #e2baab ≈ 0.0001% of males
Protanomaly #d7c409 ≈ 1.08% of males
Deuteranomaly #d9c731 ≈ 4.63% of males
Tritanomaly #dcc08a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d2c827 {
  color: #d2c827;
}
Background
.bg-d2c827 {
  background-color: #d2c827;
  color: #000000;
}
Border
.border-d2c827 {
  border: 2px solid #d2c827;
}
CSS variables
:root {
  --color-primary: #d2c827;
  --color-primary-rgb: 210 200 39;
  --color-primary-hsl: 56 69% 49%;
}
Gradient
.gradient-d2c827 {
  background: linear-gradient(135deg, #d2c827, #86d227);
}
Colored shadow
.shadow-d2c827 {
  box-shadow: 0 8px 24px rgb(210 200 39 / 0.35);
}

Citrine
#d2c827  rgb(210, 200, 39)  hsl(56, 69%, 49%)  Citrine
#2731d2  rgb(39, 49, 210)  hsl(236, 69%, 49%)  Persian Blue
#27d2c8  rgb(39, 210, 200)  hsl(176, 69%, 49%)  Medium Turquoise
#c827d2  rgb(200, 39, 210)  hsl(296, 69%, 49%)  Medium Orchid