#CFE228 Color Information

Hex color code: #CFE228

A bold yellow shade, #CFE228 appears as (207, 226, 40) in RGB and (66°, 76%, 52%) in HSL. It is often used for branding and logos.

Try:
Color NameGreen Yellow
HEX
#CFE228
RGB
207, 226, 40
HSL
66°, 76%, 52%
CMYK
8%, 0%, 82%, 11%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #CFE228; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

207, 226, 40

Red: 207 / Green: 226 / Blue: 40

HSL

66°, 76%, 52%

Hue: 66° / Saturation: 76% / Lightness: 52%

CMYK

8%, 0%, 82%, 11%

Cyan: 8% / Magenta: 0% / Yellow: 82% / Key: 11%

What color is #CFE228?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #CFE228 to RGB:

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

HEX to HSL

Convert #CFE228 to HSL:

hsl(66, 76%, 52%)RGB to HSL Converter →

HEX to CMYK

Convert #CFE228 to CMYK:

cmyk(8%, 0%, 82%, 11%)Color Converter →

Color Meaning and Usage

A striking yellow tone, #CFE228 has RGB (207, 226, 40) and HSL (66°, 76%, 52%). Known for evoking nature and harmony, this green hue is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #CFE228 is #3A28E2, creating high-contrast pairings. For softer combinations, try analogous colors like #E29728.

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

Contrast with #CFE228

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #CFE228?

#CFE228 is a striking yellow color - a green hue that evokes nature and harmony.

What is the RGB value of #CFE228?

#CFE228 in RGB is (207, 226, 40) - 207 red, 226 green, and 40 blue.

How to use #CFE228 in CSS?

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

What colors go well with #CFE228?

#3A28E2 (complementary), #E29728 (analogous), and #98A617 (lighter shade) work well with #CFE228.