#C1940B

#c1940b ≈ Dark Goldenrod

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

#c1940b is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 75.69% red, 58.04% green and 4.31% blue; printed in CMYK it uses 0% cyan, 23.32% magenta, 94.3% yellow and 24.31% black. Its hue angle is 45.16°, with 89.22% saturation and 40% 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 7.51:1 (WCAG AAA). The closest named color is Dark Goldenrod (#b8860b), ΔE 4.79.

Description generated from the measured properties of this color.

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

Readable text 2.8:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 7.51:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #9a9a9a ≈ 0.003% of males
Achromatomaly #ab987b ≈ 0.001% of males
Protanopia #a89400 ≈ 1.01% of males
Deuteranopia #b39f19 ≈ 1.27% of males
Tritanopia #d2857e ≈ 0.0001% of males
Protanomaly #b39400 ≈ 1.08% of males
Deuteranomaly #b99b14 ≈ 4.63% of males
Tritanomaly #cc8b64 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c1940b {
  color: #c1940b;
}
Background
.bg-c1940b {
  background-color: #c1940b;
  color: #000000;
}
Border
.border-c1940b {
  border: 2px solid #c1940b;
}
CSS variables
:root {
  --color-primary: #c1940b;
  --color-primary-rgb: 193 148 11;
  --color-primary-hsl: 45 89% 40%;
}
Gradient
.gradient-c1940b {
  background: linear-gradient(135deg, #c1940b, #93c10b);
}
Colored shadow
.shadow-c1940b {
  box-shadow: 0 8px 24px rgb(193 148 11 / 0.35);
}

Dark Goldenrod
#c1940b  rgb(193, 148, 11)  hsl(45, 89%, 40%)  Dark Goldenrod
#0b38c1  rgb(11, 56, 193)  hsl(225, 89%, 40%)  Persian Blue
#0bc194  rgb(11, 193, 148)  hsl(165, 89%, 40%)  Caribbean Green
#940bc1  rgb(148, 11, 193)  hsl(285, 89%, 40%)  Dark Violet