#305A21

Closest named color: Pine (#2B5D34). oklch(42.3% 0.098 138.3), rgb(48, 90, 33).

Aa

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

About this color

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

Hue familyGreens
Lightnessdark (42%)
Chromamoderately saturated (0.098)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.61:1
White text8.04:1

Values

HEX#305A21
RGBrgb(48, 90, 33)
HSLhsl(104, 46%, 24%)
OKLCHoklch(42.3% 0.098 138.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 #305A21 8.04:1 AAA Lc -92.4 Preferred for body text
Black text on #305A21 2.61:1 Fails Lc 16.3 Dividers and decoration only
#305A21 text on white 8.04:1 AAA Lc 87.7 Fine for body text
#305A21 text on black 2.61:1 Fails Lc -14.4 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

    #F3F7F2

    oklch(97.2% 0.008 139.4)

  2. Step 100

    100

    #E5EDE2

    oklch(93.7% 0.017 137)

  3. Step 200

    200

    #CFDFCA

    oklch(88.6% 0.033 138.2)

  4. Step 300

    300

    #AFCAA6

    oklch(80.9% 0.058 137.9)

  5. Step 400

    400

    #84AF76

    oklch(70.8% 0.093 138.2)

  6. Step 500

    500

    #649A52

    oklch(63.1% 0.117 138.3)

  7. Step 600

    600

    #4A8435

    oklch(55.5% 0.128 138.2)

  8. Step 700

    700

    #3B7028

    oklch(49.1% 0.119 138.4)

  9. Step 800

    800 (this color)

    #305A21

    oklch(42.3% 0.098 138.3)

  10. Step 900

    900

    #2C4B21

    oklch(37.7% 0.077 138.1)

  11. Step 950

    950

    #1A2C14

    oklch(27% 0.049 138.2)

Export this scale for Tailwind in the Tailwind colors tool

#305A21 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)#5D521B0.066
Deuteranopia (no green cones)#574F250.064
Tritanopia (no blue cones)#2D574E0.068
Achromatopsia (no color)#5050500.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #305A21

    #305A21

    oklch(42.3% 0.098 138.3)

  • #643A70

    #643A70

    oklch(42.2% 0.099 318.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #305A21

    #305A21

    oklch(42.3% 0.098 138.3)

  • #535100

    #535100

    oklch(42.3% 0.091 108.1)

  • #005C45

    #005C45

    oklch(42.2% 0.085 168.5)

Open the analogous palette in the generator

Split complementary

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

  • #305A21

    #305A21

    oklch(42.3% 0.098 138.3)

  • #4C4380

    #4C4380

    oklch(42.2% 0.099 288.2)

  • #743557

    #743557

    oklch(42.4% 0.098 348.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #305A21

    #305A21

    oklch(42.3% 0.098 138.3)

  • #2A4D83

    #2A4D83

    oklch(42.2% 0.099 258.8)

  • #7B3439

    #7B3439

    oklch(42.4% 0.099 18)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #305A21

    #305A21

    oklch(42.3% 0.098 138.3)

  • #005671

    #005671

    oklch(42.3% 0.082 227.8)

  • #643A70

    #643A70

    oklch(42.2% 0.099 318.4)

  • #783A15

    #783A15

    oklch(42.3% 0.099 48)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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