#305C2F

Closest named color: Pine (#2B5D34). oklch(43.1% 0.087 143.4), rgb(48, 92, 47).

Aa

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

About this color

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

Hue familyGreens
Lightnessdark (43%)
Chromamoderately saturated (0.087)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.69:1
White text7.78:1

Values

HEX#305C2F
RGBrgb(48, 92, 47)
HSLhsl(119, 32%, 27%)
OKLCHoklch(43.1% 0.087 143.4)

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 #305C2F 7.78:1 AAA Lc -91.6 Preferred for body text
Black text on #305C2F 2.69:1 Fails Lc 17.1 Dividers and decoration only
#305C2F text on white 7.78:1 AAA Lc 86.9 Fine for body text
#305C2F text on black 2.69:1 Fails Lc -15.2 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

    #E4EDE4

    oklch(93.7% 0.015 145.5)

  3. Step 200

    200

    #CFDECD

    oklch(88.5% 0.028 142)

  4. Step 300

    300

    #AECAAC

    oklch(81% 0.051 143.3)

  5. Step 400

    400

    #82AE80

    oklch(70.7% 0.081 143.6)

  6. Step 500

    500

    #629A60

    oklch(63.2% 0.104 143.5)

  7. Step 600

    600

    #478446

    oklch(55.6% 0.113 143.6)

  8. Step 700

    700

    #387037

    oklch(49.2% 0.106 143.4)

  9. Step 800

    800 (this color)

    #305C2F

    oklch(43.1% 0.087 143.4)

  10. Step 900

    900

    #2A4B29

    oklch(37.8% 0.069 143.4)

  11. Step 950

    950

    #192C18

    oklch(27% 0.044 143.1)

Export this scale for Tailwind in the Tailwind colors tool

#305C2F 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)#5E552B0.065
Deuteranopia (no green cones)#5851320.064
Tritanopia (no blue cones)#2B5A510.054
Achromatopsia (no color)#5252520.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #305C2F

    #305C2F

    oklch(43.1% 0.087 143.4)

  • #673E6B

    #673E6B

    oklch(43% 0.088 323.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #305C2F

    #305C2F

    oklch(43.1% 0.087 143.4)

  • #505511

    #505511

    oklch(43.1% 0.088 113.8)

  • #005E4C

    #005E4C

    oklch(43% 0.082 173.7)

Open the analogous palette in the generator

Split complementary

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

  • #305C2F

    #305C2F

    oklch(43.1% 0.087 143.4)

  • #52467B

    #52467B

    oklch(43.1% 0.086 292.8)

  • #743A54

    #743A54

    oklch(43.1% 0.087 353.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #305C2F

    #305C2F

    oklch(43.1% 0.087 143.4)

  • #374F80

    #374F80

    oklch(43.2% 0.087 263.4)

  • #793B39

    #793B39

    oklch(43.2% 0.087 23.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #305C2F

    #305C2F

    oklch(43.1% 0.087 143.4)

  • #075778

    #075778

    oklch(43.1% 0.087 233.7)

  • #673E6B

    #673E6B

    oklch(43% 0.088 323.8)

  • #74411C

    #74411C

    oklch(43% 0.087 53.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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