#AFC270 Color Information

Hex color code: #AFC270

The hex color #AFC270 is a delicate yellow with RGB values of (175, 194, 112) and HSL of (74°, 40%, 60%). It is popular in mobile app design.

Try:
Color NameDark Sea Green
HEX
#AFC270
RGB
175, 194, 112
HSL
74°, 40%, 60%
CMYK
10%, 0%, 42%, 24%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AFC270; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 194, 112

Red: 175 / Green: 194 / Blue: 112

HSL

74°, 40%, 60%

Hue: 74° / Saturation: 40% / Lightness: 60%

CMYK

10%, 0%, 42%, 24%

Cyan: 10% / Magenta: 0% / Yellow: 42% / Key: 24%

What color is #AFC270?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AFC270 to RGB:

rgb(175, 194, 112)HEX to RGB Converter →

HEX to HSL

Convert #AFC270 to HSL:

hsl(74, 40%, 60%)RGB to HSL Converter →

HEX to CMYK

Convert #AFC270 to CMYK:

cmyk(10%, 0%, 42%, 24%)Color Converter →

Color Meaning and Usage

#AFC270 is a gentle yellow color with RGB values of 175, 194, 112 and HSL of 74°, 40%, 60%. This green hue evokes nature and harmony, making it suitable for typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AFC270 is #8370C2, creating high-contrast pairings. For softer combinations, try analogous colors like #C2AC70.

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

Contrast with #AFC270

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AFC270?

#AFC270 is a gentle yellow color - a green hue that evokes nature and harmony.

What is the RGB value of #AFC270?

#AFC270 in RGB is (175, 194, 112) - 175 red, 194 green, and 112 blue.

How to use #AFC270 in CSS?

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

What colors go well with #AFC270?

#8370C2 (complementary), #C2AC70 (analogous), and #8BA145 (lighter shade) work well with #AFC270.