#D7CD2E

#d7cd2e ≈ Citrine

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

#d7cd2e is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 84.31% red, 80.39% green and 18.04% blue; printed in CMYK it uses 0% cyan, 4.65% magenta, 78.6% yellow and 15.69% black. Its hue angle is 56.45°, with 67.87% saturation and 51.18% 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.66:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.3.

Description generated from the measured properties of this color.

Conversions of #d7cd2e 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.5831

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

Achromatopsia #c9c9c9 ≈ 0.003% of males
Achromatomaly #cfcba2 ≈ 0.001% of males
Protanopia #dfc500 ≈ 1.01% of males
Deuteranopia #e3cc3c ≈ 1.27% of males
Tritanopia #e7bfb0 ≈ 0.0001% of males
Protanomaly #dcc818 ≈ 1.08% of males
Deuteranomaly #decc37 ≈ 4.63% of males
Tritanomaly #e1c58e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d7cd2e {
  color: #d7cd2e;
}
Background
.bg-d7cd2e {
  background-color: #d7cd2e;
  color: #000000;
}
Border
.border-d7cd2e {
  border: 2px solid #d7cd2e;
}
CSS variables
:root {
  --color-primary: #d7cd2e;
  --color-primary-rgb: 215 205 46;
  --color-primary-hsl: 56 68% 51%;
}
Gradient
.gradient-d7cd2e {
  background: linear-gradient(135deg, #d7cd2e, #8dd72e);
}
Colored shadow
.shadow-d7cd2e {
  box-shadow: 0 8px 24px rgb(215 205 46 / 0.35);
}

Citrine
#d7cd2e  rgb(215, 205, 46)  hsl(56, 68%, 51%)  Citrine
#2e38d7  rgb(46, 56, 215)  hsl(236, 68%, 51%)  Persian Blue
#2ed7cd  rgb(46, 215, 205)  hsl(176, 68%, 51%)  Medium Turquoise
#cd2ed7  rgb(205, 46, 215)  hsl(296, 68%, 51%)  Medium Orchid