Amber Color — HEX, RGB, HSL & CMYK Codes

#feb308
Format Value
HEX #feb308
RGB rgb(254, 179, 8)
HSL hsl(41.7, 99.2%, 51.4%)
CMYK cmyk(0%, 29.5%, 96.9%, 0.4%)
HSV hsv(41.7, 96.9%, 99.6%)

amber color harmonies

Tints & shades of amber

Tints (lighter)

#feba1e #fec135 #fec84b #fecf62 #fed678 #ffdc8f #ffe3a5 #ffeabc #fff1d2 #fff8e9

Shades (darker)

#e7a307 #d09207 #b98206 #a27205 #8b6204 #735104 #5c4103 #453102 #2e2101 #171001

Contrast & accessibility

The quick brown fox

On white · 1.8:1 · Fail

The quick brown fox

On black · 11.67:1 · AAA

Recommended text color: #000000

Use amber in code

CSS color: #feb308;
SCSS $color: #feb308;
Tailwind bg-[#feb308]
Swift UIColor(red: 0.996, green: 0.702, blue: 0.031, alpha: 1)
Android Color.parseColor("#feb308")
Flutter Color(0xFFFEB308)

Colors similar to amber

Browse all Orange colors →

What is the HEX code for amber?

The CSS color amber in HEX format is #feb308. Use this value directly in CSS, SVG, and most design tools.

How do I use amber in CSS?

To apply amber in CSS:

  • Text color: color: #feb308;
  • Background: background-color: #feb308;
  • Border: border-color: #feb308;

What are all the color format values for amber?

FormatValue
HEX#feb308
RGBrgb(254, 179, 8)
HSLhsl(41.7, 99.2%, 51.4%)
CMYKcmyk(0%, 29.5%, 96.9%, 0.4%)

How do I convert amber to HEX?

Select amber from the color name list in our color converter. The HEX value — #feb308 — appears instantly alongside HEX, RGB, HSL and CMYK.

What color family does amber belong to?

amber belongs to the orange color family. It is a medium, vivid color with HSL values: hue 41.7°, saturation 99.2%, lightness 51.4%.

How do I create lighter and darker shades of amber?

Lighter variant (lightness 66.4%): #feca54. Darker variant (lightness 36.4%): #b98101. These values are computed by adjusting HSL lightness ±15% while keeping the same hue and saturation.

What is HEX used for?

HEX color codes are used in CSS, HTML and design tools. They encode red, green and blue as two hexadecimal digits each (00–FF), forming a compact 6-character code like #ff0000.