#305B23

Closest named color: Pine (#2B5D34). oklch(42.6% 0.098 139), rgb(48, 91, 35).

Aa

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

About this color

#305B23 is a dark, moderately saturated green. In OKLCH its lightness is 43%, its chroma 0.098 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.93:1.

Hue familyGreens
Lightnessdark (43%)
Chromamoderately saturated (0.098)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.64:1
White text7.93:1

Values

HEX#305B23
RGBrgb(48, 91, 35)
HSLhsl(106, 44%, 25%)
OKLCHoklch(42.6% 0.098 139)

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 #305B23 7.93:1 AAA Lc -92.1 Preferred for body text
Black text on #305B23 2.64:1 Fails Lc 16.7 Dividers and decoration only
#305B23 text on white 7.93:1 AAA Lc 87.3 Fine for body text
#305B23 text on black 2.64:1 Fails Lc -14.8 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

    #E4EDE2

    oklch(93.6% 0.017 140)

  3. Step 200

    200

    #CFDFCB

    oklch(88.6% 0.032 139.4)

  4. Step 300

    300

    #AECAA7

    oklch(80.9% 0.057 139.4)

  5. Step 400

    400

    #83AF77

    oklch(70.8% 0.092 139.1)

  6. Step 500

    500

    #639A53

    oklch(63% 0.117 138.9)

  7. Step 600

    600

    #498437

    oklch(55.5% 0.126 138.9)

  8. Step 700

    700

    #3A7029

    oklch(49.1% 0.118 138.9)

  9. Step 800

    800 (this color)

    #305B23

    oklch(42.6% 0.098 139)

  10. Step 900

    900

    #2B4B22

    oklch(37.7% 0.076 139.1)

  11. Step 950

    950

    #1A2C14

    oklch(27% 0.049 138.2)

Export this scale for Tailwind in the Tailwind colors tool

#305B23 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)#5E531D0.066
Deuteranopia (no green cones)#5850270.065
Tritanopia (no blue cones)#2D584F0.067
Achromatopsia (no color)#5151510.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #305B23

    #305B23

    oklch(42.6% 0.098 139)

  • #653B70

    #653B70

    oklch(42.5% 0.098 319.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #305B23

    #305B23

    oklch(42.6% 0.098 139)

  • #535200

    #535200

    oklch(42.6% 0.092 108.9)

  • #005D46

    #005D46

    oklch(42.5% 0.085 168.7)

Open the analogous palette in the generator

Split complementary

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

  • #305B23

    #305B23

    oklch(42.6% 0.098 139)

  • #4E4480

    #4E4480

    oklch(42.6% 0.097 289.3)

  • #753657

    #753657

    oklch(42.7% 0.097 349.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #305B23

    #305B23

    oklch(42.6% 0.098 139)

  • #2C4E84

    #2C4E84

    oklch(42.6% 0.099 259.3)

  • #7B3539

    #7B3539

    oklch(42.5% 0.098 18.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #305B23

    #305B23

    oklch(42.6% 0.098 139)

  • #005773

    #005773

    oklch(42.7% 0.084 228.5)

  • #653B70

    #653B70

    oklch(42.5% 0.098 319.1)

  • #783C16

    #783C16

    oklch(42.6% 0.097 49.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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