Skip to content
Kolorvia
#cec798

Color #cec798

A muted light yellow.

Conversions

HEX
#cec798
RGB
rgb(206, 199, 152)
HSL
hsl(52.2, 35.5%, 70.2%)
HSV / HSB
hsv(52.2, 26.2%, 80.8%)
CMYK
cmyk(0%, 3.4%, 26.2%, 19.2%)
LAB
lab(79.75, -4.97, 24.47)
LCH
lch(79.75, 24.97, 101.48)
OKLCH
oklch(82.4%, 0.063, 100.52)
HWB
hwb(52.2, 59.6%, 19.2%)

Harmony colors

Complementary

#989fce

Analogous

#ceac98
#cec798
#bace98

Triadic

#cec798
#98cec7
#c798ce

Split-complementary

#cec798
#98bace
#ac98ce

Tetradic

#cec798
#9fce98
#989fce
#c798ce

Square

#cec798
#98ceac
#989fce
#ce98ba

Shades

Color #cec798 mixed toward black.

#bbb170
#a2974d
#79713a
#514b26
#282613

Tints

Color #cec798 mixed toward white.

#d6d0a9
#dedaba
#e6e3cc
#efecdd
#f7f6ee

Tones

Color #cec798 mixed toward gray.

#c9c49d
#c5c0a1
#c0bda6
#bcbaaa
#b8b6af

Accessibility

Aa White text on this color
1.71:1
Aa Black text on this color
12.25:1

Black text reads better on this background (12.25:1). That passes WCAG AAA (≥7:1) for normal-size text.

Under color vision deficiencies

Protanopia

#cbcba5 · ΔE 3.5

Deuteranopia

#cbcca8 · ΔE 4.2

Tritanopia

#ceaeb0 · ΔE 25.5

Achromatopsia

#c6c6c6 · ΔE 16.2

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #cec798;
Tailwind (arbitrary value)
bg-[#cec798]

Related colors

Gold #ffd700
Khaki #f0e68c
Lemon Chiffon #fffacd
Pale Goldenrod #eee8aa
Dark Khaki #bdb76b
Cornsilk #fff8dc

Frequently asked questions

#cec798 (#cec798) is rgb(206, 199, 152) in RGB.

No, #cec798 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.

Related tools

Build something with this color

Generate a full palette from #cec798, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.