#def31e Color Information

#def31e Color Information
Details | Shades, Tints, and Tones | Variations | Color Coordinates | Color Schemes | HTML+CSS Examples | Coding & Programming | Color Blindness | Accessibility | Related Colors

The hexadecimal value (hex value) of this color is #def31e. In RGB, it consists of 87.1% Red, 95.3% Green, and 11.8% Blue. Likewise, in the CMYK color space, it consists of 8.6% Cyan, 0% Magenta, 87.7% Yellow, and 4.7% Black. On the color wheel, its Hue is found at 65.9°, with saturation of 89.9% and lightness of 53.5%. The decimal value for #def31e is 14611230, and its nearest "web safe" color is #ccff33. In the RGB color space, the strongest component for #def31e is green. In the CMYK color space, its strongest component is yellow. And in the RYB color space, its strongest component is yellow.
  • HexHex code for this color#def31e Copy
  • NameThe common name of this color(Unnamed) Copy
  • RGBRed, Green, Blue composition for this color222, 243, 30 Copy
  • RGB PercentPercent Red, Green, Blue composition for this color87.1%, 95.3%, 11.8% Copy
  • CMYCyan, Magenta, Yellow composition for this color0.129, 0.047, 0.882 Copy
  • CMYKCyan, Magenta, Yellow, Black composition for this color0.086, 0, 0.877, 0.047 Copy
  • HSLHue, Saturation, Lightness combination for this color65.9°, 89.9%, 53.5% Copy
  • HSV (or HSB)Hue, Saturation, Brightness combination for this color65.9°, 87.7%, 95.3% Copy
  • XYZCIE 1931 color space XYZ coordinates for this color62.409, 79.725, 13.327 Copy
  • RYBRed, Yellow, Blue composition for this color30, 243, 51 Copy
  • DecimalDecimal representation of this color's hex code14611230 Copy
  • CIE-LABCIELAB color space coordinates for this color91.561, -29.042, 86.148 Copy
  • CIE-LCHCIE-LCH color space coordinates for this color (chroma, hue, etc.)91.561, 90.912, 108.630 Copy
  • CIE-LUVCIE-LUV color space coordinates for this color91.561, -6.611, 100.393 Copy
  • Hunter LabHunter-Lab color space coordinates for this color89.289, -31.491, 53.652 Copy
  • xyYCIE xyY color space coordinates for this color0.401, 0.513, 79.725 Copy
  • AndroidValue of this color in Android development4292801310 / 0xffdef31e Copy
  • Web SafeHex code of the nearest "web safe" version of this color#ccff33 Copy
Last Updated: April 6, 2025

Shades of #def31e

Shades are created by adding black to or removing lightness from a particular color. For #def31e, its pure hue is 65.9° on the color wheel and its saturation is 89.9%, and its lightness is 53.5%. As the amount of black is added to this hue and we reduce its lightness, the result is increasingly darker shades tints. The palette given below provides 9 different shades of #def31e, which — excluding black and our original color — range from #1c1e04 to #c2d51a.

Tints of #def31e

Tints are created by adding white or lightness to a particular color. For #def31e, its pure hue is 65.9° on the color wheel and its saturation is 89.9%, and its lightness is 53.5%. As the amount of white (lightness) is added to this hue, the result is increasingly lighter tints. The following palette gives 9 different tints of #def31e, which — excluding white and our original color — range from #e2f53a to #fbfee3.

Tones of #def31e

Tones are the result of adding gray to a pure hue. In the case of #def31e, its pure hue is 65.9° on the color wheel and its saturation is 89.9%, so we increase this saturation to create more colorful tones, and decrease the saturation to create grayer tones. The palette shown below gives 9 different tones of #def31e, which range from #898989 (the grayest / 0% saturation) to #e8ff12 (the most colorful / 100% saturation).

Variations of #def31e

There are several ways to create color variations and premutations of #def31e! For #def31e, there are 6 variations of the color that can be created by swapping its Red, Green, and Blue color positions, of which 5 are different from our original color. Among these six variations, there are 6 unique colors including our original color, #def31e. Click on these colors to learn more about them, too!

Color Coordinates of #def31e

