Skip to content
Kolorvia
#ccaf4e

Color #ccaf4e

A moderately saturated medium yellow.

Conversions

HEX
#ccaf4e
RGB
rgb(204, 175, 78)
HSL
hsl(46.2, 55.3%, 55.3%)
HSV / HSB
hsv(46.2, 61.8%, 80%)
CMYK
cmyk(0%, 14.2%, 61.8%, 20%)
LAB
lab(72.26, -0.79, 52.4)
LCH
lch(72.26, 52.41, 90.86)
OKLCH
oklch(76.1%, 0.1206, 92.66)
HWB
hwb(46.2, 30.6%, 20%)

Harmony colors

Complementary

#4e6bcc

Analogous

#cc704e
#ccaf4e
#aacc4e

Triadic

#ccaf4e
#4eccaf
#af4ecc

Split-complementary

#ccaf4e
#4eaacc
#704ecc

Tetradic

#ccaf4e
#6bcc4e
#4e6bcc
#af4ecc

Square

#ccaf4e
#4ecc70
#4e6bcc
#cc4eaa

Shades

Color #ccaf4e mixed toward black.

#b69935
#927a2a
#6d5c20
#493d15
#241f0b

Tints

Color #ccaf4e mixed toward white.

#d5bc6b
#ddca89
#e6d7a6
#eee4c4
#f7f2e1

Tones

Color #ccaf4e mixed toward gray.

#c2a958
#b7a463
#ad9e6d
#a29878
#989383

Accessibility

Aa White text on this color
2.14:1
Aa Black text on this color
9.81:1

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

Under color vision deficiencies

Protanopia

#c0c070 · ΔE 9.5

Deuteranopia

#c2c476 · ΔE 10.4

Tritanopia

#cb8387 · ΔE 35.5

Achromatopsia

#b1b1b1 · ΔE 24

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

Code

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

Related colors

Cornsilk #fff8dc
Goldenrod #daa520
Dark Goldenrod #b8860b
Gold #ffd700
Floral White #fffaf0
Old Lace #fdf5e6

Frequently asked questions

#ccaf4e (#ccaf4e) is rgb(204, 175, 78) in RGB.

No, #ccaf4e 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 #ccaf4e, 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.