#CBD798 Color Information

Hex color code: #CBD798

The hex color #CBD798 is a subtle yellow with RGB values of (203, 215, 152) and HSL of (71°, 44%, 72%). It is popular in mobile app design.

Try:
Color NameTan
HEX
#CBD798
RGB
203, 215, 152
HSL
71°, 44%, 72%
CMYK
6%, 0%, 29%, 16%

Shades

CSS Usage
color: #CBD798;
background-color: #CBD798;
border-color: #CBD798;
box-shadow: 0 0 10px #CBD798;
border: 2px solid #CBD798;
Tailwind Usage
bg-[#CBD798]
text-[#CBD798]
border-[#CBD798]
shadow-[0_0_10px_CBD798]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #CBD798, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #CBD798; color: #000000; }

Badge

New Feature
.badge { background-color: #CBD798; color: #000000; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #CBD798; background-color: #CBD79815; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #CBD79820; border-left: 4px solid #CBD798; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #CBD798; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #CBD798 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

203, 215, 152

Red: 203 / Green: 215 / Blue: 152

HSL

71°, 44%, 72%

Hue: 71° / Saturation: 44% / Lightness: 72%

CMYK

6%, 0%, 29%, 16%

Cyan: 6% / Magenta: 0% / Yellow: 29% / Key: 16%

What color is #CBD798?

#CBD798 is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #CBD798 to RGB:

rgb(203, 215, 152)HEX to RGB Converter →

HEX to HSL

Convert #CBD798 to HSL:

hsl(71, 44%, 72%)RGB to HSL Converter →

HEX to CMYK

Convert #CBD798 to CMYK:

cmyk(6%, 0%, 29%, 16%)Color Converter →

Color Meaning and Usage

#CBD798 is a soft yellow color with RGB values of 203, 215, 152 and HSL of 71°, 44%, 72%. This green hue evokes nature and harmony, making it suitable for a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #CBD798 is #A498D7, creating high-contrast pairings. For softer combinations, try analogous colors like #D7C398.

Use #CBD798 in CSS: color: #CBD798 or background-color: #CBD798. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #CBD798

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 13.71:1
WCAG AA: Pass
WCAG AAA: Pass

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #CBD798?

#CBD798 is a soft yellow color - a green hue that evokes nature and harmony.

What is the RGB value of #CBD798?

#CBD798 in RGB is (203, 215, 152) - 203 red, 215 green, and 152 blue.

How to use #CBD798 in CSS?

Use #CBD798 directly in your CSS properties like color or background-color.

What colors go well with #CBD798?

#A498D7 (complementary), #D7C398 (analogous), and #B0C261 (lighter shade) work well with #CBD798.