HEX Color Conversion

Hex Color Code #6B8B23 — RGB & HSL Conversions

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

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

What are the RGB and HSL conversion values for #6B8B23?

The RGB code for #6B8B23 is computed as rgb(107, 139, 35). Web designers using HSL values will find it at a hue of 78°, saturation of 60%, and lightness index of 34%, representing a balanced, moderate saturation.

CMYK print code settings for #6B8B23

For print design setups, the CMYK values for the #6B8B23 color code are Cyan: 23%, Magenta: 0%, Yellow: 75%, and Black: 45%. Green-heavy spectrums are associated with organic elements and growth, making them highly effective for eco-conscious portals and wellness brands.

Red Channel 107
Green Channel 139
Blue Channel 35
Luminance 0.217

HEX #6B8B23 Color Space Conversions

Click to copy format
HEX Color Code #6B8B23
RGB (Red Green Blue) rgb(107, 139, 35)
HSL (Hue Sat Light) hsl(78°, 60%, 34%)
CMYK (Commercial Print) cmyk(23%, 0%, 75%, 45%)
HSV / HSB Values hsv(78°, 75%, 55%)
Decimal Color Code 7047971
CSS Custom Variable --color-hex: #6B8B23;
Tailwind CSS Utility bg-[#6B8B23]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #6B8B23

Small body copy preview

Black Text on Background

Black text readability test with #6B8B23

Small body copy preview

Complementary & Analogous Harmonies

Computed dynamically

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 #6B8B23 */
--color-hex: #6B8B23;
--color-rgb: rgb(107, 139, 35);
--color-hsl: hsl(78deg, 60%, 34%);

Adjacent HEX Color Codes

Copied!