Color #cfa626
A moderately saturated medium yellow.
Conversions
#cfa626
rgb(207, 166, 38)
hsl(45.4, 69%, 48%)
hsv(45.4, 81.6%, 81.2%)
cmyk(0%, 19.8%, 81.6%, 18.8%)
lab(69.95, 3.34, 65.87)
lch(69.95, 65.95, 87.1)
oklch(74.2%, 0.1417, 89.35)
hwb(45.4, 14.9%, 18.8%)
Harmony colors
Accessibility
Black text reads better on this background (9.14:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#bfbe5c · ΔE 12.7
Deuteranopia
#c1c464 · ΔE 14.3
Tritanopia
#cd7479 · ΔE 39
Achromatopsia
#ababab · ΔE 26.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #cfa626;
bg-[#cfa626]
Related colors
Frequently asked questions
#cfa626 (#cfa626) is rgb(207, 166, 38) in RGB.
No, #cfa626 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #cfa626, or check how it holds up for accessibility.