#CFD228 Color Information

Hex color code: #CFD228

A understated yellow shade, #CFD228 appears as (207, 210, 40) in RGB and (61°, 68%, 49%) in HSL. It is popular in mobile app design.

Try:
Color NameGoldenrod
HEX
#CFD228
RGB
207, 210, 40
HSL
61°, 68%, 49%
CMYK
1%, 0%, 81%, 18%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #CFD228; 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 #CFD228; background-color: #CFD22815; }

Alert / Toast

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

Link / Accent

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

a { color: #CFD228; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

207, 210, 40

Red: 207 / Green: 210 / Blue: 40

HSL

61°, 68%, 49%

Hue: 61° / Saturation: 68% / Lightness: 49%

CMYK

1%, 0%, 81%, 18%

Cyan: 1% / Magenta: 0% / Yellow: 81% / Key: 18%

What color is #CFD228?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #CFD228 to RGB:

rgb(207, 210, 40)HEX to RGB Converter →

HEX to HSL

Convert #CFD228 to HSL:

hsl(61, 68%, 49%)RGB to HSL Converter →

HEX to CMYK

Convert #CFD228 to CMYK:

cmyk(1%, 0%, 81%, 18%)Color Converter →

Color Meaning and Usage

A subtle yellow tone, #CFD228 has RGB (207, 210, 40) and HSL (61°, 68%, 49%). Known for evoking nature and harmony, this green hue is often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #CFD228 is #2B28D2, creating high-contrast pairings. For softer combinations, try analogous colors like #D28028.

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

Contrast with #CFD228

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #CFD228?

#CFD228 is a subtle yellow color - a green hue that evokes nature and harmony.

What is the RGB value of #CFD228?

#CFD228 in RGB is (207, 210, 40) - 207 red, 210 green, and 40 blue.

How to use #CFD228 in CSS?

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

What colors go well with #CFD228?

#2B28D2 (complementary), #D28028 (analogous), and #90921C (lighter shade) work well with #CFD228.