#052012
Closest named color: Rich Black (#0D1B2A). oklch(21.8% 0.043 157.6), rgb(5, 32, 18).
Aa
White text reads best on this color (17.18:1).
About this color
#052012 is a very dark, muted green. In OKLCH its lightness is 22%, its chroma 0.043 and its hue 158°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.058 away. White text reads best on it, at 17.18:1.
| Hue family | Greens |
| Lightness | very dark (22%) |
| Chroma | muted (0.043) |
| Temperature | in between |
| Nearest name | Rich Black (#0D1B2A) |
| Black text | 1.22:1 |
| White text | 17.18:1 |
Values
| HEX | #052012 |
| RGB | rgb(5, 32, 18) |
| HSL | hsl(149, 73%, 7%) |
| OKLCH | oklch(21.8% 0.043 157.6) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #052012 | 17.18:1 | AAA | Lc -106.3 | Preferred for body text |
| Black text on #052012 | 1.22:1 | Fails | Lc 0.0 | Not readable |
| #052012 text on white | 17.18:1 | AAA | Lc 103.9 | Preferred for body text |
| #052012 text on black | 1.22:1 | Fails | Lc 0.0 | Not readable |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 950.
-
Step 50
50
#F2F7F4
oklch(97.2% 0.007 160.1)
-
Step 100
100
#E2EDE6
oklch(93.6% 0.015 158.2)
-
Step 200
200
#CADFD2
oklch(88.4% 0.029 158.6)
-
Step 300
300
#A6CBB4
oklch(80.9% 0.051 157.8)
-
Step 400
400
#74B08D
oklch(70.6% 0.081 157.9)
-
Step 500
500
#4B9D70
oklch(63.2% 0.106 157.3)
-
Step 600
600
#288758
oklch(55.6% 0.115 157.3)
-
Step 700
700
#187248
oklch(49% 0.106 157.5)
-
Step 800
800
#185D3C
oklch(42.7% 0.087 158)
-
Step 900
900
#1C4C33
oklch(37.6% 0.068 157.8)
-
Step 950
950 (this color)
#052012
oklch(21.8% 0.043 157.6)
#052012 with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #201D11 | 0.040 |
| Deuteranopia (no green cones) | #1C1A13 | 0.039 |
| Tritanopia (no blue cones) | #00201C | 0.019 |
| Achromatopsia (no color) | #1B1B1B | 0.044 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #052012
#052012
oklch(21.8% 0.043 157.6)
- #271221
#271221
oklch(21.9% 0.043 338.6)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #052012, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Rich Black #0D1B2A ΔE 0.058
- Dark Forest Green #002D04 ΔE 0.058
- Very Dark Green #062E03 ΔE 0.062
- Jet #212529 ΔE 0.063
- Rich Navy #001219 ΔE 0.064
- Dark #1B2431 ΔE 0.068
- Almost Black #070D0D ΔE 0.075
- Dark Brown #341C02 ΔE 0.080
Use #052012 in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.