#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 familyGreens
Lightnessdark (41%)
Chromamuted (0.050)
Temperaturein between
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.45:1
White text8.56:1

Values

HEX#335340
RGBrgb(51, 83, 64)
HSLhsl(144, 24%, 26%)
OKLCHoklch(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.

PairWCAG 2ResultAPCAAPCA 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.

  1. Step 50

    50

    #F3F6F4

    oklch(97% 0.004 157.2)

  2. Step 100

    100

    #E5ECE8

    oklch(93.7% 0.009 161.3)

  3. Step 200

    200

    #D1DCD5

    oklch(88.4% 0.015 158.2)

  4. Step 300

    300

    #B2C7B9

    oklch(81% 0.03 156.5)

  5. Step 400

    400

    #89AA95

    oklch(70.7% 0.047 157.1)

  6. Step 500

    500

    #6B957B

    oklch(63.1% 0.06 157)

  7. Step 600

    600

    #527F64

    oklch(55.6% 0.065 157.2)

  8. Step 700

    700

    #436B53

    oklch(49.1% 0.06 157)

  9. Step 800

    800 (this color)

    #335340

    oklch(41.1% 0.05 157.3)

  10. Step 900

    900

    #304839

    oklch(37.7% 0.039 156.5)

  11. Step 950

    950

    #1C2A22

    oklch(26.9% 0.024 159.2)

Export this scale for Tailwind in the Tailwind colors tool

#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.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#534E3F0.047
Deuteranopia (no green cones)#4D4B410.044
Tritanopia (no blue cones)#2D534E0.023
Achromatopsia (no color)#4C4C4C0.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)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #335340

    #335340

    oklch(41.1% 0.05 157.3)

  • #435032

    #435032

    oklch(41.1% 0.05 127.5)

  • #27544F

    #27544F

    oklch(41.2% 0.051 185.9)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #335340

    #335340

    oklch(41.1% 0.05 157.3)

  • #524460

    #524460

    oklch(41.2% 0.049 307.1)

  • #623F46

    #623F46

    oklch(41% 0.05 6.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #335340

    #335340

    oklch(41.1% 0.05 157.3)

  • #444866

    #444866

    oklch(41.1% 0.05 278.1)

  • #634137

    #634137

    oklch(41.1% 0.051 37.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #335340

    #335340

    oklch(41.1% 0.05 157.3)

  • #344D64

    #344D64

    oklch(41% 0.049 247.1)

  • #5C4054

    #5C4054

    oklch(41% 0.049 337.4)

  • #5D462D

    #5D462D

    oklch(41.2% 0.049 68.1)

Open the square palette in the generator

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.

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.