#CDC40A

#cdc40a ≈ Citrine

  • yellow
  • Lightness: medium
  • Saturation: vivid
  • Warm

#cdc40a is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 80.39% red, 76.86% green and 3.92% blue; printed in CMYK it uses 0% cyan, 4.39% magenta, 95.12% yellow and 19.61% black. Its hue angle is 57.23°, with 90.7% saturation and 42.16% 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.5:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.4.

Description generated from the measured properties of this color.

Conversions of #cdc40a 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.5248

Readable text 1.83:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.5:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c0c0c0 ≈ 0.003% of males
Achromatomaly #c5c198 ≈ 0.001% of males
Protanopia #d6bc00 ≈ 1.01% of males
Deuteranopia #dac226 ≈ 1.27% of males
Tritanopia #ddb6a7 ≈ 0.0001% of males
Protanomaly #d3bf00 ≈ 1.08% of males
Deuteranomaly #d5c31e ≈ 4.63% of males
Tritanomaly #d7bc84 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cdc40a {
  color: #cdc40a;
}
Background
.bg-cdc40a {
  background-color: #cdc40a;
  color: #000000;
}
Border
.border-cdc40a {
  border: 2px solid #cdc40a;
}
CSS variables
:root {
  --color-primary: #cdc40a;
  --color-primary-rgb: 205 196 10;
  --color-primary-hsl: 57 91% 42%;
}
Gradient
.gradient-cdc40a {
  background: linear-gradient(135deg, #cdc40a, #75cd0a);
}
Colored shadow
.shadow-cdc40a {
  box-shadow: 0 8px 24px rgb(205 196 10 / 0.35);
}

Citrine
#cdc40a  rgb(205, 196, 10)  hsl(57, 91%, 42%)  Citrine
#0a13cd  rgb(10, 19, 205)  hsl(237, 91%, 42%)  Medium Blue
#0acdc4  rgb(10, 205, 196)  hsl(177, 91%, 42%)  Medium Turquoise
#c40acd  rgb(196, 10, 205)  hsl(297, 91%, 42%)  Electric Purple