#CABA1F

#caba1f ≈ Old Gold

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

#caba1f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 79.22% red, 72.94% green and 12.16% blue; printed in CMYK it uses 0% cyan, 7.92% magenta, 84.65% yellow and 20.78% black. Its hue angle is 54.39°, with 73.39% saturation and 45.69% 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.55:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 3.82.

Description generated from the measured properties of this color.

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

Readable text 1.99:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 10.55:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #b8b8b8 ≈ 0.003% of males
Achromatomaly #bfb993 ≈ 0.001% of males
Protanopia #ccb400 ≈ 1.01% of males
Deuteranopia #d1bb2e ≈ 1.27% of males
Tritanopia #daac9f ≈ 0.0001% of males
Protanomaly #cbb600 ≈ 1.08% of males
Deuteranomaly #cebb29 ≈ 4.63% of males
Tritanomaly #d4b27f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-caba1f {
  color: #caba1f;
}
Background
.bg-caba1f {
  background-color: #caba1f;
  color: #000000;
}
Border
.border-caba1f {
  border: 2px solid #caba1f;
}
CSS variables
:root {
  --color-primary: #caba1f;
  --color-primary-rgb: 202 186 31;
  --color-primary-hsl: 54 73% 46%;
}
Gradient
.gradient-caba1f {
  background: linear-gradient(135deg, #caba1f, #84ca1f);
}
Colored shadow
.shadow-caba1f {
  box-shadow: 0 8px 24px rgb(202 186 31 / 0.35);
}

Old Gold
#caba1f  rgb(202, 186, 31)  hsl(54, 73%, 46%)  Old Gold
#1f2fca  rgb(31, 47, 202)  hsl(234, 73%, 46%)  Persian Blue
#1fcaba  rgb(31, 202, 186)  hsl(174, 73%, 46%)  Medium Turquoise
#ba1fca  rgb(186, 31, 202)  hsl(294, 73%, 46%)  Dark Orchid