HEX Color Conversion

Hex Color Code #9BA832 — RGB & HSL Conversions

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

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

What are the RGB and HSL conversion values for #9BA832?

The RGB code for #9BA832 is computed as rgb(155, 168, 50). Web designers using HSL values will find it at a hue of 67°, saturation of 54%, and lightness index of 43%, representing a balanced, moderate saturation.

CMYK print code settings for #9BA832

For print design setups, the CMYK values for the #9BA832 color code are Cyan: 8%, Magenta: 0%, Yellow: 70%, and Black: 34%. Yellow shades are excellent warning triggers and call-to-actions, radiating optimism, energy, and caution.

Red Channel 155
Green Channel 168
Blue Channel 50
Luminance 0.352

HEX #9BA832 Color Space Conversions

Click to copy format
HEX Color Code #9BA832
RGB (Red Green Blue) rgb(155, 168, 50)
HSL (Hue Sat Light) hsl(67°, 54%, 43%)
CMYK (Commercial Print) cmyk(8%, 0%, 70%, 34%)
HSV / HSB Values hsv(67°, 70%, 66%)
Decimal Color Code 10201138
CSS Custom Variable --color-hex: #9BA832;
Tailwind CSS Utility bg-[#9BA832]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #9BA832

Small body copy preview

Black Text on Background

Black text readability test with #9BA832

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 #9BA832 */
--color-hex: #9BA832;
--color-rgb: rgb(155, 168, 50);
--color-hsl: hsl(67deg, 54%, 43%);

Adjacent HEX Color Codes

Copied!