#D7CB28

#d7cb28 ≈ Citrine

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

#d7cb28 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 84.31% red, 79.61% green and 15.69% blue; printed in CMYK it uses 0% cyan, 5.58% magenta, 81.4% yellow and 15.69% black. Its hue angle is 55.89°, with 68.63% saturation and 50% 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.46:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.96.

Description generated from the measured properties of this color.

Conversions of #d7cb28 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.5731

Readable text 1.69:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.46:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c7c7c7 ≈ 0.003% of males
Achromatomaly #cec9a0 ≈ 0.001% of males
Protanopia #dec400 ≈ 1.01% of males
Deuteranopia #e2ca37 ≈ 1.27% of males
Tritanopia #e8bcae ≈ 0.0001% of males
Protanomaly #dbc70a ≈ 1.08% of males
Deuteranomaly #decb32 ≈ 4.63% of males
Tritanomaly #e1c28c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d7cb28 {
  color: #d7cb28;
}
Background
.bg-d7cb28 {
  background-color: #d7cb28;
  color: #000000;
}
Border
.border-d7cb28 {
  border: 2px solid #d7cb28;
}
CSS variables
:root {
  --color-primary: #d7cb28;
  --color-primary-rgb: 215 203 40;
  --color-primary-hsl: 56 69% 50%;
}
Gradient
.gradient-d7cb28 {
  background: linear-gradient(135deg, #d7cb28, #8bd728);
}
Colored shadow
.shadow-d7cb28 {
  box-shadow: 0 8px 24px rgb(215 203 40 / 0.35);
}

Citrine
#d7cb28  rgb(215, 203, 40)  hsl(56, 69%, 50%)  Citrine
#2834d7  rgb(40, 52, 215)  hsl(236, 69%, 50%)  Persian Blue
#28d7cb  rgb(40, 215, 203)  hsl(176, 69%, 50%)  Turquoise
#cb28d7  rgb(203, 40, 215)  hsl(296, 69%, 50%)  Medium Orchid