#CDC20D

#cdc20d ≈ Citrine

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

#cdc20d is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 80.39% red, 76.08% green and 5.1% blue; printed in CMYK it uses 0% cyan, 5.37% magenta, 93.66% yellow and 19.61% black. Its hue angle is 56.56°, with 88.07% saturation and 42.75% 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.32:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.51.

Description generated from the measured properties of this color.

Conversions of #cdc20d 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.5159

Readable text 1.86:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.32:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #bebebe ≈ 0.003% of males
Achromatomaly #c4c097 ≈ 0.001% of males
Protanopia #d4bb00 ≈ 1.01% of males
Deuteranopia #d8c127 ≈ 1.27% of males
Tritanopia #ddb4a5 ≈ 0.0001% of males
Protanomaly #d1be00 ≈ 1.08% of males
Deuteranomaly #d4c11f ≈ 4.63% of males
Tritanomaly #d7ba83 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cdc20d {
  color: #cdc20d;
}
Background
.bg-cdc20d {
  background-color: #cdc20d;
  color: #000000;
}
Border
.border-cdc20d {
  border: 2px solid #cdc20d;
}
CSS variables
:root {
  --color-primary: #cdc20d;
  --color-primary-rgb: 205 194 13;
  --color-primary-hsl: 57 88% 43%;
}
Gradient
.gradient-cdc20d {
  background: linear-gradient(135deg, #cdc20d, #78cd0d);
}
Colored shadow
.shadow-cdc20d {
  box-shadow: 0 8px 24px rgb(205 194 13 / 0.35);
}

Citrine
#cdc20d  rgb(205, 194, 13)  hsl(57, 88%, 43%)  Citrine
#0d18cd  rgb(13, 24, 205)  hsl(237, 88%, 43%)  Medium Blue
#0dcdc2  rgb(13, 205, 194)  hsl(177, 88%, 43%)  Medium Turquoise
#c20dcd  rgb(194, 13, 205)  hsl(297, 88%, 43%)  Electric Purple