#334A39
Closest named color: Dark Slate Gray (#2F4F4F). oklch(38.5% 0.041 152.3), rgb(51, 74, 57).
Aa
White text reads best on this color (9.63:1).
About this color
#334A39 is a dark, muted green. In OKLCH its lightness is 38%, its chroma 0.041 and its hue 152°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.034 away. White text reads best on it, at 9.63:1.
| Hue family | Greens |
| Lightness | dark (38%) |
| Chroma | muted (0.041) |
| Temperature | in between |
| Nearest name | Dark Slate Gray (#2F4F4F) |
| Black text | 2.17:1 |
| White text | 9.63:1 |
Values
| HEX | #334A39 |
| RGB | rgb(51, 74, 57) |
| HSL | hsl(136, 18%, 25%) |
| OKLCH | oklch(38.5% 0.041 152.3) |
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 #334A39 | 9.63:1 | AAA | Lc -96.5 | Preferred for body text |
| Black text on #334A39 | 2.17:1 | Fails | Lc 11.7 | Not readable |
| #334A39 text on white | 9.63:1 | AAA | Lc 92.3 | Preferred for body text |
| #334A39 text on black | 2.17:1 | Fails | Lc -10.1 | 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
#E6ECE7
oklch(93.7% 0.009 150.7)
-
Step 200
200
#D1DCD4
oklch(88.4% 0.016 154.4)
-
Step 300
300
#B3C7B7
oklch(81% 0.031 151.4)
-
Step 400
400
#8BAA92
oklch(70.8% 0.049 151.8)
-
Step 500
500
#6D9577
oklch(63.2% 0.063 152)
-
Step 600
600
#547F60
oklch(55.6% 0.068 152.5)
-
Step 700
700
#446B4F
oklch(49% 0.063 152.5)
-
Step 800
800
#395741
oklch(42.6% 0.051 152.2)
-
Step 900
900 (this color)
#334A39
oklch(38.5% 0.041 152.3)
-
Step 950
950
#1D2A20
oklch(26.9% 0.026 151.5)
#334A39 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) | #4A4638 | 0.036 |
| Deuteranopia (no green cones) | #46443A | 0.034 |
| Tritanopia (no blue cones) | #304945 | 0.021 |
| Achromatopsia (no color) | #454545 | 0.041 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #334A39
#334A39
oklch(38.5% 0.041 152.3)
- #513C4D
#513C4D
oklch(38.6% 0.04 333.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 #334A39, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Slate Gray #2F4F4F ΔE 0.034
- Charcoal Grey #3C4142 ΔE 0.040
- Dark Blue Green #005249 ΔE 0.042
- Dark Teal #014D4E ΔE 0.045
- Evergreen #05472A ΔE 0.051
- Charcoal #264653 ΔE 0.052
- Deep Teal #00555A ΔE 0.058
- Onyx #343A40 ΔE 0.059
Use #334A39 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.