#D7CA07

#d7ca07 ≈ Citrine

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

#d7ca07 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 84.31% red, 79.22% green and 2.75% blue; printed in CMYK it uses 0% cyan, 6.05% magenta, 96.74% yellow and 15.69% black. Its hue angle is 56.25°, 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.34:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.44.

Description generated from the measured properties of this color.

Conversions of #d7ca07 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.567

Readable text 1.7:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.34:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c6c6c6 ≈ 0.003% of males
Achromatomaly #cdc89e ≈ 0.001% of males
Protanopia #ddc200 ≈ 1.01% of males
Deuteranopia #e2ca26 ≈ 1.27% of males
Tritanopia #e8bbac ≈ 0.0001% of males
Protanomaly #dbc600 ≈ 1.08% of males
Deuteranomaly #ddca1d ≈ 4.63% of males
Tritanomaly #e1c188 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Citrine
#d7ca07  rgb(215, 202, 7)  hsl(56, 94%, 44%)  Citrine
#0714d7  rgb(7, 20, 215)  hsl(236, 94%, 44%)  Medium Blue
#07d7ca  rgb(7, 215, 202)  hsl(176, 94%, 44%)  Turquoise
#ca07d7  rgb(202, 7, 215)  hsl(296, 94%, 44%)  Electric Purple