#301F02

Closest named color: Dark Brown (#341C02). oklch(25.4% 0.05 77.4), rgb(48, 31, 2).

Aa

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

About this color

#301F02 is a dark, muted brown. In OKLCH its lightness is 25%, its chroma 0.050 and its hue 77°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Brown (#341C02), ΔE 0.012 away. White text reads best on it, at 15.87:1.

Hue familyBrowns
Lightnessdark (25%)
Chromamuted (0.050)
Temperaturewarm
Nearest nameDark Brown (#341C02)
Black text1.32:1
White text15.87:1

Values

HEX#301F02
RGBrgb(48, 31, 2)
HSLhsl(38, 92%, 10%)
OKLCHoklch(25.4% 0.05 77.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 #301F02 15.87:1 AAA Lc -105.3 Preferred for body text
Black text on #301F02 1.32:1 Fails Lc 0.0 Not readable
#301F02 text on white 15.87:1 AAA Lc 102.7 Preferred for body text
#301F02 text on black 1.32: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

    #F8F5F0

    oklch(97.1% 0.007 80.7)

  2. Step 100

    100

    #F0E9DD

    oklch(93.6% 0.018 81.3)

  3. Step 200

    200

    #E6D7C1

    oklch(88.5% 0.034 77.6)

  4. Step 300

    300

    #D7BC96

    oklch(80.9% 0.059 76.2)

  5. Step 400

    400

    #C29959

    oklch(70.7% 0.096 77.4)

  6. Step 500

    500

    #B27E1F

    oklch(63% 0.122 77)

  7. Step 600

    600

    #996900

    oklch(55.7% 0.116 77.3)

  8. Step 700

    700

    #815800

    oklch(49.2% 0.103 77.4)

  9. Step 800

    800

    #6A4700

    oklch(42.6% 0.089 76.7)

  10. Step 900

    900

    #583B00

    oklch(37.6% 0.078 77.7)

  11. Step 950

    950 (this color)

    #301F02

    oklch(25.4% 0.05 77.4)

Export this scale for Tailwind in the Tailwind colors tool

#301F02 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)#2520000.024
Deuteranopia (no green cones)#2924030.021
Tritanopia (no blue cones)#351A190.043
Achromatopsia (no color)#2222220.050

Harmonies

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

Complementary

The opposite hue (180°).

  • #301F02

    #301F02

    oklch(25.4% 0.05 77.4)

  • #12233B

    #12233B

    oklch(25.5% 0.051 257.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #301F02

    #301F02

    oklch(25.4% 0.05 77.4)

  • #361A0C

    #361A0C

    oklch(25.4% 0.05 46.1)

  • #252403

    #252403

    oklch(25.4% 0.05 107.8)

Open the analogous palette in the generator

Split complementary

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

  • #301F02

    #301F02

    oklch(25.4% 0.05 77.4)

  • #002735

    #002735

    oklch(25.4% 0.049 227.3)

  • #211E3A

    #211E3A

    oklch(25.4% 0.052 287)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #301F02

    #301F02

    oklch(25.4% 0.05 77.4)

  • #00292A

    #00292A

    oklch(25.5% 0.043 197.3)

  • #2C1A33

    #2C1A33

    oklch(25.3% 0.052 316.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #301F02

    #301F02

    oklch(25.4% 0.05 77.4)

  • #012A1E

    #012A1E

    oklch(25.4% 0.05 168.4)

  • #12233B

    #12233B

    oklch(25.5% 0.051 257.2)

  • #341827

    #341827

    oklch(25.5% 0.05 347.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #301F02 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.