#172304 color
The hex color #172304 is a very dark, moderate yellow-green.
In the RGB color model it is made of 9% red, 13.7% green and 1.6% blue (23, 35, 4).
Its hue angle is 83°, with 79% saturation and 8% lightness. For print, the CMYK equivalent is 34% cyan, 0% magenta, 89% yellow and 86% black.
The closest named color is Midnight Pines (#17240B), a difference of 1.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 16.42:1).
#172304 color codes
| HEX | #172304 | |
|---|---|---|
| RGB | rgb(23, 35, 4) | |
| RGB percent | rgb(9%, 13.7%, 1.6%) | |
| HSL | hsl(83, 79%, 8%) | |
| HSV / HSB | hsv(83, 89%, 14%) | |
| CMYK | cmyk(34%, 0%, 89%, 86%) | |
| CIE LAB | lab(11.91, -11.62, 15.78) | |
| CIE LCH | lch(11.91, 19.6, 126.35) | |
| CIE XYZ | xyz(0.976, 1.393, 0.332) | |
| Decimal | 1516292 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #172304, 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 #172304 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.28:1 | Fail | Fail | Fail |
| Sample text | 16.42:1 | Pass | Pass | Pass |
| #172304 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.42:1 | Pass | Pass | Pass |
| Sample text | 1.28: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 #172304 looks to people with the most common types of color vision deficiency.
#252001Protanopia
no red cones#241f06Deuteranopia
no green cones#18211dTritanopia
no blue cones#1f1f1fAchromatopsia
no color vision
CSS examples
.background { background-color: #172304; }
.text { color: #172304; }
.border { border: 2px solid #172304; }
.transparent { background-color: rgb(23 35 4 / 50%); }
.gradient { background: linear-gradient(to right, #172304, #072304); }
Similar colors
#17240bMidnight Pines#172808Lindworm Green#112211Nightmare#223311Darkest Forest#113311Dark Serpent#032e0eHaunted Forest#002d04PCB Green#003311Haunted Hills
Closest common color name: British Racing Green.
Questions
- What color is #172304?
- #172304 is a very dark, moderate yellow-green, closest to the named color Midnight Pines. It belongs to the black family of colors.
- What is the RGB value of #172304?
- The RGB value is 23, 35, 4: 23 red, 35 green and 4 blue on a 0 to 255 scale.
- What is the complementary color of #172304?
- The complementary color is #100423, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #172304?
- White text. Black text has a contrast ratio of 1.28:1 and white text 16.42:1. WCAG asks for at least 4.5:1 for normal text.