#CBC228

#cbc228 ≈ Citrine

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

#cbc228 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 79.61% red, 76.08% green and 15.69% blue; printed in CMYK it uses 0% cyan, 4.43% magenta, 80.3% yellow and 20.39% black. Its hue angle is 56.69°, with 67.08% saturation and 47.65% 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 11.29:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 5.28.

Description generated from the measured properties of this color.

Conversions of #cbc228 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.5143

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

Achromatopsia #bebebe ≈ 0.003% of males
Achromatomaly #c3c099 ≈ 0.001% of males
Protanopia #d3bb00 ≈ 1.01% of males
Deuteranopia #d7c136 ≈ 1.27% of males
Tritanopia #dab4a6 ≈ 0.0001% of males
Protanomaly #d0be0f ≈ 1.08% of males
Deuteranomaly #d2c131 ≈ 4.63% of males
Tritanomaly #d4ba86 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Citrine
#cbc228  rgb(203, 194, 40)  hsl(57, 67%, 48%)  Citrine
#2831cb  rgb(40, 49, 203)  hsl(237, 67%, 48%)  Persian Blue
#28cbc2  rgb(40, 203, 194)  hsl(177, 67%, 48%)  Medium Turquoise
#c228cb  rgb(194, 40, 203)  hsl(297, 67%, 48%)  Medium Orchid