#CBA012

#cba012 ≈ Goldenrod

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

#cba012 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 79.61% red, 62.75% green and 7.06% blue; printed in CMYK it uses 0% cyan, 21.18% magenta, 91.13% yellow and 20.39% black. Its hue angle is 46.05°, with 83.71% saturation and 43.33% 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 8.58:1 (WCAG AAA). The closest named color is Goldenrod (#daa520), ΔE 3.45.

Description generated from the measured properties of this color.

Conversions of #cba012 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.3788

Readable text 2.45:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.58:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a6a6a6 ≈ 0.003% of males
Achromatomaly #b6a384 ≈ 0.001% of males
Protanopia #b59f00 ≈ 1.01% of males
Deuteranopia #bfaa1f ≈ 1.27% of males
Tritanopia #dd9188 ≈ 0.0001% of males
Protanomaly #be9f00 ≈ 1.08% of males
Deuteranomaly #c4a61b ≈ 4.63% of males
Tritanomaly #d6976c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cba012 {
  color: #cba012;
}
Background
.bg-cba012 {
  background-color: #cba012;
  color: #000000;
}
Border
.border-cba012 {
  border: 2px solid #cba012;
}
CSS variables
:root {
  --color-primary: #cba012;
  --color-primary-rgb: 203 160 18;
  --color-primary-hsl: 46 84% 43%;
}
Gradient
.gradient-cba012 {
  background: linear-gradient(135deg, #cba012, #9acb12);
}
Colored shadow
.shadow-cba012 {
  box-shadow: 0 8px 24px rgb(203 160 18 / 0.35);
}

Goldenrod
#cba012  rgb(203, 160, 18)  hsl(46, 84%, 43%)  Goldenrod
#123dcb  rgb(18, 61, 203)  hsl(226, 84%, 43%)  Persian Blue
#12cba0  rgb(18, 203, 160)  hsl(166, 84%, 43%)  Caribbean Green
#a012cb  rgb(160, 18, 203)  hsl(286, 84%, 43%)  Dark Violet