#C5A807
A medium, vivid yellow closely aligning with Goldenrod.
About #C5A807
At its core, #C5A807 is a medium and vivid hue. If you're using CSS, you might find it aligns closely with Goldenrod. This translates to an RGB value of rgb(197, 168, 7).
While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). The color uses 0% Cyan, 15% Magenta, 96% Yellow, and 23% Black. The HSL representation is 50.8° hue, 93.1% saturation, and 40.0% lightness.
From a UX and accessibility standpoint, contrast is paramount. Mathematical luminance calculations suggest that #000000 text provides the most optimal reading experience. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.
Color Space Conversions
HEX#C5A807
RGB197, 168, 7
HSL50.8°, 93.1%, 40.0%
CMYK0%, 15%, 96%, 23%
HSV50.8°, 96.4%, 77.3%
LAB69.4, -2.8, 71.3
XYZ37.1, 39.9, 5.9
Decimal12953607
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
2.34:1
Text on #FFFFFF
FAIL
8.98:1
Text on #000000
AAA
2.24:1
Text on #F8FAFC
FAIL
7.63:1
Text on #0F172A
AAA
CSS Implementation
.bg-color {
background-color: #C5A807;
}
.text-color {
color: #C5A807;
}
.border-color {
border: 2px solid #C5A807;
}