#9E8228 Color Information

Hex color code: #9E8228

A neutral yellow shade, #9E8228 appears as (158, 130, 40) in RGB and (46°, 60%, 39%) in HSL. It is commonly used in modern UI design.

Try:
Color NameDark Goldenrod
HEX
#9E8228
RGB
158, 130, 40
HSL
46°, 60%, 39%
CMYK
0%, 18%, 75%, 38%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #9E8228; 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 #9E8228; background-color: #9E822815; }

Alert / Toast

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

Link / Accent

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

a { color: #9E8228; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #9E8228 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

158, 130, 40

Red: 158 / Green: 130 / Blue: 40

HSL

46°, 60%, 39%

Hue: 46° / Saturation: 60% / Lightness: 39%

CMYK

0%, 18%, 75%, 38%

Cyan: 0% / Magenta: 18% / Yellow: 75% / Key: 38%

What color is #9E8228?

#9E8228 is a orange-yellow hue associated with optimism and creativity.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #9E8228 to RGB:

rgb(158, 130, 40)HEX to RGB Converter →

HEX to HSL

Convert #9E8228 to HSL:

hsl(46, 60%, 39%)RGB to HSL Converter →

HEX to CMYK

Convert #9E8228 to CMYK:

cmyk(0%, 18%, 75%, 38%)Color Converter →

Color Meaning and Usage

#9E8228 is a balanced yellow color with RGB values of 158, 130, 40 and HSL of 46°, 60%, 39%. This orange-yellow hue evokes optimism and creativity, making it suitable for typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #9E8228 is #28449F, creating high-contrast pairings. For softer combinations, try analogous colors like #9F4828.

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

Contrast with #9E8228

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

Contrast Ratio: 5.68:1
WCAG AA: Pass
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #9E8228?

#9E8228 is a balanced yellow color - a orange-yellow hue that evokes optimism and creativity.

What is the RGB value of #9E8228?

#9E8228 in RGB is (158, 130, 40) - 158 red, 130 green, and 40 blue.

How to use #9E8228 in CSS?

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

What colors go well with #9E8228?

#28449F (complementary), #9F4828 (analogous), and #625118 (lighter shade) work well with #9E8228.