#12542D
Closest named color: Spruce (#0A5F38). oklch(39.5% 0.092 152.6), rgb(18, 84, 45).
Aa
White text reads best on this color (9.00:1).
About this color
#12542D is a dark, moderately saturated green. In OKLCH its lightness is 40%, its chroma 0.092 and its hue 153°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Spruce (#0A5F38), ΔE 0.035 away. White text reads best on it, at 9.00:1.
| Hue family | Greens |
| Lightness | dark (40%) |
| Chroma | moderately saturated (0.092) |
| Temperature | in between |
| Nearest name | Spruce (#0A5F38) |
| Black text | 2.33:1 |
| White text | 9.00:1 |
Values
| HEX | #12542D |
| RGB | rgb(18, 84, 45) |
| HSL | hsl(145, 65%, 20%) |
| OKLCH | oklch(39.5% 0.092 152.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 #12542D | 9.00:1 | AAA | Lc -94.8 | Preferred for body text |
| Black text on #12542D | 2.33:1 | Fails | Lc 13.6 | Not readable |
| #12542D text on white | 9.00:1 | AAA | Lc 90.3 | Preferred for body text |
| #12542D text on black | 2.33:1 | Fails | Lc -12.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 900.
-
Step 50
50
#F1F7F2
oklch(97% 0.009 150.7)
-
Step 100
100
#E0EEE4
oklch(93.6% 0.02 154.9)
-
Step 200
200
#C7E1CD
oklch(88.5% 0.039 152.4)
-
Step 300
300
#9FCEAB
oklch(80.9% 0.07 152.5)
-
Step 400
400
#67B47F
oklch(70.6% 0.11 152.8)
-
Step 500
500
#33A15E
oklch(63.1% 0.141 152.6)
-
Step 600
600
#008A47
oklch(55.5% 0.144 152.6)
-
Step 700
700
#00743B
oklch(49% 0.127 152.7)
-
Step 800
800
#005F2F
oklch(42.5% 0.11 152.7)
-
Step 900
900 (this color)
#12542D
oklch(39.5% 0.092 152.6)
-
Step 950
950
#0A2E18
oklch(26.9% 0.058 153)
#12542D 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) | #544C2A | 0.079 |
| Deuteranopia (no green cones) | #4C4730 | 0.077 |
| Tritanopia (no blue cones) | #00534A | 0.047 |
| Achromatopsia (no color) | #494949 | 0.092 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #12542D
#12542D
oklch(39.5% 0.092 152.6)
- #62325C
#62325C
oklch(39.5% 0.091 331.9)
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 #12542D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Spruce #0A5F38 ΔE 0.035
- Pine #2B5D34 ΔE 0.038
- Forest #0B5509 ΔE 0.039
- Navy Green #35530A ΔE 0.040
- Deep Green #02590F ΔE 0.041
- Pine Green #0A481E ΔE 0.042
- Evergreen #05472A ΔE 0.046
- Dark Blue Green #005249 ΔE 0.047
Use #12542D 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.