This color, #def31e, consists of 87.1% Red, 95.3% Green, and 11.8% Blue, resulting in color coordinates Red = 222, Green = 243, Blue = 30. Likewise, the CMYK color space composition for #def31e is 8.6% Cyan, 0% Magenta, 87.7% Yellow, and 4.7% Black. These values are shown in the following charts and tables.

R87.1%
C8.6%
G95.3%
M0.0%
B11.8%
Y87.7%
K4.7%
Color Base R (Red) G (Green) B (Blue)
Decimal 222 243 30
Octal 336 363 36
Hexa #de #f3 #1e
Binary 11011110 11110011 00011110
Color Base C (Cyan) M (Magenta) Y (Yellow) Y (Black)
Decimal 8 0 87 4
Octal 10 0 127 4
Hexa #08 #00 #57 #04
Binary 00001000 00000000 01010111 00000100

Analogous Colors of #def31e

Analogous colors are located 30 degrees away from a color's hue on the color wheel. For #def31e — which has hue 65.9° — its analogous colors are located at 35.9° and 95.9° on the color wheel, with the same saturation and lightness as #def31e.

Triadic Colors of #def31e

Triadic colors are located 120 degrees away from a color's hue on the color wheel, which means the original color and its triadic colors are equidistant from one another on the color wheel and form a triangle. For #def31e — which has hue 65.9° — its triadic colors are located at 65.9° and 305.9° on the color wheel, with the same saturation and lightness as #def31e.

Complementary Color of #def31e

A complementary color is located opposite a color on the color wheel (180 degrees away). For #def31e — which has hue 65.9° — its complementary color is located at 245.9° on the color wheel, with the same saturation and lightness as #def31e.

Split Complementary Colors of #def31e

Split complementary colors are the analogs of a color's complement, which places them 210 degrees away on the color wheel from an original color. For #def31e — which has hue 65.9° — its split complementary colors its split complementary colors are located at 65.9° and 275.9° on the color wheel, with the same saturation and lightness as #def31e.

Tetradic Colors of #def31e

Tetradic colors are two sets of complementary colors on either side of a color wheel from each other, forming a rectangle on the color wheel. For #def31e — which has hue 65.9° — its tetradic colors are located at 335.9°, 65.9°, 155.9°, and 245.9° on the color wheel, with the same saturation and lightness as #def31e.

Monochromatic Colors of #def31e

Monochromatic colors are colors that share a common hue but that have different saturations and lightness. For #def31e, we show 9 different monochromatic colors of it, ranging from #828f0c — (which has very low saturation and very low lightness) — to #f1fc8c (which has a very high saturation and very high lightness).

HTML+CSS Examples & Previews of #def31e

We want to make getting started with #def31e on your website fast and easy! Below are 8 examples of how to integrate #def31e into a website using HTML+CSS. These examples include showing how #def31e can be used to color text, backgrounds, shadows, and borders, as well as how it can be used as a solid fill or gradient fill for rectangles. These examples principally make use of <span> and <div> tags, although the CSS shown in particular can be repurposed to make use of #def31e with other HTML elements.

#def31e Foreground / Text Color

The color of this text is #def31e.
<span style="color: #def31e;">The color of this text is #def31e.</span>

#def31e Background Color

The background color for this text is #def31e.
<div style="background-color: #def31e; width:100%; height:100%; display: flex; justify-content: center; align-items: center;">The background color for this text is #def31e.</div>

#def31e Text Shadow Color

This color for the shadow of this text is #def31e.
<span style="text-shadow: 3px 3px 3px #def31e;">This color for the shadow of this text is #def31e.</span>

#def31e Border Color

This is a div with border color #def31e.
<div style="border: #def31e 4px solid;width:100%; height:100%; display: flex; justify-content: center; align-items: center;">This is a div with border color #def31e.</div>

#def31e Color Rectangle on a White Background

This is a rectangle of color #def31e on a white background.
<div style="background-color: #ffffff; padding: 60px; width:100%; height: 100%;"><div style="background-color: #def31e; width:100%; height:100%; padding: 10px; display: flex; justify-content: center; align-items: center;">This is a rectangle of color #def31e on a white background.</div></div>

#def31e Color Rectangle on a Black Background

