#DCCA02

#dcca02 ≈ Citrine

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

#dcca02 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 86.27% red, 79.22% green and 0.78% blue; printed in CMYK it uses 0% cyan, 8.18% magenta, 99.09% yellow and 13.73% black. Its hue angle is 55.05°, with 98.2% 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.49:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 1.61.

Description generated from the measured properties of this color.

Conversions of #dcca02 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.5746

Readable text 1.68:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.49:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c8c8c8 ≈ 0.003% of males
Achromatomaly #d0c99f ≈ 0.001% of males
Protanopia #dec300 ≈ 1.01% of males
Deuteranopia #e3cb24 ≈ 1.27% of males
Tritanopia #eebaac ≈ 0.0001% of males
Protanomaly #ddc600 ≈ 1.08% of males
Deuteranomaly #e0cb1b ≈ 4.63% of males
Tritanomaly #e7c188 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dcca02 {
  color: #dcca02;
}
Background
.bg-dcca02 {
  background-color: #dcca02;
  color: #000000;
}
Border
.border-dcca02 {
  border: 2px solid #dcca02;
}
CSS variables
:root {
  --color-primary: #dcca02;
  --color-primary-rgb: 220 202 2;
  --color-primary-hsl: 55 98% 44%;
}
Gradient
.gradient-dcca02 {
  background: linear-gradient(135deg, #dcca02, #81dc02);
}
Colored shadow
.shadow-dcca02 {
  box-shadow: 0 8px 24px rgb(220 202 2 / 0.35);
}

Citrine
#dcca02  rgb(220, 202, 2)  hsl(55, 98%, 44%)  Citrine
#0214dc  rgb(2, 20, 220)  hsl(235, 98%, 44%)  Medium Blue
#02dcca  rgb(2, 220, 202)  hsl(175, 98%, 44%)  Turquoise
#ca02dc  rgb(202, 2, 220)  hsl(295, 98%, 44%)  Electric Purple