#252E18 color
The hex color #252E18 is a very dark, desaturated yellow-green.
In the RGB color model it is made of 14.5% red, 18% green and 9.4% blue (37, 46, 24).
Its hue angle is 85°, with 31% saturation and 14% lightness. For print, the CMYK equivalent is 20% cyan, 0% magenta, 48% yellow and 82% black.
The closest named color is Midnight Pines (#17240B), a difference of 4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 14.16:1).
#252E18 color codes
| HEX | #252E18 | |
|---|---|---|
| RGB | rgb(37, 46, 24) | |
| RGB percent | rgb(14.5%, 18%, 9.4%) | |
| HSL | hsl(85, 31%, 14%) | |
| HSV / HSB | hsv(85, 48%, 18%) | |
| CMYK | cmyk(20%, 0%, 48%, 82%) | |
| CIE LAB | lab(17.52, -8.68, 12.93) | |
| CIE LCH | lch(17.52, 15.57, 123.87) | |
| CIE XYZ | xyz(1.905, 2.413, 1.229) | |
| Decimal | 2436632 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #252E18, 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 #252E18 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.48:1 | Fail | Fail | Fail |
| Sample text | 14.16:1 | Pass | Pass | Pass |
| #252E18 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.16:1 | Pass | Pass | Pass |
| Sample text | 1.48: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 #252E18 looks to people with the most common types of color vision deficiency.
#302b16Protanopia
no red cones#2f2b19Deuteranopia
no green cones#262c29Tritanopia
no blue cones#2b2b2bAchromatopsia
no color vision
CSS examples
.background { background-color: #252e18; }
.text { color: #252e18; }
.border { border: 2px solid #252e18; }
.transparent { background-color: rgb(37 46 24 / 50%); }
.gradient { background: linear-gradient(to right, #252e18, #1a2e18); }
Similar colors
#17240bMidnight Pines#223311Darkest Forest#172808Lindworm Green#112211Nightmare#2b2e26Marshland#1e231cUnderworld#113311Dark Serpent#2f441fForestry
Closest common color name: Onyx.
Questions
- What color is #252E18?
- #252E18 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 #252E18?
- The RGB value is 37, 46, 24: 37 red, 46 green and 24 blue on a 0 to 255 scale.
- What is the complementary color of #252E18?
- The complementary color is #21182E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #252E18?
- White text. Black text has a contrast ratio of 1.48:1 and white text 14.16:1. WCAG asks for at least 4.5:1 for normal text.