#DEC306

#dec306 ≈ Citrine

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

#dec306 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 87.06% red, 76.47% green and 2.35% blue; printed in CMYK it uses 0% cyan, 12.16% magenta, 97.3% yellow and 12.94% black. Its hue angle is 52.5°, with 94.74% saturation and 44.71% 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.91:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.45.

Description generated from the measured properties of this color.

Conversions of #dec306 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.5457

Readable text 1.76:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.91:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c3c3c3 ≈ 0.003% of males
Achromatomaly #cec39b ≈ 0.001% of males
Protanopia #d8be00 ≈ 1.01% of males
Deuteranopia #dfc723 ≈ 1.27% of males
Tritanopia #f0b3a6 ≈ 0.0001% of males
Protanomaly #dac000 ≈ 1.08% of males
Deuteranomaly #dfc51b ≈ 4.63% of males
Tritanomaly #e9ba84 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dec306 {
  color: #dec306;
}
Background
.bg-dec306 {
  background-color: #dec306;
  color: #000000;
}
Border
.border-dec306 {
  border: 2px solid #dec306;
}
CSS variables
:root {
  --color-primary: #dec306;
  --color-primary-rgb: 222 195 6;
  --color-primary-hsl: 53 95% 45%;
}
Gradient
.gradient-dec306 {
  background: linear-gradient(135deg, #dec306, #8dde06);
}
Colored shadow
.shadow-dec306 {
  box-shadow: 0 8px 24px rgb(222 195 6 / 0.35);
}

Citrine
#dec306  rgb(222, 195, 6)  hsl(53, 95%, 45%)  Citrine
#0621de  rgb(6, 33, 222)  hsl(233, 95%, 45%)  Blue
#06dec3  rgb(6, 222, 195)  hsl(173, 95%, 45%)  Turquoise
#c306de  rgb(195, 6, 222)  hsl(293, 95%, 45%)  Electric Purple