#302C08

Closest named color: Pakistan Green (#283618). oklch(28.9% 0.053 102.9), rgb(48, 44, 8).

Aa

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

About this color

#302C08 is a dark, muted brown. In OKLCH its lightness is 29%, its chroma 0.053 and its hue 103°. Its hue sits on the warm side of the wheel. The nearest named color is Pakistan Green (#283618), ΔE 0.033 away. White text reads best on it, at 14.09:1.

Hue familyBrowns
Lightnessdark (29%)
Chromamuted (0.053)
Temperaturewarm
Nearest namePakistan Green (#283618)
Black text1.48:1
White text14.09:1

Values

HEX#302C08
RGBrgb(48, 44, 8)
HSLhsl(54, 71%, 11%)
OKLCHoklch(28.9% 0.053 102.9)

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 #302C08 14.09:1 AAA Lc -103.7 Preferred for body text
Black text on #302C08 1.48:1 Fails Lc 0.0 Not readable
#302C08 text on white 14.09:1 AAA Lc 100.7 Preferred for body text
#302C08 text on black 1.48:1 Fails Lc 0.0 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 950.

  1. Step 50

    50

    #F6F6EF

    oklch(97.1% 0.009 106.6)

  2. Step 100

    100

    #ECEBDD

    oklch(93.7% 0.019 103.4)

  3. Step 200

    200

    #DDDBC1

    oklch(88.6% 0.035 103.5)

  4. Step 300

    300

    #C8C394

    oklch(81% 0.063 102.6)

  5. Step 400

    400

    #ACA356

    oklch(70.6% 0.099 102.6)

  6. Step 500

    500

    #988C14

    oklch(63.1% 0.128 103.1)

  7. Step 600

    600

    #807500

    oklch(55.5% 0.117 103)

  8. Step 700

    700

    #6C6200

    oklch(49% 0.103 102.5)

  9. Step 800

    800

    #585000

    oklch(42.6% 0.089 102.9)

  10. Step 900

    900

    #4A4300

    oklch(37.8% 0.079 102.7)

  11. Step 950

    950 (this color)

    #302C08

    oklch(28.9% 0.053 102.9)

Export this scale for Tailwind in the Tailwind colors tool

#302C08 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)#312A040.007
Deuteranopia (no green cones)#322C0A0.005
Tritanopia (no blue cones)#3428250.049
Achromatopsia (no color)#2B2B2B0.053

Harmonies

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

Complementary

The opposite hue (180°).

  • #302C08

    #302C08

    oklch(28.9% 0.053 102.9)

  • #282744

    #282744

    oklch(28.9% 0.052 284.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #302C08

    #302C08

    oklch(28.9% 0.053 102.9)

  • #3B2609

    #3B2609

    oklch(28.8% 0.052 71.3)

  • #213114

    #213114

    oklch(29.1% 0.053 132.6)

Open the analogous palette in the generator

Split complementary

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

  • #302C08

    #302C08

    oklch(28.9% 0.053 102.9)

  • #172C45

    #172C45

    oklch(28.9% 0.053 253.8)

  • #34233E

    #34233E

    oklch(28.9% 0.053 312.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #302C08

    #302C08

    oklch(28.9% 0.053 102.9)

  • #02313E

    #02313E

    oklch(29.1% 0.052 221.9)

  • #3D2032

    #3D2032

    oklch(28.9% 0.053 343)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #302C08

    #302C08

    oklch(28.9% 0.053 102.9)

  • #003332

    #003332

    oklch(29% 0.05 192.7)

  • #282744

    #282744

    oklch(28.9% 0.052 284.2)

  • #411F24

    #411F24

    oklch(28.8% 0.053 11.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #302C08 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.