HEX Color Conversion

Hex Color Code #FFAB50 — RGB & HSL Conversions

How to use the #FFAB50 color code in HTML & CSS?

To apply the hex color #FFAB50 in web design, set the color property inside your CSS stylesheet. For example, adding background-color: #FFAB50; will paint elements in this warm undertone shade. In modern CSS structures, you can configure it as a custom variable --color-hex: #FFAB50; or utilize it directly in Tailwind CSS via arbitrary utility values like bg-[#FFAB50].

What are the RGB and HSL conversion values for #FFAB50?

In the digital sRGB color space, the hex value #FFAB50 is converted to RGB values of Red: 255, Green: 171, and Blue: 80. When analyzed under the HSL model, its coordinates correspond to hue angle 31°, 100% saturation, and 66% lightness. This makes it visually a balanced medium tone with a highly vivid, intense, and brilliant shade.

CMYK print code settings for #FFAB50

When converting #FFAB50 for CMYK printing, the color separation consists of 0% Cyan, 33% Magenta, 69% Yellow, and 0% key/black. Orange balances warmth and friendliness, serving as a bright focal accent in active user interfaces.

Red Channel 255
Green Channel 171
Blue Channel 80
Luminance 0.510

HEX #FFAB50 Color Space Conversions

Click to copy format
HEX Color Code #FFAB50
RGB (Red Green Blue) rgb(255, 171, 80)
HSL (Hue Sat Light) hsl(31°, 100%, 66%)
CMYK (Commercial Print) cmyk(0%, 33%, 69%, 0%)
HSV / HSB Values hsv(31°, 69%, 100%)
Decimal Color Code 16755536
CSS Custom Variable --color-hex: #FFAB50;
Tailwind CSS Utility bg-[#FFAB50]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #FFAB50

Small body copy preview

Black Text on Background

Black text readability test with #FFAB50

Small body copy preview

Complementary & Analogous Harmonies

Perfect matching color schemes for your designs

Shades & Tints Generator Matrix

Copy shade hex values instantly

Darker Shades (Adding Black)

Lighter Tints (Adding White)

{ } CSS Custom Properties (Variables)

Copy CSS Styles
/* CSS Custom Properties for color #FFAB50 */
--color-hex: #FFAB50;
--color-rgb: rgb(255, 171, 80);
--color-hsl: hsl(31deg, 100%, 66%);

Adjacent HEX Color Codes

Copied!