Color #d3c797
A moderately saturated light yellow.
Conversions
#d3c797
rgb(211, 199, 151)
hsl(48, 40.5%, 71%)
hsv(48, 28.4%, 82.7%)
cmyk(0%, 5.7%, 28.4%, 17.3%)
lab(80.14, -3.18, 25.6)
lch(80.14, 25.8, 97.08)
oklch(82.8%, 0.0648, 95.75)
hwb(48, 59.2%, 17.3%)
Harmony colors
Accessibility
Black text reads better on this background (12.39:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#cecea4 · ΔE 4.6
Deuteranopia
#cfcfa7 · ΔE 4.9
Tritanopia
#d2aeb0 · ΔE 25.1
Achromatopsia
#c7c7c7 · ΔE 16.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #d3c797;
bg-[#d3c797]
Related colors
Frequently asked questions
#d3c797 (#d3c797) is rgb(211, 199, 151) in RGB.
No, #d3c797 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 #d3c797, or check how it holds up for accessibility.