#2B4F42
Closest named color: Dark Slate Gray (#2F4F4F). oklch(39.6% 0.048 168.7), rgb(43, 79, 66).
Aa
White text reads best on this color (9.13:1).
About this color
#2B4F42 is a dark, muted green. In OKLCH its lightness is 40%, its chroma 0.048 and its hue 169°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.023 away. White text reads best on it, at 9.13:1.
| Hue family | Greens |
| Lightness | dark (40%) |
| Chroma | muted (0.048) |
| Temperature | in between |
| Nearest name | Dark Slate Gray (#2F4F4F) |
| Black text | 2.29:1 |
| White text | 9.13:1 |
Values
| HEX | #2B4F42 |
| RGB | rgb(43, 79, 66) |
| HSL | hsl(158, 30%, 24%) |
| OKLCH | oklch(39.6% 0.048 168.7) |
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 #2B4F42 | 9.13:1 | AAA | Lc -95.3 | Preferred for body text |
| Black text on #2B4F42 | 2.29:1 | Fails | Lc 13.0 | Not readable |
| #2B4F42 text on white | 9.13:1 | AAA | Lc 90.9 | Preferred for body text |
| #2B4F42 text on black | 2.29:1 | Fails | Lc -11.4 | 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
#F2F6F5
oklch(97% 0.004 179.7)
-
Step 100
100
#E4ECE8
oklch(93.6% 0.01 164.9)
-
Step 200
200
#CDDED7
oklch(88.6% 0.021 169.3)
-
Step 300
300
#ABC8BC
oklch(80.8% 0.035 168.5)
-
Step 400
400
#7DAD9A
oklch(70.8% 0.058 168.2)
-
Step 500
500
#5A9882
oklch(63.1% 0.073 169.2)
-
Step 600
600
#3E826B
oklch(55.5% 0.079 168.9)
-
Step 700
700
#2F6E59
oklch(49% 0.074 168.7)
-
Step 800
800
#285A49
oklch(42.8% 0.062 168.7)
-
Step 900
900 (this color)
#2B4F42
oklch(39.6% 0.048 168.7)
-
Step 950
950
#172B24
oklch(26.9% 0.029 169.8)
#2B4F42 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) | #4D4B41 | 0.048 |
| Deuteranopia (no green cones) | #474643 | 0.047 |
| Tritanopia (no blue cones) | #204F4B | 0.017 |
| Achromatopsia (no color) | #484848 | 0.048 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2B4F42
#2B4F42
oklch(39.6% 0.048 168.7)
- #5A3C4B
#5A3C4B
oklch(39.6% 0.048 348.1)
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 #2B4F42, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Slate Gray #2F4F4F ΔE 0.023
- Dark Blue Green #005249 ΔE 0.027
- Dark Teal #014D4E ΔE 0.035
- Deep Teal #00555A ΔE 0.042
- Charcoal #264653 ΔE 0.049
- Charcoal Grey #3C4142 ΔE 0.050
- Evergreen #05472A ΔE 0.056
- Pine #2B5D34 ΔE 0.057
Use #2B4F42 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.