#1F5136 color
The hex color #1F5136 is a dark, desaturated green.
In the RGB color model it is made of 12.2% red, 31.8% green and 21.2% blue (31, 81, 54).
Its hue angle is 148°, with 45% saturation and 22% lightness. For print, the CMYK equivalent is 62% cyan, 0% magenta, 33% yellow and 68% black.
The closest named color is Zucchini (#17462E), a difference of 3.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.18:1).
#1F5136 color codes
| HEX | #1F5136 | |
|---|---|---|
| RGB | rgb(31, 81, 54) | |
| RGB percent | rgb(12.2%, 31.8%, 21.2%) | |
| HSL | hsl(148, 45%, 22%) | |
| HSV / HSB | hsv(148, 62%, 32%) | |
| CMYK | cmyk(62%, 0%, 33%, 68%) | |
| CIE LAB | lab(30.5, -24.05, 10.96) | |
| CIE LCH | lch(30.5, 26.43, 155.5) | |
| CIE XYZ | xyz(4.173, 6.442, 4.513) | |
| Decimal | 2052406 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1F5136, 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 #1F5136 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.29:1 | Fail | Fail | Fail |
| Sample text | 9.18:1 | Pass | Pass | Pass |
| #1F5136 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.18:1 | Pass | Pass | Pass |
| Sample text | 2.29:1 | Fail | Fail | Fail |
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 #1F5136 looks to people with the most common types of color vision deficiency.
#504b34Protanopia
no red cones#494638Deuteranopia
no green cones#0e504aTritanopia
no blue cones#484848Achromatopsia
no color vision
CSS examples
.background { background-color: #1f5136; }
.text { color: #1f5136; }
.border { border: 2px solid #1f5136; }
.transparent { background-color: rgb(31 81 54 / 50%); }
.gradient { background: linear-gradient(to right, #1f5136, #1f514f); }
Similar colors
#17462eZucchini#014426Lost in the Woods#1f5429Moor-Monster#004225British Racing Green#355e3bHunter Green#2a603bMidori#2b5d34Pine#125b49Evergreen
Questions
- What color is #1F5136?
- #1F5136 is a dark, desaturated green, closest to the named color Zucchini. It belongs to the green family of colors.
- What is the RGB value of #1F5136?
- The RGB value is 31, 81, 54: 31 red, 81 green and 54 blue on a 0 to 255 scale.
- What is the complementary color of #1F5136?
- The complementary color is #511F3A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1F5136?
- White text. Black text has a contrast ratio of 2.29:1 and white text 9.18:1. WCAG asks for at least 4.5:1 for normal text.