#334C3D
Closest named color: Dark Slate Gray (#2F4F4F). oklch(39.1% 0.04 157.6), rgb(51, 76, 61).
Aa
White text reads best on this color (9.36:1).
About this color
#334C3D is a dark, muted green. In OKLCH its lightness is 39%, its chroma 0.040 and its hue 158°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.028 away. White text reads best on it, at 9.36:1.
| Hue family | Greens |
| Lightness | dark (39%) |
| Chroma | muted (0.040) |
| Temperature | in between |
| Nearest name | Dark Slate Gray (#2F4F4F) |
| Black text | 2.24:1 |
| White text | 9.36:1 |
Values
| HEX | #334C3D |
| RGB | rgb(51, 76, 61) |
| HSL | hsl(144, 20%, 25%) |
| OKLCH | oklch(39.1% 0.04 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 #334C3D | 9.36:1 | AAA | Lc -95.9 | Preferred for body text |
| Black text on #334C3D | 2.24:1 | Fails | Lc 12.4 | Not readable |
| #334C3D text on white | 9.36:1 | AAA | Lc 91.6 | Preferred for body text |
| #334C3D text on black | 2.24:1 | Fails | Lc -10.8 | 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
#F3F6F4
oklch(97% 0.004 157.2)
-
Step 100
100
#E5ECE8
oklch(93.7% 0.009 161.3)
-
Step 200
200
#D1DDD5
oklch(88.6% 0.017 156.9)
-
Step 300
300
#B1C7B9
oklch(80.9% 0.031 157.7)
-
Step 400
400
#88AA95
oklch(70.7% 0.048 157.8)
-
Step 500
500
#6A957B
oklch(63.1% 0.061 157.6)
-
Step 600
600
#517F64
oklch(55.5% 0.066 157.6)
-
Step 700
700
#416C53
oklch(49.2% 0.063 157.6)
-
Step 800
800
#365844
oklch(42.8% 0.052 157.5)
-
Step 900
900 (this color)
#334C3D
oklch(39.1% 0.04 157.6)
-
Step 950
950
#1C2A22
oklch(26.9% 0.024 159.2)
#334C3D 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) | #4C483C | 0.038 |
| Deuteranopia (no green cones) | #47453E | 0.036 |
| Tritanopia (no blue cones) | #2E4C48 | 0.019 |
| Achromatopsia (no color) | #464646 | 0.040 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #334C3D
#334C3D
oklch(39.1% 0.04 157.6)
- #543D4D
#543D4D
oklch(39.1% 0.041 337.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 #334C3D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Slate Gray #2F4F4F ΔE 0.028
- Dark Blue Green #005249 ΔE 0.038
- Charcoal Grey #3C4142 ΔE 0.041
- Dark Teal #014D4E ΔE 0.043
- Charcoal #264653 ΔE 0.050
- Deep Teal #00555A ΔE 0.053
- Evergreen #05472A ΔE 0.056
- Dark Grey Blue #29465B ΔE 0.061
Use #334C3D 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.