#DCC107

#dcc107 ≈ Citrine

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

#dcc107 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 86.27% red, 75.69% green and 2.75% blue; printed in CMYK it uses 0% cyan, 12.27% magenta, 96.82% yellow and 13.73% black. Its hue angle is 52.39°, with 93.83% saturation and 44.51% 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 11.67:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.91.

Description generated from the measured properties of this color.

Conversions of #dcc107 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.5337

Readable text 1.8:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.67:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c1c1c1 ≈ 0.003% of males
Achromatomaly #ccc19a ≈ 0.001% of males
Protanopia #d6bc00 ≈ 1.01% of males
Deuteranopia #ddc523 ≈ 1.27% of males
Tritanopia #eeb1a4 ≈ 0.0001% of males
Protanomaly #d8be00 ≈ 1.08% of males
Deuteranomaly #dcc31b ≈ 4.63% of males
Tritanomaly #e7b882 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dcc107 {
  color: #dcc107;
}
Background
.bg-dcc107 {
  background-color: #dcc107;
  color: #000000;
}
Border
.border-dcc107 {
  border: 2px solid #dcc107;
}
CSS variables
:root {
  --color-primary: #dcc107;
  --color-primary-rgb: 220 193 7;
  --color-primary-hsl: 52 94% 45%;
}
Gradient
.gradient-dcc107 {
  background: linear-gradient(135deg, #dcc107, #8ddc07);
}
Colored shadow
.shadow-dcc107 {
  box-shadow: 0 8px 24px rgb(220 193 7 / 0.35);
}

Citrine
#dcc107  rgb(220, 193, 7)  hsl(52, 94%, 45%)  Citrine
#0722dc  rgb(7, 34, 220)  hsl(232, 94%, 45%)  Blue
#07dcc1  rgb(7, 220, 193)  hsl(172, 94%, 45%)  Turquoise
#c107dc  rgb(193, 7, 220)  hsl(292, 94%, 45%)  Electric Purple