HEX Color Conversion

Hex Color Code #7F8800 — RGB & HSL Conversions

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

For developers, implementing the #7F8800 color code involves declaring it in your styles. In stylesheet designs, use color: #7F8800; for text alignment. If you are developing with utility-first layouts, you can invoke it in Tailwind as text-[#7F8800] or custom configure it in your theme files.

What are the RGB and HSL conversion values for #7F8800?

The RGB code for #7F8800 is computed as rgb(127, 136, 0). Web designers using HSL values will find it at a hue of 64°, saturation of 100%, and lightness index of 27%, representing a highly vivid, intense, and brilliant shade.

CMYK print code settings for #7F8800

For print design setups, the CMYK values for the #7F8800 color code are Cyan: 7%, Magenta: 0%, Yellow: 100%, and Black: 47%. Yellow shades are excellent warning triggers and call-to-actions, radiating optimism, energy, and caution.

Red Channel 127
Green Channel 136
Blue Channel 0
Luminance 0.221

HEX #7F8800 Color Space Conversions

Click to copy format
HEX Color Code #7F8800
RGB (Red Green Blue) rgb(127, 136, 0)
HSL (Hue Sat Light) hsl(64°, 100%, 27%)
CMYK (Commercial Print) cmyk(7%, 0%, 100%, 47%)
HSV / HSB Values hsv(64°, 100%, 53%)
Decimal Color Code 8357888
CSS Custom Variable --color-hex: #7F8800;
Tailwind CSS Utility bg-[#7F8800]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #7F8800

Small body copy preview

Black Text on Background

Black text readability test with #7F8800

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 #7F8800 */
--color-hex: #7F8800;
--color-rgb: rgb(127, 136, 0);
--color-hsl: hsl(64deg, 100%, 27%);

Adjacent HEX Color Codes

Copied!