#21260A color
The hex color #21260A is a very dark, moderate yellow-green.
In the RGB color model it is made of 12.9% red, 14.9% green and 3.9% blue (33, 38, 10).
Its hue angle is 71°, with 58% saturation and 9% lightness. For print, the CMYK equivalent is 13% cyan, 0% magenta, 74% yellow and 85% black.
The closest named color is Midnight Pines (#17240B), a difference of 4.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.6:1).
#21260A color codes
| HEX | #21260A | |
|---|---|---|
| RGB | rgb(33, 38, 10) | |
| RGB percent | rgb(12.9%, 14.9%, 3.9%) | |
| HSL | hsl(71, 58%, 9%) | |
| HSV / HSB | hsv(71, 74%, 15%) | |
| CMYK | cmyk(13%, 0%, 74%, 85%) | |
| CIE LAB | lab(14.01, -7.52, 16.3) | |
| CIE LCH | lch(14.01, 17.95, 114.76) | |
| CIE XYZ | xyz(1.375, 1.731, 0.549) | |
| Decimal | 2172426 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #21260A, 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 #21260A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.35:1 | Fail | Fail | Fail |
| Sample text | 15.6:1 | Pass | Pass | Pass |
| #21260A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.6:1 | Pass | Pass | Pass |
| Sample text | 1.35: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 #21260A looks to people with the most common types of color vision deficiency.
#292407Protanopia
no red cones#28240cDeuteranopia
no green cones#232420Tritanopia
no blue cones#242424Achromatopsia
no color vision
CSS examples
.background { background-color: #21260a; }
.text { color: #21260a; }
.border { border: 2px solid #21260a; }
.transparent { background-color: rgb(33 38 10 / 50%); }
.gradient { background: linear-gradient(to right, #21260a, #13260a); }
Similar colors
#17240bMidnight Pines#172808Lindworm Green#223311Darkest Forest#112211Nightmare#333300Wasabi Nori#1e231cUnderworld#2b2e26Marshland#091101Memorial Black
Closest common color name: Onyx.
Questions
- What color is #21260A?
- #21260A is a very dark, moderate yellow-green, closest to the named color Midnight Pines. It belongs to the green family of colors.
- What is the RGB value of #21260A?
- The RGB value is 33, 38, 10: 33 red, 38 green and 10 blue on a 0 to 255 scale.
- What is the complementary color of #21260A?
- The complementary color is #0F0A26, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #21260A?
- White text. Black text has a contrast ratio of 1.35:1 and white text 15.6:1. WCAG asks for at least 4.5:1 for normal text.