#004227 color
The hex color #004227 is a very dark, vivid spring green.
In the RGB color model it is made of 0% red, 25.9% green and 15.3% blue (0, 66, 39).
Its hue angle is 155°, with 100% saturation and 13% lightness. For print, the CMYK equivalent is 100% cyan, 0% magenta, 41% yellow and 74% black.
The closest named color is British Racing Green (#004225), a difference of 0.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.61:1).
#004227 color codes
| HEX | #004227 | |
|---|---|---|
| RGB | rgb(0, 66, 39) | |
| RGB percent | rgb(0%, 25.9%, 15.3%) | |
| HSL | hsl(155, 100%, 13%) | |
| HSV / HSB | hsv(155, 100%, 26%) | |
| CMYK | cmyk(100%, 0%, 41%, 74%) | |
| CIE LAB | lab(23.81, -26.68, 11.22) | |
| CIE LCH | lch(23.81, 28.95, 157.2) | |
| CIE XYZ | xyz(2.314, 4.043, 2.577) | |
| Decimal | 16935 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #004227, 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 #004227 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.81:1 | Fail | Fail | Fail |
| Sample text | 11.61:1 | Pass | Pass | Pass |
| #004227 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.61:1 | Pass | Pass | Pass |
| Sample text | 1.81: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 #004227 looks to people with the most common types of color vision deficiency.
#413c25Protanopia
no red cones#3a3729Deuteranopia
no green cones#00423bTritanopia
no blue cones#393939Achromatopsia
no color vision
CSS examples
.background { background-color: #004227; }
.text { color: #004227; }
.border { border: 2px solid #004227; }
.transparent { background-color: rgb(0 66 39 / 50%); }
.gradient { background: linear-gradient(to right, #004227, #003c42); }
Similar colors
#004225British Racing Green#014426Lost in the Woods#17462eZucchini#014420Deep Pond#1c401fQueen of Trees#003322Pitch-Black Forests#003311Haunted Hills#21421eMyrtle
Questions
- What color is #004227?
- #004227 is a very dark, vivid spring green, closest to the named color British Racing Green. It belongs to the green family of colors.
- What is the RGB value of #004227?
- The RGB value is 0, 66, 39: 0 red, 66 green and 39 blue on a 0 to 255 scale.
- What is the complementary color of #004227?
- The complementary color is #42001B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #004227?
- White text. Black text has a contrast ratio of 1.81:1 and white text 11.61:1. WCAG asks for at least 4.5:1 for normal text.