#21230A color
The hex color #21230A is a very dark, moderate yellow.
In the RGB color model it is made of 12.9% red, 13.7% green and 3.9% blue (33, 35, 10).
Its hue angle is 65°, with 56% saturation and 9% lightness. For print, the CMYK equivalent is 6% cyan, 0% magenta, 71% yellow and 86% black.
The closest named color is Midnight Pines (#17240B), a difference of 5.6 ΔE.
White text is the more readable choice on this background (contrast 16.04:1).
#21230A color codes
| HEX | #21230A | |
|---|---|---|
| RGB | rgb(33, 35, 10) | |
| RGB percent | rgb(12.9%, 13.7%, 3.9%) | |
| HSL | hsl(65, 56%, 9%) | |
| HSV / HSB | hsv(65, 71%, 14%) | |
| CMYK | cmyk(6%, 0%, 71%, 86%) | |
| CIE LAB | lab(12.91, -5.54, 14.84) | |
| CIE LCH | lch(12.91, 15.84, 110.48) | |
| CIE XYZ | xyz(1.283, 1.547, 0.518) | |
| Decimal | 2171658 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #21230A, 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 #21230A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.31:1 | Fail | Fail | Fail |
| Sample text | 16.04:1 | Pass | Pass | Pass |
| #21230A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.04:1 | Pass | Pass | Pass |
| Sample text | 1.31: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 #21230A looks to people with the most common types of color vision deficiency.
#262108Protanopia
no red cones#26220bDeuteranopia
no green cones#24211dTritanopia
no blue cones#212121Achromatopsia
no color vision
CSS examples
.background { background-color: #21230a; }
.text { color: #21230a; }
.border { border: 2px solid #21230a; }
.transparent { background-color: rgb(33 35 10 / 50%); }
.gradient { background: linear-gradient(to right, #21230a, #14230a); }
Similar colors
#17240bMidnight Pines#172808Lindworm Green#1e231cUnderworld#112211Nightmare#2b2e26Marshland#223311Darkest Forest#091101Memorial Black#333300Wasabi Nori
Closest common color name: Onyx.
Questions
- What color is #21230A?
- #21230A is a very dark, moderate yellow, closest to the named color Midnight Pines. It belongs to the yellow family of colors.
- What is the RGB value of #21230A?
- The RGB value is 33, 35, 10: 33 red, 35 green and 10 blue on a 0 to 255 scale.
- What is the complementary color of #21230A?
- The complementary color is #0C0A23, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #21230A?
- White text. Black text has a contrast ratio of 1.31:1 and white text 16.04:1. WCAG asks for at least 4.5:1 for normal text.