#C8C40B

#c8c40b ≈ Citrine

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

#c8c40b is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 78.43% red, 76.86% green and 4.31% blue; printed in CMYK it uses 0% cyan, 2% magenta, 94.5% yellow and 21.57% black. Its hue angle is 58.73°, with 89.57% saturation and 41.37% 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 11.36:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 5.39.

Description generated from the measured properties of this color.

Conversions of #c8c40b 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.5178

Readable text 1.85:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.36:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #bebebe ≈ 0.003% of males
Achromatomaly #c2c198 ≈ 0.001% of males
Protanopia #d5bc00 ≈ 1.01% of males
Deuteranopia #d8c127 ≈ 1.27% of males
Tritanopia #d7b6a7 ≈ 0.0001% of males
Protanomaly #d0bf00 ≈ 1.08% of males
Deuteranomaly #d2c21f ≈ 4.63% of males
Tritanomaly #d1bc84 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c8c40b {
  color: #c8c40b;
}
Background
.bg-c8c40b {
  background-color: #c8c40b;
  color: #000000;
}
Border
.border-c8c40b {
  border: 2px solid #c8c40b;
}
CSS variables
:root {
  --color-primary: #c8c40b;
  --color-primary-rgb: 200 196 11;
  --color-primary-hsl: 59 90% 41%;
}
Gradient
.gradient-c8c40b {
  background: linear-gradient(135deg, #c8c40b, #6dc80b);
}
Colored shadow
.shadow-c8c40b {
  box-shadow: 0 8px 24px rgb(200 196 11 / 0.35);
}

Citrine
#c8c40b  rgb(200, 196, 11)  hsl(59, 90%, 41%)  Citrine
#0b0fc8  rgb(11, 15, 200)  hsl(239, 90%, 41%)  Medium Blue
#0bc8c4  rgb(11, 200, 196)  hsl(179, 90%, 41%)  Robin Egg Blue
#c40bc8  rgb(196, 11, 200)  hsl(299, 90%, 41%)  Dark Orchid