#242B17 color
The hex color #242B17 is a very dark, desaturated yellow-green.
In the RGB color model it is made of 14.1% red, 16.9% green and 9% blue (36, 43, 23).
Its hue angle is 81°, with 30% saturation and 13% lightness. For print, the CMYK equivalent is 16% cyan, 0% magenta, 47% yellow and 83% black.
The closest named color is Midnight Pines (#17240B), a difference of 4.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 14.66:1).
#242B17 color codes
| HEX | #242B17 | |
|---|---|---|
| RGB | rgb(36, 43, 23) | |
| RGB percent | rgb(14.1%, 16.9%, 9%) | |
| HSL | hsl(81, 30%, 13%) | |
| HSV / HSB | hsv(81, 47%, 17%) | |
| CMYK | cmyk(16%, 0%, 47%, 83%) | |
| CIE LAB | lab(16.33, -7.42, 12.03) | |
| CIE LCH | lch(16.33, 14.14, 121.65) | |
| CIE XYZ | xyz(1.746, 2.165, 1.136) | |
| Decimal | 2370327 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #242B17, 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 #242B17 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.43:1 | Fail | Fail | Fail |
| Sample text | 14.66:1 | Pass | Pass | Pass |
| #242B17 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.66:1 | Pass | Pass | Pass |
| Sample text | 1.43: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 #242B17 looks to people with the most common types of color vision deficiency.
#2d2916Protanopia
no red cones#2c2818Deuteranopia
no green cones#252926Tritanopia
no blue cones#282828Achromatopsia
no color vision
CSS examples
.background { background-color: #242b17; }
.text { color: #242b17; }
.border { border: 2px solid #242b17; }
.transparent { background-color: rgb(36 43 23 / 50%); }
.gradient { background: linear-gradient(to right, #242b17, #1a2b17); }
Similar colors
#17240bMidnight Pines#172808Lindworm Green#112211Nightmare#223311Darkest Forest#2b2e26Marshland#1e231cUnderworld#2b322dTerminal Black#091101Memorial Black
Closest common color name: Onyx.
Questions
- What color is #242B17?
- #242B17 is a very dark, desaturated yellow-green, closest to the named color Midnight Pines. It belongs to the green family of colors.
- What is the RGB value of #242B17?
- The RGB value is 36, 43, 23: 36 red, 43 green and 23 blue on a 0 to 255 scale.
- What is the complementary color of #242B17?
- The complementary color is #1E172B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #242B17?
- White text. Black text has a contrast ratio of 1.43:1 and white text 14.66:1. WCAG asks for at least 4.5:1 for normal text.