#305C23

Closest named color: Pine (#2B5D34). oklch(42.9% 0.1 139.1), rgb(48, 92, 35).

Aa

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

About this color

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

Hue familyGreens
Lightnessdark (43%)
Chromamoderately saturated (0.100)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.68:1
White text7.83:1

Values

HEX#305C23
RGBrgb(48, 92, 35)
HSLhsl(106, 45%, 25%)
OKLCHoklch(42.9% 0.1 139.1)

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 #305C23 7.83:1 AAA Lc -91.7 Preferred for body text
Black text on #305C23 2.68:1 Fails Lc 17.0 Dividers and decoration only
#305C23 text on white 7.83:1 AAA Lc 87.0 Fine for body text
#305C23 text on black 2.68:1 Fails Lc -15.1 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

    #F3F7F2

    oklch(97.2% 0.008 139.4)

  2. Step 100

    100

    #E4EDE2

    oklch(93.6% 0.017 140)

  3. Step 200

    200

    #CFDFCA

    oklch(88.6% 0.033 138.2)

  4. Step 300

    300

    #AECAA6

    oklch(80.8% 0.058 138.8)

  5. Step 400

    400

    #82AF76

    oklch(70.7% 0.094 139.2)

  6. Step 500

    500

    #629B52

    oklch(63.2% 0.12 139.1)

  7. Step 600

    600

    #488536

    oklch(55.7% 0.129 139.1)

  8. Step 700

    700

    #397028

    oklch(49% 0.12 139)

  9. Step 800

    800 (this color)

    #305C23

    oklch(42.9% 0.1 139.1)

  10. Step 900

    900

    #2B4B21

    oklch(37.7% 0.077 138.7)

  11. Step 950

    950

    #192C14

    oklch(26.9% 0.049 139.3)

Export this scale for Tailwind in the Tailwind colors tool

#305C23 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)#5F541D0.067
Deuteranopia (no green cones)#5950270.068
Tritanopia (no blue cones)#2D59500.068
Achromatopsia (no color)#5252520.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #305C23

    #305C23

    oklch(42.9% 0.1 139.1)

  • #663C72

    #663C72

    oklch(42.9% 0.099 318.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #305C23

    #305C23

    oklch(42.9% 0.1 139.1)

  • #545300

    #545300

    oklch(42.9% 0.093 109)

  • #005E47

    #005E47

    oklch(42.8% 0.086 168.9)

Open the analogous palette in the generator

Split complementary

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

  • #305C23

    #305C23

    oklch(42.9% 0.1 139.1)

  • #4F4482

    #4F4482

    oklch(42.8% 0.1 289.6)

  • #763658

    #763658

    oklch(42.9% 0.099 349)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #305C23

    #305C23

    oklch(42.9% 0.1 139.1)

  • #2C4F85

    #2C4F85

    oklch(42.9% 0.099 258.8)

  • #7D3539

    #7D3539

    oklch(42.8% 0.1 18.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #305C23

    #305C23

    oklch(42.9% 0.1 139.1)

  • #005774

    #005774

    oklch(42.7% 0.085 229.4)

  • #663C72

    #663C72

    oklch(42.9% 0.099 318.5)

  • #7A3C15

    #7A3C15

    oklch(42.9% 0.1 49)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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