HEX Color Conversion

Hex Color Code #DEF287 — RGB & HSL Conversions

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

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

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

In the digital sRGB color space, the hex value #DEF287 is converted to RGB values of Red: 222, Green: 242, and Blue: 135. When analyzed under the HSL model, its coordinates correspond to hue angle 71°, 80% 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 #DEF287

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

Red Channel 222
Green Channel 242
Blue Channel 135
Luminance 0.808

HEX #DEF287 Color Space Conversions

Click to copy format
HEX Color Code #DEF287
RGB (Red Green Blue) rgb(222, 242, 135)
HSL (Hue Sat Light) hsl(71°, 80%, 74%)
CMYK (Commercial Print) cmyk(8%, 0%, 44%, 5%)
HSV / HSB Values hsv(71°, 44%, 95%)
Decimal Color Code 14611079
CSS Custom Variable --color-hex: #DEF287;
Tailwind CSS Utility bg-[#DEF287]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #DEF287

Small body copy preview

Black Text on Background

Black text readability test with #DEF287

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 #DEF287 */
--color-hex: #DEF287;
--color-rgb: rgb(222, 242, 135);
--color-hsl: hsl(71deg, 80%, 74%);

Adjacent HEX Color Codes

Copied!