#305F3B

Closest named color: Pine (#2B5D34). oklch(44.2% 0.079 149.8), rgb(48, 95, 59).

Aa

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

About this color

#305F3B is a dark, moderately saturated green. In OKLCH its lightness is 44%, its chroma 0.079 and its hue 150°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pine (#2B5D34), ΔE 0.013 away. White text reads best on it, at 7.43:1.

Hue familyGreens
Lightnessdark (44%)
Chromamoderately saturated (0.079)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.82:1
White text7.43:1

Values

HEX#305F3B
RGBrgb(48, 95, 59)
HSLhsl(134, 33%, 28%)
OKLCHoklch(44.2% 0.079 149.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 #305F3B 7.43:1 AAA Lc -90.5 Preferred for body text
Black text on #305F3B 2.82:1 Fails Lc 18.3 Dividers and decoration only
#305F3B text on white 7.43:1 AAA Lc 85.7 Fine for body text
#305F3B text on black 2.82:1 Fails Lc -16.4 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

    #F3F7F3

    oklch(97.2% 0.007 145.5)

  2. Step 100

    100

    #E4ECE5

    oklch(93.5% 0.013 149.2)

  3. Step 200

    200

    #CEDED0

    oklch(88.5% 0.026 149.1)

  4. Step 300

    300

    #ADC9B1

    oklch(80.8% 0.045 149.3)

  5. Step 400

    400

    #80AE88

    oklch(70.7% 0.074 149.5)

  6. Step 500

    500

    #5E9A6B

    oklch(63.2% 0.094 149.9)

  7. Step 600

    600

    #438452

    oklch(55.7% 0.102 149.5)

  8. Step 700

    700

    #346F43

    oklch(49% 0.094 150)

  9. Step 800

    800 (this color)

    #305F3B

    oklch(44.2% 0.079 149.8)

  10. Step 900

    900

    #284B30

    oklch(37.8% 0.062 150)

  11. Step 950

    950

    #182C1C

    oklch(27.1% 0.039 149.5)

Export this scale for Tailwind in the Tailwind colors tool

#305F3B 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)#6058390.066
Deuteranopia (no green cones)#59533D0.065
Tritanopia (no blue cones)#275D560.045
Achromatopsia (no color)#5555550.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #305F3B

    #305F3B

    oklch(44.2% 0.079 149.8)

  • #6B4268

    #6B4268

    oklch(44.1% 0.079 329.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #305F3B

    #305F3B

    oklch(44.2% 0.079 149.8)

  • #4E5923

    #4E5923

    oklch(44.2% 0.078 119.3)

  • #066154

    #066154

    oklch(44.2% 0.079 179.2)

Open the analogous palette in the generator

Split complementary

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

  • #305F3B

    #305F3B

    oklch(44.2% 0.079 149.8)

  • #5A4878

    #5A4878

    oklch(44.1% 0.079 300.4)

  • #763F51

    #763F51

    oklch(44.1% 0.079 359.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #305F3B

    #305F3B

    oklch(44.2% 0.079 149.8)

  • #42507F

    #42507F

    oklch(44.1% 0.08 270.3)

  • #784139

    #784139

    oklch(44.1% 0.078 29.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #305F3B

    #305F3B

    oklch(44.2% 0.079 149.8)

  • #23587A

    #23587A

    oklch(44.1% 0.079 240.2)

  • #6B4268

    #6B4268

    oklch(44.1% 0.079 329.4)

  • #724822

    #724822

    oklch(44.2% 0.078 60.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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