#CCC838

#ccc838 ≈ Citrine

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

#ccc838 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80% red, 78.43% green and 21.96% blue; printed in CMYK it uses 0% cyan, 1.96% magenta, 72.55% yellow and 20% black. Its hue angle is 58.38°, with 59.2% saturation and 50.98% 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.89:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 5.72.

Description generated from the measured properties of this color.

Conversions of #ccc838 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.5443

Readable text 1.77:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.89:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c3c3c3 ≈ 0.003% of males
Achromatomaly #c7c59e ≈ 0.001% of males
Protanopia #d9c01c ≈ 1.01% of males
Deuteranopia #dbc543 ≈ 1.27% of males
Tritanopia #dbbbac ≈ 0.0001% of males
Protanomaly #d4c32a ≈ 1.08% of males
Deuteranomaly #d5c63f ≈ 4.63% of males
Tritanomaly #d5c08d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ccc838 {
  color: #ccc838;
}
Background
.bg-ccc838 {
  background-color: #ccc838;
  color: #000000;
}
Border
.border-ccc838 {
  border: 2px solid #ccc838;
}
CSS variables
:root {
  --color-primary: #ccc838;
  --color-primary-rgb: 204 200 56;
  --color-primary-hsl: 58 59% 51%;
}
Gradient
.gradient-ccc838 {
  background: linear-gradient(135deg, #ccc838, #86cc38);
}
Colored shadow
.shadow-ccc838 {
  box-shadow: 0 8px 24px rgb(204 200 56 / 0.35);
}

Citrine
#ccc838  rgb(204, 200, 56)  hsl(58, 59%, 51%)  Citrine
#383ccc  rgb(56, 60, 204)  hsl(238, 59%, 51%)  Persian Blue
#38ccc8  rgb(56, 204, 200)  hsl(178, 59%, 51%)  Medium Turquoise
#c838cc  rgb(200, 56, 204)  hsl(298, 59%, 51%)  Medium Orchid