#D7CC07

#d7cc07 ≈ Citrine

  • yellow
  • Lightness: medium
  • Saturation: vivid
  • Warm

#d7cc07 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 84.31% red, 80% green and 2.75% blue; printed in CMYK it uses 0% cyan, 5.12% magenta, 96.74% yellow and 15.69% black. Its hue angle is 56.83°, with 93.69% saturation and 43.53% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 12.53:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.55.

Description generated from the measured properties of this color.

Conversions of #d7cc07 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cccc00
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.5765

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

Achromatopsia #c8c8c8 ≈ 0.003% of males
Achromatomaly #ceca9f ≈ 0.001% of males
Protanopia #dfc400 ≈ 1.01% of males
Deuteranopia #e3cb27 ≈ 1.27% of males
Tritanopia #e8bdae ≈ 0.0001% of males
Protanomaly #dcc700 ≈ 1.08% of males
Deuteranomaly #decb1e ≈ 4.63% of males
Tritanomaly #e1c38a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d7cc07 {
  color: #d7cc07;
}
Background
.bg-d7cc07 {
  background-color: #d7cc07;
  color: #000000;
}
Border
.border-d7cc07 {
  border: 2px solid #d7cc07;
}
CSS variables
:root {
  --color-primary: #d7cc07;
  --color-primary-rgb: 215 204 7;
  --color-primary-hsl: 57 94% 44%;
}
Gradient
.gradient-d7cc07 {
  background: linear-gradient(135deg, #d7cc07, #7ad707);
}
Colored shadow
.shadow-d7cc07 {
  box-shadow: 0 8px 24px rgb(215 204 7 / 0.35);
}

Citrine
#d7cc07  rgb(215, 204, 7)  hsl(57, 94%, 44%)  Citrine
#0712d7  rgb(7, 18, 215)  hsl(237, 94%, 44%)  Medium Blue
#07d7cc  rgb(7, 215, 204)  hsl(177, 94%, 44%)  Turquoise
#cc07d7  rgb(204, 7, 215)  hsl(297, 94%, 44%)  Electric Purple