#222500 color
The hex color #222500 is a very dark, vivid yellow.
In the RGB color model it is made of 13.3% red, 14.5% green and 0% blue (34, 37, 0).
Its hue angle is 65°, with 100% saturation and 7% lightness. For print, the CMYK equivalent is 8% cyan, 0% magenta, 100% yellow and 85% black.
The closest named color is Midnight Pines (#17240B), a difference of 5.8 ΔE.
White text is the more readable choice on this background (contrast 15.76:1).
#222500 color codes
| HEX | #222500 | |
|---|---|---|
| RGB | rgb(34, 37, 0) | |
| RGB percent | rgb(13.3%, 14.5%, 0%) | |
| HSL | hsl(65, 100%, 7%) | |
| HSV / HSB | hsv(65, 100%, 15%) | |
| CMYK | cmyk(8%, 0%, 100%, 85%) | |
| CIE LAB | lab(13.61, -7.41, 19.87) | |
| CIE LCH | lch(13.61, 21.21, 110.44) | |
| CIE XYZ | xyz(1.321, 1.663, 0.251) | |
| Decimal | 2237696 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #222500, 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 #222500 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.33:1 | Fail | Fail | Fail |
| Sample text | 15.76:1 | Pass | Pass | Pass |
| #222500 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.76:1 | Pass | Pass | Pass |
| Sample text | 1.33: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 #222500 looks to people with the most common types of color vision deficiency.
#292200Protanopia
no red cones#292302Deuteranopia
no green cones#25221eTritanopia
no blue cones#232323Achromatopsia
no color vision
CSS examples
.background { background-color: #222500; }
.text { color: #222500; }
.border { border: 2px solid #222500; }
.transparent { background-color: rgb(34 37 0 / 50%); }
.gradient { background: linear-gradient(to right, #222500, #0f2500); }
Similar colors
#17240bMidnight Pines#172808Lindworm Green#333300Wasabi Nori#223311Darkest Forest#112211Nightmare#373e02Dark Olive#372a05Secret Passage#113311Dark Serpent
Closest common color name: Onyx.
Questions
- What color is #222500?
- #222500 is a very dark, vivid yellow, closest to the named color Midnight Pines. It belongs to the yellow family of colors.
- What is the RGB value of #222500?
- The RGB value is 34, 37, 0: 34 red, 37 green and 0 blue on a 0 to 255 scale.
- What is the complementary color of #222500?
- The complementary color is #030025, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #222500?
- White text. Black text has a contrast ratio of 1.33:1 and white text 15.76:1. WCAG asks for at least 4.5:1 for normal text.