#CBCB02

#cbcb02 ≈ Citrine

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

#cbcb02 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 79.61% red, 79.61% green and 0.78% blue; printed in CMYK it uses 0% cyan, 0% magenta, 99.01% yellow and 20.39% black. Its hue angle is 60°, with 98.05% saturation and 40.2% 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.08:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 5.16.

Description generated from the measured properties of this color.

Conversions of #cbcb02 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.5541

Readable text 1.74:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.08:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c4c4c4 ≈ 0.003% of males
Achromatomaly #c7c79c ≈ 0.001% of males
Protanopia #ddc200 ≈ 1.01% of males
Deuteranopia #dec726 ≈ 1.27% of males
Tritanopia #dabdad ≈ 0.0001% of males
Protanomaly #d6c600 ≈ 1.08% of males
Deuteranomaly #d7c81c ≈ 4.63% of males
Tritanomaly #d4c389 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Citrine
#cbcb02  rgb(203, 203, 2)  hsl(60, 98%, 40%)  Citrine
#0202cb  rgb(2, 2, 203)  hsl(240, 98%, 40%)  Medium Blue
#02cbcb  rgb(2, 203, 203)  hsl(180, 98%, 40%)  Robin Egg Blue
#cb02cb  rgb(203, 2, 203)  hsl(300, 98%, 40%)  Electric Purple