#305F45

Closest named color: Pine (#2B5D34). oklch(44.4% 0.068 157.8), rgb(48, 95, 69).

Aa

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

About this color

#305F45 is a dark, muted green. In OKLCH its lightness is 44%, its chroma 0.068 and its hue 158°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pine (#2B5D34), ΔE 0.026 away. White text reads best on it, at 7.37:1.

Hue familyGreens
Lightnessdark (44%)
Chromamuted (0.068)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.84:1
White text7.37:1

Values

HEX#305F45
RGBrgb(48, 95, 69)
HSLhsl(147, 33%, 28%)
OKLCHoklch(44.4% 0.068 157.8)

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 #305F45 7.37:1 AAA Lc -90.3 Preferred for body text
Black text on #305F45 2.84:1 Fails Lc 18.5 Dividers and decoration only
#305F45 text on white 7.37:1 AAA Lc 85.5 Fine for body text
#305F45 text on black 2.84:1 Fails Lc -16.5 Dividers and decoration only

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

    #E4ECE7

    oklch(93.6% 0.011 158.8)

  3. Step 200

    200

    #CEDED4

    oklch(88.6% 0.022 158.5)

  4. Step 300

    300

    #ACC9B7

    oklch(80.9% 0.04 158.1)

  5. Step 400

    400

    #7FAD92

    oklch(70.7% 0.063 158.5)

  6. Step 500

    500

    #5D9977

    oklch(63.2% 0.082 158.1)

  7. Step 600

    600

    #42835F

    oklch(55.6% 0.088 157.6)

  8. Step 700

    700

    #336F4E

    oklch(49.2% 0.083 157.3)

  9. Step 800

    800 (this color)

    #305F45

    oklch(44.4% 0.068 157.8)

  10. Step 900

    900

    #284A37

    oklch(37.7% 0.052 158.2)

  11. Step 950

    950

    #182B20

    oklch(26.9% 0.032 157.9)

Export this scale for Tailwind in the Tailwind colors tool

#305F45 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)#5E59440.062
Deuteranopia (no green cones)#5754470.061
Tritanopia (no blue cones)#245E580.032
Achromatopsia (no color)#5656560.068

Harmonies

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

Complementary

The opposite hue (180°).

  • #305F45

    #305F45

    oklch(44.4% 0.068 157.8)

  • #6C4561

    #6C4561

    oklch(44.5% 0.067 337.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #305F45

    #305F45

    oklch(44.4% 0.068 157.8)

  • #495B31

    #495B31

    oklch(44.5% 0.068 127.9)

  • #1A605A

    #1A605A

    oklch(44.5% 0.068 186.7)

Open the analogous palette in the generator

Split complementary

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

  • #305F45

    #305F45

    oklch(44.4% 0.068 157.8)

  • #5E4971

    #5E4971

    oklch(44.4% 0.069 307.8)

  • #74434D

    #74434D

    oklch(44.4% 0.069 7.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #305F45

    #305F45

    oklch(44.4% 0.068 157.8)

  • #4B5079

    #4B5079

    oklch(44.5% 0.068 277.9)

  • #744638

    #744638

    oklch(44.4% 0.068 37.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #305F45

    #305F45

    oklch(44.4% 0.068 157.8)

  • #345777

    #345777

    oklch(44.5% 0.067 247.4)

  • #6C4561

    #6C4561

    oklch(44.5% 0.067 337.7)

  • #6C4C28

    #6C4C28

    oklch(44.3% 0.067 67.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #305F45 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.