#18542E
Closest named color: Spruce (#0A5F38). oklch(39.7% 0.088 152), rgb(24, 84, 46).
Aa
White text reads best on this color (8.94:1).
About this color
#18542E is a dark, moderately saturated green. In OKLCH its lightness is 40%, its chroma 0.088 and its hue 152°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Spruce (#0A5F38), ΔE 0.034 away. White text reads best on it, at 8.94:1.
| Hue family | Greens |
| Lightness | dark (40%) |
| Chroma | moderately saturated (0.088) |
| Temperature | in between |
| Nearest name | Spruce (#0A5F38) |
| Black text | 2.34:1 |
| White text | 8.94:1 |
Values
| HEX | #18542E |
| RGB | rgb(24, 84, 46) |
| HSL | hsl(142, 56%, 21%) |
| OKLCH | oklch(39.7% 0.088 152) |
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 #18542E | 8.94:1 | AAA | Lc -94.7 | Preferred for body text |
| Black text on #18542E | 2.34:1 | Fails | Lc 13.7 | Not readable |
| #18542E text on white | 8.94:1 | AAA | Lc 90.2 | Preferred for body text |
| #18542E text on black | 2.34: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
#E1EEE4
oklch(93.7% 0.019 152.8)
-
Step 200
200
#C8E1CD
oklch(88.6% 0.038 151.3)
-
Step 300
300
#A1CDAC
oklch(80.8% 0.066 152.4)
-
Step 400
400
#6BB480
oklch(70.8% 0.106 152.1)
-
Step 500
500
#3BA05F
oklch(63% 0.135 152.1)
-
Step 600
600
#008A45
oklch(55.5% 0.146 152)
-
Step 700
700
#007439
oklch(49% 0.129 152)
-
Step 800
800
#00602E
oklch(42.8% 0.113 152)
-
Step 900
900 (this color)
#18542E
oklch(39.7% 0.088 152)
-
Step 950
950
#0D2E18
oklch(27% 0.056 151.7)
#18542E 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) | #544D2B | 0.075 |
| Deuteranopia (no green cones) | #4D4731 | 0.075 |
| Tritanopia (no blue cones) | #00534B | 0.047 |
| Achromatopsia (no color) | #494949 | 0.089 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #18542E
#18542E
oklch(39.7% 0.088 152)
- #62335C
#62335C
oklch(39.7% 0.089 332)
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 #18542E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Spruce #0A5F38 ΔE 0.034
- Pine #2B5D34 ΔE 0.036
- Navy Green #35530A ΔE 0.039
- Forest #0B5509 ΔE 0.041
- Deep Green #02590F ΔE 0.044
- Pine Green #0A481E ΔE 0.044
- Dark Blue Green #005249 ΔE 0.045
- Evergreen #05472A ΔE 0.047
Use #18542E 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.