#C5B642
A medium, moderate yellow closely aligning with Darkkhaki.
About #C5B642
Visually, #C5B642 is defined as a moderate yellow. It is closely associated with the named CSS color Darkkhaki. Its digital footprint relies on 197 parts red, 182 parts green, and 66 parts blue light.
For print applications, it's crucial to understand its CMYK makeup. This specific hue requires a mix of 0% C, 8% M, 66% Y, and 23% K. The HSL representation is 53.1° hue, 53.0% saturation, and 51.6% lightness.
When using this color as a background, text legibility must be considered. Mathematical luminance calculations suggest that #000000 text provides the most optimal reading experience. You can view the detailed AAA and AA pass/fail metrics in the table below.
Color Space Conversions
HEX#C5B642
RGB197, 182, 66
HSL53.1°, 53.0%, 51.6%
CMYK0%, 8%, 66%, 23%
HSV53.1°, 66.5%, 77.3%
LAB73.4, -8.2, 58.6
XYZ40.7, 45.7, 11.8
Decimal12957250
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
2.07:1
Text on #FFFFFF
FAIL
10.14:1
Text on #000000
AAA
1.98:1
Text on #F8FAFC
FAIL
8.62:1
Text on #0F172A
AAA
CSS Implementation
.bg-color {
background-color: #C5B642;
}
.text-color {
color: #C5B642;
}
.border-color {
border: 2px solid #C5B642;
}