#5E9717 color
The hex color #5E9717 is a dark, moderate yellow-green.
In the RGB color model it is made of 36.9% red, 59.2% green and 9% blue (94, 151, 23).
Its hue angle is 87°, with 74% saturation and 34% lightness. For print, the CMYK equivalent is 38% cyan, 0% magenta, 85% yellow and 41% black.
The closest named color is Gecko’s Dream (#669900), a difference of 2.3 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.91:1).
#5E9717 color codes
| HEX | #5E9717 | |
|---|---|---|
| RGB | rgb(94, 151, 23) | |
| RGB percent | rgb(36.9%, 59.2%, 9%) | |
| HSL | hsl(87, 74%, 34%) | |
| HSV / HSB | hsv(87, 85%, 59%) | |
| CMYK | cmyk(38%, 0%, 85%, 41%) | |
| CIE LAB | lab(56.66, -38.04, 55.02) | |
| CIE LCH | lch(56.66, 66.89, 124.66) | |
| CIE XYZ | xyz(15.837, 24.574, 4.719) | |
| Decimal | 6199063 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5E9717, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #5E9717 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.91:1 | Pass | Fail | Pass |
| Sample text | 3.55:1 | Fail | Fail | Pass |
| #5E9717 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.55:1 | Fail | Fail | Pass |
| Sample text | 5.91:1 | Pass | Fail | Pass |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #5E9717 looks to people with the most common types of color vision deficiency.
#9e8b00Protanopia
no red cones#968627Deuteranopia
no green cones#5f9080Tritanopia
no blue cones#888888Achromatopsia
no color vision
CSS examples
.background { background-color: #5e9717; }
.text { color: #5e9717; }
.border { border: 2px solid #5e9717; }
.transparent { background-color: rgb(94 151 23 / 50%); }
.gradient { background: linear-gradient(to right, #5e9717, #1e9717); }
Similar colors
#669900Gecko’s Dream#579229Basil#659c35Radiant Foliage#689938Hidden Valley#6a8e22Asparagus Sultan#3f9b0bGrass Is Greener#6b8e23Olive Drab#669841Bitter Leaf
Questions
- What color is #5E9717?
- #5E9717 is a dark, moderate yellow-green, closest to the named color Gecko’s Dream. It belongs to the green family of colors.
- What is the RGB value of #5E9717?
- The RGB value is 94, 151, 23: 94 red, 151 green and 23 blue on a 0 to 255 scale.
- What is the complementary color of #5E9717?
- The complementary color is #501797, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5E9717?
- Black text. Black text has a contrast ratio of 5.91:1 and white text 3.55:1. WCAG asks for at least 4.5:1 for normal text.