#D7CD0E

#d7cd0e ≈ Citrine

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

#d7cd0e 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.39% green and 5.49% blue; printed in CMYK it uses 0% cyan, 4.65% magenta, 93.49% yellow and 15.69% black. Its hue angle is 57.01°, with 87.77% saturation and 44.9% 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.63:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.68.

Description generated from the measured properties of this color.

Conversions of #d7cd0e 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.5814

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

Achromatopsia #c9c9c9 ≈ 0.003% of males
Achromatomaly #cfcaa0 ≈ 0.001% of males
Protanopia #e0c500 ≈ 1.01% of males
Deuteranopia #e4cc29 ≈ 1.27% of males
Tritanopia #e8beaf ≈ 0.0001% of males
Protanomaly #dcc800 ≈ 1.08% of males
Deuteranomaly #dfcc21 ≈ 4.63% of males
Tritanomaly #e1c48b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Citrine
#d7cd0e  rgb(215, 205, 14)  hsl(57, 88%, 45%)  Citrine
#0e18d7  rgb(14, 24, 215)  hsl(237, 88%, 45%)  Medium Blue
#0ed7cd  rgb(14, 215, 205)  hsl(177, 88%, 45%)  Medium Turquoise
#cd0ed7  rgb(205, 14, 215)  hsl(297, 88%, 45%)  Electric Purple