#335945

Closest named color: Pine (#2B5D34). oklch(42.9% 0.055 159.9), rgb(51, 89, 69).

Aa

White text reads best on this color (7.90:1).

About this color

#335945 is a dark, muted green. In OKLCH its lightness is 43%, its chroma 0.055 and its hue 160°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pine (#2B5D34), ΔE 0.034 away. White text reads best on it, at 7.90:1.

Hue familyGreens
Lightnessdark (43%)
Chromamuted (0.055)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.65:1
White text7.90:1

Values

HEX#335945
RGBrgb(51, 89, 69)
HSLhsl(148, 27%, 27%)
OKLCHoklch(42.9% 0.055 159.9)

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 #335945 7.90:1 AAA Lc -92.1 Preferred for body text
Black text on #335945 2.65:1 Fails Lc 16.7 Dividers and decoration only
#335945 text on white 7.90:1 AAA Lc 87.3 Fine for body text
#335945 text on black 2.65:1 Fails Lc -14.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 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

    #D0DDD5

    oklch(88.5% 0.018 159.1)

  4. Step 300

    300

    #B0C7B9

    oklch(80.8% 0.032 158.9)

  5. Step 400

    400

    #85AB96

    oklch(70.7% 0.051 160.6)

  6. Step 500

    500

    #66967C

    oklch(63.1% 0.065 160.1)

  7. Step 600

    600

    #4C8065

    oklch(55.5% 0.071 160.3)

  8. Step 700

    700

    #3C6C54

    oklch(49% 0.066 160.9)

  9. Step 800

    800 (this color)

    #335945

    oklch(42.9% 0.055 159.9)

  10. Step 900

    900

    #2D493A

    oklch(37.8% 0.043 160)

  11. Step 950

    950

    #1B2B22

    oklch(27.2% 0.027 159.3)

Export this scale for Tailwind in the Tailwind colors tool

#335945 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)#5854440.052
Deuteranopia (no green cones)#5250460.050
Tritanopia (no blue cones)#2A59530.023
Achromatopsia (no color)#5151510.055

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #335945

    #335945

    oklch(42.9% 0.055 159.9)

  • #644459

    #644459

    oklch(43% 0.054 340.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #335945

    #335945

    oklch(42.9% 0.055 159.9)

  • #465635

    #465635

    oklch(43% 0.055 129.5)

  • #265956

    #265956

    oklch(42.8% 0.055 190.1)

Open the analogous palette in the generator

Split complementary

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

  • #335945

    #335945

    oklch(42.9% 0.055 159.9)

  • #594766

    #594766

    oklch(42.9% 0.055 310.6)

  • #6A4349

    #6A4349

    oklch(43% 0.055 9.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #335945

    #335945

    oklch(42.9% 0.055 159.9)

  • #494C6E

    #494C6E

    oklch(42.8% 0.056 279.8)

  • #6A4538

    #6A4538

    oklch(42.9% 0.056 40.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #335945

    #335945

    oklch(42.9% 0.055 159.9)

  • #38526D

    #38526D

    oklch(43% 0.055 250.1)

  • #644459

    #644459

    oklch(43% 0.054 340.1)

  • #634A2D

    #634A2D

    oklch(42.9% 0.055 69.6)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #335945, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

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