This is a rectangle of color #def31e on a black background.
<div style="background-color: #000000; padding: 60px; width:100%; height: 100%;"><div style="background-color: #def31e; width:100%; height:100%; padding: 10px; display: flex; justify-content: center; align-items: center;">This is a rectangle of color #def31e on a black background.</div></div>

Gradient from #def31e to White

This is a gradient from #def31e to white.
<div style="background: -webkit-linear-gradient(left,#def31e,white); /* Firefox */ background: linear-gradient(to right,#def31e,white); /* Safari */ background: -o-linear-gradient(left,#def31e,white); /* Opera */ background: -moz-linear-gradient(left,#def31e,white); width:100%; height:100%; display: flex; justify-content: center; align-items: center;">This is a gradient from #def31e to white.</div>

Gradient from #def31e to Black

This is a gradient from #def31e to black.
<div style="background: -webkit-linear-gradient(left,#def31e,black); /* Firefox */ background: linear-gradient(to right,#def31e,black); /* Safari */ background: -o-linear-gradient(left,#def31e,black); /* Opera */ background: -moz-linear-gradient(left,#def31e,black); color: #ffffff; width:100%; height:100%; display: flex; justify-content: center; align-items: center;">This is a gradient from #def31e to black.</div>

Coding & Programming with #def31e

In addition to using #def31e on the web, we know you might want to use it in your mobile and desktop apps, too. Whatever your needs, the table below shows how to access #def31e in the language and environment of your choice. These code snippets are principally the hexadecimal representation of #def31e, or the RGB color coordinates for the same (Red = 222, Green = 243, Blue = 30). If you need details about the color coordinates of #def31e in other color spaces, refer to these details as provided toward the top of this page.

Language Environment Code Snippet
HTML + CSS (Hex Code) Web #def31e
HTML + CSS (RGB Code) Web rgb(222, 243, 30)
CSS Background Color Web .myclass { background-color: #def31e; }
CSS Foreground + Text Color Web .myclass { color: #def31e; }
CSS Border Color Web .myclass { border: 2px solid #def31e; }
Java (Multi-platform) new Color(222, 243, 30);
Python (Multi-platform) Color("#def31e")
Swift iOS UIColor(red:222, green:243, blue:30, alpha:1.0000)
Objective-C (iOS) iOS [UIColor colorWithRed:222 green:243 blue:30 alpha:1.0000];
OpenGL (Graphics) glColor3f(222f, 243f, 30f);
C# / .NET Windows Color.FromArgb(222, 243, 30);
 

#def31e Color Blindness

Not everyone can see #def31e the same way. For those with color blindness, #def31e might look very, very different. Here, we simulate eight examples of color blindness, and how #def31e looks next to each one of them. In all cases, #def31e is placed in a circle in the upper-left corner of each of the below boxes, with the color in the rest of those boxes signifying how #def31e looks for someone with that type of color blindness. Many people will perceive close similarities between the colors in these boxes and the colors in the circles — with some noticing particular similarities. We offer this insight so that as you make choices about colors to use for your purposes, you can make an informed decision about whether #def31e will be a good fit for everyone in your audience!

Trichromacy

Protanomaly
Affects 1 in 100 Men & 1 in 10,000 Women

Deuteranomaly
Affects 1 in 17 Men & 1 in 250 Women

Tritanomaly
Affects 1 in 10,000

Dichromacy

Protanopia
Affects 1 in 100, Mostly Men

Deuteranopia
Affects 1 in 100, Mostly Men

Tritanopia
Affects 1 in 100,000

Monochromacy

Achromatopsia
Affects 1 in 20,000

Achromatopsia
Affects 1 in 100,000

Accessibility

Not Accessibility Recommended

We analyzed whether #def31e is an accessible color when used as a text / foreground color against a white background. This analysis is based on the Web Content Accessibility Guidelines (WCAG) 2 Level issued by W3C. Based on this analysis, we calculate a contrast ratio against white of approximately 1.2:1 against white. Under both the AA and AAA level standards, this is not a high enough ratio to be considered accessible for either normal size or large text.

WCAG AA
Normal Size Text

WCAG AA
Large Size Text

WCAG AAA
Normal Size Text

WCAG AAA
Large Size Text