#12571B
Closest named color: Deep Green (#02590F). oklch(40.1% 0.114 144.9), rgb(18, 87, 27).
Aa
White text reads best on this color (8.73:1).
About this color
#12571B is a dark, moderately saturated green. In OKLCH its lightness is 40%, its chroma 0.114 and its hue 145°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Green (#02590F), ΔE 0.015 away. White text reads best on it, at 8.73:1.
| Hue family | Greens |
| Lightness | dark (40%) |
| Chroma | moderately saturated (0.114) |
| Temperature | in between |
| Nearest name | Deep Green (#02590F) |
| Black text | 2.40:1 |
| White text | 8.73:1 |
Values
| HEX | #12571B |
| RGB | rgb(18, 87, 27) |
| HSL | hsl(128, 66%, 21%) |
| OKLCH | oklch(40.1% 0.114 144.9) |
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 #12571B | 8.73:1 | AAA | Lc -94.0 | Preferred for body text |
| Black text on #12571B | 2.40:1 | Fails | Lc 14.5 | Not readable |
| #12571B text on white | 8.73:1 | AAA | Lc 89.5 | Fine for body text |
| #12571B text on black | 2.40:1 | Fails | Lc -12.7 | 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 900.
-
Step 50
50
#F1F8F1
oklch(97.2% 0.012 145.5)
-
Step 100
100
#E0EFE0
oklch(93.7% 0.026 145.4)
-
Step 200
200
#C7E2C6
oklch(88.5% 0.048 144.2)
-
Step 300
300
#9ED09F
oklch(81% 0.086 145.2)
-
Step 400
400
#65B769
oklch(70.8% 0.137 145)
-
Step 500
500
#2FA33D
oklch(63% 0.174 144.9)
-
Step 600
600
#008C23
oklch(55.6% 0.175 144.9)
-
Step 700
700
#00761C
oklch(49.2% 0.155 144.9)
-
Step 800
800
#006115
oklch(42.8% 0.135 144.8)
-
Step 900
900 (this color)
#12571B
oklch(40.1% 0.114 144.9)
-
Step 950
950
#092F0D
oklch(26.9% 0.072 144.9)
#12571B 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) | #594E14 | 0.086 |
| Deuteranopia (no green cones) | #514920 | 0.085 |
| Tritanopia (no blue cones) | #00554A | 0.069 |
| Achromatopsia (no color) | #4B4B4B | 0.115 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #12571B
#12571B
oklch(40.1% 0.114 144.9)
- #652E69
#652E69
oklch(40% 0.114 324.8)
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 #12571B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Deep Green #02590F ΔE 0.015
- Forest #0B5509 ΔE 0.016
- Navy Green #35530A ΔE 0.030
- Spruce #0A5F38 ΔE 0.038
- Pine #2B5D34 ΔE 0.042
- Bottle Green #044A05 ΔE 0.046
- Darkgreen #054907 ΔE 0.048
- Dark Green #006400 ΔE 0.049
Use #12571B 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.