#305F1A

Closest named color: Pine (#2B5D34). oklch(43.6% 0.112 137.4), rgb(48, 95, 26).

Aa

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

About this color

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

Hue familyGreens
Lightnessdark (44%)
Chromamoderately saturated (0.112)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.77:1
White text7.56:1

Values

HEX#305F1A
RGBrgb(48, 95, 26)
HSLhsl(101, 57%, 24%)
OKLCHoklch(43.6% 0.112 137.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 #305F1A 7.56:1 AAA Lc -90.9 Preferred for body text
Black text on #305F1A 2.77:1 Fails Lc 18.0 Dividers and decoration only
#305F1A text on white 7.56:1 AAA Lc 86.1 Fine for body text
#305F1A text on black 2.77:1 Fails Lc -16.0 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

    #F3F7F1

    oklch(97.1% 0.009 134.9)

  2. Step 100

    100

    #E4EDE1

    oklch(93.6% 0.019 137.8)

  3. Step 200

    200

    #CEDFC8

    oklch(88.5% 0.036 137.5)

  4. Step 300

    300

    #ADCBA2

    oklch(80.9% 0.065 137.3)

  5. Step 400

    400

    #81B06F

    oklch(70.7% 0.104 137.3)

  6. Step 500

    500

    #609C47

    oklch(63.2% 0.134 137.3)

  7. Step 600

    600

    #458626

    oklch(55.6% 0.145 137.4)

  8. Step 700

    700

    #367118

    oklch(49% 0.135 137.4)

  9. Step 800

    800 (this color)

    #305F1A

    oklch(43.6% 0.112 137.4)

  10. Step 900

    900

    #294C1A

    oklch(37.7% 0.087 137.4)

  11. Step 950

    950

    #192D10

    oklch(27.2% 0.056 136.9)

Export this scale for Tailwind in the Tailwind colors tool

#305F1A 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)#6257100.070
Deuteranopia (no green cones)#5C53200.071
Tritanopia (no blue cones)#2D5B510.079
Achromatopsia (no color)#5454540.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #305F1A

    #305F1A

    oklch(43.6% 0.112 137.4)

  • #6A3B79

    #6A3B79

    oklch(43.6% 0.111 317.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #305F1A

    #305F1A

    oklch(43.6% 0.112 137.4)

  • #575400

    #575400

    oklch(43.5% 0.093 107.3)

  • #006147

    #006147

    oklch(43.7% 0.09 166.9)

Open the analogous palette in the generator

Split complementary

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

  • #305F1A

    #305F1A

    oklch(43.6% 0.112 137.4)

  • #4F458B

    #4F458B

    oklch(43.6% 0.112 287.4)

  • #7C345D

    #7C345D

    oklch(43.7% 0.112 347.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #305F1A

    #305F1A

    oklch(43.6% 0.112 137.4)

  • #25518E

    #25518E

    oklch(43.7% 0.112 257.2)

  • #84333A

    #84333A

    oklch(43.7% 0.112 17.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #305F1A

    #305F1A

    oklch(43.6% 0.112 137.4)

  • #005A76

    #005A76

    oklch(43.7% 0.085 227.8)

  • #6A3B79

    #6A3B79

    oklch(43.6% 0.111 317.5)

  • #813A0D

    #813A0D

    oklch(43.6% 0.112 47.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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