#CDC30D

#cdc30d ≈ Citrine

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

#cdc30d 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.47% green and 5.1% blue; printed in CMYK it uses 0% cyan, 4.88% magenta, 93.66% yellow and 19.61% black. Its hue angle is 56.87°, 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.41:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.46.

Description generated from the measured properties of this color.

Conversions of #cdc30d 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.5204

Readable text 1.84:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.41:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #bfbfbf ≈ 0.003% of males
Achromatomaly #c5c198 ≈ 0.001% of males
Protanopia #d5bb00 ≈ 1.01% of males
Deuteranopia #d9c227 ≈ 1.27% of males
Tritanopia #ddb5a6 ≈ 0.0001% of males
Protanomaly #d2be00 ≈ 1.08% of males
Deuteranomaly #d4c21f ≈ 4.63% of males
Tritanomaly #d7bb84 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Citrine
#cdc30d  rgb(205, 195, 13)  hsl(57, 88%, 43%)  Citrine
#0d17cd  rgb(13, 23, 205)  hsl(237, 88%, 43%)  Medium Blue
#0dcdc3  rgb(13, 205, 195)  hsl(177, 88%, 43%)  Medium Turquoise
#c30dcd  rgb(195, 13, 205)  hsl(297, 88%, 43%)  Electric Purple