#335340
Closest named color: Dark Slate Gray (#2F4F4F). oklch(41.1% 0.05 157.3), rgb(51, 83, 64).
Aa
White text reads best on this color (8.56:1).
About this color
#335340 is a dark, muted green. In OKLCH its lightness is 41%, its chroma 0.050 and its hue 157°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.032 away. White text reads best on it, at 8.56:1.
| Hue family | Greens |
| Lightness | dark (41%) |
| Chroma | muted (0.050) |
| Temperature | in between |
| Nearest name | Dark Slate Gray (#2F4F4F) |
| Black text | 2.45:1 |
| White text | 8.56:1 |
Values
| HEX | #335340 |
| RGB | rgb(51, 83, 64) |
| HSL | hsl(144, 24%, 26%) |
| OKLCH | oklch(41.1% 0.05 157.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 #335340 | 8.56:1 | AAA | Lc -93.9 | Preferred for body text |
| Black text on #335340 | 2.45:1 | Fails | Lc 14.6 | Not readable |
| #335340 text on white | 8.56:1 | AAA | Lc 89.4 | Fine for body text |
| #335340 text on black | 2.45:1 | Fails | Lc -12.9 | 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 800.
-
Step 50
50
#F3F6F4
oklch(97% 0.004 157.2)
-
Step 100
100
#E5ECE8
oklch(93.7% 0.009 161.3)
-
Step 200
200
#D1DCD5
oklch(88.4% 0.015 158.2)
-
Step 300
300
#B2C7B9
oklch(81% 0.03 156.5)
-
Step 400
400
#89AA95
oklch(70.7% 0.047 157.1)
-
Step 500
500
#6B957B
oklch(63.1% 0.06 157)
-
Step 600
600
#527F64
oklch(55.6% 0.065 157.2)
-
Step 700
700
#436B53
oklch(49.1% 0.06 157)
-
Step 800
800 (this color)
#335340
oklch(41.1% 0.05 157.3)
-
Step 900
900
#304839
oklch(37.7% 0.039 156.5)
-
Step 950
950
#1C2A22
oklch(26.9% 0.024 159.2)
#335340 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) | #534E3F | 0.047 |
| Deuteranopia (no green cones) | #4D4B41 | 0.044 |
| Tritanopia (no blue cones) | #2D534E | 0.023 |
| Achromatopsia (no color) | #4C4C4C | 0.050 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #335340
#335340
oklch(41.1% 0.05 157.3)
- #5C4054
#5C4054
oklch(41% 0.049 337.4)
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 #335340, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Slate Gray #2F4F4F ΔE 0.032
- Dark Blue Green #005249 ΔE 0.037
- Pine #2B5D34 ΔE 0.043
- Deep Teal #00555A ΔE 0.049
- Dark Teal #014D4E ΔE 0.051
- Dark Green Blue #1F6357 ΔE 0.052
- Spruce #0A5F38 ΔE 0.052
- Charcoal Grey #3C4142 ΔE 0.061
Use #335340 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.