#DEC707

#dec707 ≈ Citrine

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

#dec707 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 87.06% red, 78.04% green and 2.75% blue; printed in CMYK it uses 0% cyan, 10.36% magenta, 96.85% yellow and 12.94% black. Its hue angle is 53.58°, with 93.89% 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.28:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.23.

Description generated from the measured properties of this color.

Conversions of #dec707 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.5639

Readable text 1.71:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.28:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c6c6c6 ≈ 0.003% of males
Achromatomaly #d0c69d ≈ 0.001% of males
Protanopia #dbc100 ≈ 1.01% of males
Deuteranopia #e2ca24 ≈ 1.27% of males
Tritanopia #f0b7a9 ≈ 0.0001% of males
Protanomaly #dcc300 ≈ 1.08% of males
Deuteranomaly #e0c91c ≈ 4.63% of males
Tritanomaly #e9be86 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Citrine
#dec707  rgb(222, 199, 7)  hsl(54, 94%, 45%)  Citrine
#071ede  rgb(7, 30, 222)  hsl(234, 94%, 45%)  Blue
#07dec7  rgb(7, 222, 199)  hsl(174, 94%, 45%)  Turquoise
#c707de  rgb(199, 7, 222)  hsl(294, 94%, 45%)  Electric Purple