Color #cdcd27
A moderately saturated medium yellow.
Conversions
#cdcd27
rgb(205, 205, 39)
hsl(60, 68%, 47.8%)
hsv(60, 81%, 80.4%)
cmyk(0%, 0%, 81%, 19.6%)
lab(80.06, -17.62, 74.24)
lch(80.06, 76.3, 103.35)
oklch(82.2%, 0.1701, 109.62)
hwb(60, 15.3%, 19.6%)
Harmony colors
Accessibility
Black text reads better on this background (12.36:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#cdcd70 · ΔE 7.7
Deuteranopia
#cdcd7b · ΔE 9.4
Tritanopia
#cd8f95 · ΔE 45.9
Achromatopsia
#c6c6c6 · ΔE 28.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #cdcd27;
bg-[#cdcd27]
Related colors
Frequently asked questions
#cdcd27 (#cdcd27) is rgb(205, 205, 39) in RGB.
No, #cdcd27 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 #cdcd27, or check how it holds up for accessibility.