Color #dec251
A moderately saturated medium yellow.
Conversions
#dec251
rgb(222, 194, 81)
hsl(48.1, 68.1%, 59.4%)
hsv(48.1, 63.5%, 87.1%)
cmyk(0%, 12.6%, 63.5%, 12.9%)
lab(78.87, -2.89, 58.78)
lch(78.87, 58.85, 92.81)
oklch(81.7%, 0.1346, 95.29)
hwb(48.1, 31.8%, 12.9%)
Harmony colors
Accessibility
Black text reads better on this background (11.94:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#d2d27a · ΔE 9.1
Deuteranopia
#d4d681 · ΔE 10.1
Tritanopia
#dd9095 · ΔE 38.8
Achromatopsia
#c3c3c3 · ΔE 25.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #dec251;
bg-[#dec251]
Related colors
Frequently asked questions
#dec251 (#dec251) is rgb(222, 194, 81) in RGB.
No, #dec251 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 #dec251, or check how it holds up for accessibility.