#CBCB2F

#cbcb2f ≈ Citrine

  • yellow
  • Lightness: medium
  • Saturation: strong
  • Warm

#cbcb2f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 79.61% red, 79.61% green and 18.43% blue; printed in CMYK it uses 0% cyan, 0% magenta, 76.85% yellow and 20.39% black. Its hue angle is 60°, with 62.4% saturation and 49.02% 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 brand accents. Black text on this color reaches a contrast ratio of 12.12:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 5.81.

Description generated from the measured properties of this color.

Conversions of #cbcb2f into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cccc33
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.5561

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

Achromatopsia #c5c5c5 ≈ 0.003% of males
Achromatomaly #c7c79f ≈ 0.001% of males
Protanopia #dcc200 ≈ 1.01% of males
Deuteranopia #dec73d ≈ 1.27% of males
Tritanopia #dabeae ≈ 0.0001% of males
Protanomaly #d5c61b ≈ 1.08% of males
Deuteranomaly #d6c938 ≈ 4.63% of males
Tritanomaly #d4c38d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Citrine
#cbcb2f  rgb(203, 203, 47)  hsl(60, 62%, 49%)  Citrine
#2f2fcb  rgb(47, 47, 203)  hsl(240, 62%, 49%)  Persian Blue
#2fcbcb  rgb(47, 203, 203)  hsl(180, 62%, 49%)  Robin Egg Blue
#cb2fcb  rgb(203, 47, 203)  hsl(300, 62%, 49%)  Medium Orchid