#D7CB2C

#d7cb2c ≈ Citrine

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

#d7cb2c 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 17.25% blue; printed in CMYK it uses 0% cyan, 5.58% magenta, 79.53% yellow and 15.69% black. Its hue angle is 55.79°, with 68.13% saturation and 50.78% 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.47:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.1.

Description generated from the measured properties of this color.

Conversions of #d7cb2c 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.5734

Readable text 1.68:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.47:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c7c7c7 ≈ 0.003% of males
Achromatomaly #cec9a1 ≈ 0.001% of males
Protanopia #dec400 ≈ 1.01% of males
Deuteranopia #e2ca3a ≈ 1.27% of males
Tritanopia #e7bdae ≈ 0.0001% of males
Protanomaly #dbc714 ≈ 1.08% of males
Deuteranomaly #ddcb35 ≈ 4.63% of males
Tritanomaly #e1c38d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Citrine
#d7cb2c  rgb(215, 203, 44)  hsl(56, 68%, 51%)  Citrine
#2c38d7  rgb(44, 56, 215)  hsl(236, 68%, 51%)  Persian Blue
#2cd7cb  rgb(44, 215, 203)  hsl(176, 68%, 51%)  Turquoise
#cb2cd7  rgb(203, 44, 215)  hsl(296, 68%, 51%)  Medium Orchid