#D4BA08

#d4ba08 ≈ Old Gold

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

#d4ba08 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 83.14% red, 72.94% green and 3.14% blue; printed in CMYK it uses 0% cyan, 12.26% magenta, 96.23% yellow and 16.86% black. Its hue angle is 52.35°, with 92.73% saturation and 43.14% 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 10.83:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 3.65.

Description generated from the measured properties of this color.

Conversions of #d4ba08 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.4913

Readable text 1.94:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 10.83:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #bababa ≈ 0.003% of males
Achromatomaly #c5ba94 ≈ 0.001% of males
Protanopia #ceb500 ≈ 1.01% of males
Deuteranopia #d5be22 ≈ 1.27% of males
Tritanopia #e6ab9e ≈ 0.0001% of males
Protanomaly #d0b700 ≈ 1.08% of males
Deuteranomaly #d4bc1a ≈ 4.63% of males
Tritanomaly #dfb17e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d4ba08 {
  color: #d4ba08;
}
Background
.bg-d4ba08 {
  background-color: #d4ba08;
  color: #000000;
}
Border
.border-d4ba08 {
  border: 2px solid #d4ba08;
}
CSS variables
:root {
  --color-primary: #d4ba08;
  --color-primary-rgb: 212 186 8;
  --color-primary-hsl: 52 93% 43%;
}
Gradient
.gradient-d4ba08 {
  background: linear-gradient(135deg, #d4ba08, #88d408);
}
Colored shadow
.shadow-d4ba08 {
  box-shadow: 0 8px 24px rgb(212 186 8 / 0.35);
}

Old Gold
#d4ba08  rgb(212, 186, 8)  hsl(52, 93%, 43%)  Old Gold
#0822d4  rgb(8, 34, 212)  hsl(232, 93%, 43%)  Medium Blue
#08d4ba  rgb(8, 212, 186)  hsl(172, 93%, 43%)  Turquoise
#ba08d4  rgb(186, 8, 212)  hsl(292, 93%, 43%)  Dark Orchid