#C2C052

#c2c052 ≈ Dark Khaki

  • yellow
  • Lightness: medium
  • Saturation: moderate
  • Warm

#c2c052 is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 76.08% red, 75.29% green and 32.16% blue; printed in CMYK it uses 0% cyan, 1.03% magenta, 57.73% yellow and 23.92% black. Its hue angle is 58.93°, with 47.86% saturation and 54.12% 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 10.96:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 5.39.

Description generated from the measured properties of this color.

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

Readable text 1.92:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 10.96:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #bbbbbb ≈ 0.003% of males
Achromatomaly #bebd9c ≈ 0.001% of males
Protanopia #ceb946 ≈ 1.01% of males
Deuteranopia #d0bd58 ≈ 1.27% of males
Tritanopia #cfb5a8 ≈ 0.0001% of males
Protanomaly #cabc4b ≈ 1.08% of males
Deuteranomaly #cbbe56 ≈ 4.63% of males
Tritanomaly #cab98e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c2c052 {
  color: #c2c052;
}
Background
.bg-c2c052 {
  background-color: #c2c052;
  color: #000000;
}
Border
.border-c2c052 {
  border: 2px solid #c2c052;
}
CSS variables
:root {
  --color-primary: #c2c052;
  --color-primary-rgb: 194 192 82;
  --color-primary-hsl: 59 48% 54%;
}
Gradient
.gradient-c2c052 {
  background: linear-gradient(135deg, #c2c052, #8cc252);
}
Colored shadow
.shadow-c2c052 {
  box-shadow: 0 8px 24px rgb(194 192 82 / 0.35);
}

Dark Khaki
#c2c052  rgb(194, 192, 82)  hsl(59, 48%, 54%)  Dark Khaki
#5254c2  rgb(82, 84, 194)  hsl(239, 48%, 54%)  Iris
#52c2c0  rgb(82, 194, 192)  hsl(179, 48%, 54%)  Robin Egg Blue
#c052c2  rgb(192, 82, 194)  hsl(299, 48%, 54%)  Medium Orchid