HEX Color Conversion

Hex Color Code #DEF087 — RGB & HSL Conversions

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

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

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

In the digital sRGB color space, the hex value #DEF087 is converted to RGB values of Red: 222, Green: 240, and Blue: 135. When analyzed under the HSL model, its coordinates correspond to hue angle 70°, 78% saturation, and 74% lightness. This makes it visually a bright, soft tint with a highly vivid, intense, and brilliant shade.

CMYK print code settings for #DEF087

When converting #DEF087 for CMYK printing, the color separation consists of 7% Cyan, 0% Magenta, 44% Yellow, and 6% key/black. Yellow shades are excellent warning triggers and call-to-actions, radiating optimism, energy, and caution.

Red Channel 222
Green Channel 240
Blue Channel 135
Luminance 0.796

HEX #DEF087 Color Space Conversions

Click to copy format
HEX Color Code #DEF087
RGB (Red Green Blue) rgb(222, 240, 135)
HSL (Hue Sat Light) hsl(70°, 78%, 74%)
CMYK (Commercial Print) cmyk(7%, 0%, 44%, 6%)
HSV / HSB Values hsv(70°, 44%, 94%)
Decimal Color Code 14610567
CSS Custom Variable --color-hex: #DEF087;
Tailwind CSS Utility bg-[#DEF087]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #DEF087

Small body copy preview

Black Text on Background

Black text readability test with #DEF087

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 #DEF087 */
--color-hex: #DEF087;
--color-rgb: rgb(222, 240, 135);
--color-hsl: hsl(70deg, 78%, 74%);

Adjacent HEX Color Codes

Copied!