#CDCB02

#cdcb02 ≈ Citrine

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

#cdcb02 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 80.39% red, 79.61% green and 0.78% blue; printed in CMYK it uses 0% cyan, 0.98% magenta, 99.02% yellow and 19.61% black. Its hue angle is 59.41°, with 98.07% saturation and 40.59% 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.14:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.7.

Description generated from the measured properties of this color.

Conversions of #cdcb02 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.557

Readable text 1.73:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.14:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c5c5c5 ≈ 0.003% of males
Achromatomaly #c8c79c ≈ 0.001% of males
Protanopia #ddc200 ≈ 1.01% of males
Deuteranopia #dfc726 ≈ 1.27% of males
Tritanopia #ddbdad ≈ 0.0001% of males
Protanomaly #d7c600 ≈ 1.08% of males
Deuteranomaly #d8c91c ≈ 4.63% of males
Tritanomaly #d7c389 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cdcb02 {
  color: #cdcb02;
}
Background
.bg-cdcb02 {
  background-color: #cdcb02;
  color: #000000;
}
Border
.border-cdcb02 {
  border: 2px solid #cdcb02;
}
CSS variables
:root {
  --color-primary: #cdcb02;
  --color-primary-rgb: 205 203 2;
  --color-primary-hsl: 59 98% 41%;
}
Gradient
.gradient-cdcb02 {
  background: linear-gradient(135deg, #cdcb02, #6acd02);
}
Colored shadow
.shadow-cdcb02 {
  box-shadow: 0 8px 24px rgb(205 203 2 / 0.35);
}

Citrine
#cdcb02  rgb(205, 203, 2)  hsl(59, 98%, 41%)  Citrine
#0204cd  rgb(2, 4, 205)  hsl(239, 98%, 41%)  Medium Blue
#02cdcb  rgb(2, 205, 203)  hsl(179, 98%, 41%)  Robin Egg Blue
#cb02cd  rgb(203, 2, 205)  hsl(299, 98%, 41%)  Electric Purple