#30271A

Closest named color: Dark Brown (#341C02). oklch(27.9% 0.026 76.5), rgb(48, 39, 26).

Aa

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

About this color

#30271A is a dark close to neutral grey. In OKLCH its lightness is 28%, its chroma 0.026. It has too little chroma to lean warm or cool. The nearest named color is Dark Brown (#341C02), ΔE 0.039 away. White text reads best on it, at 14.67:1.

Hue familyNeutrals
Lightnessdark (28%)
Chromaclose to neutral grey (0.026)
Temperatureneutral
Nearest nameDark Brown (#341C02)
Black text1.43:1
White text14.67:1

Values

HEX#30271A
RGBrgb(48, 39, 26)
HSLhsl(35, 30%, 15%)
OKLCHoklch(27.9% 0.026 76.5)

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 #30271A 14.67:1 AAA Lc -104.3 Preferred for body text
Black text on #30271A 1.43:1 Fails Lc 0.0 Not readable
#30271A text on white 14.67:1 AAA Lc 101.5 Preferred for body text
#30271A text on black 1.43: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

    #F7F5F2

    oklch(97.1% 0.005 78.3)

  2. Step 100

    100

    #EDE9E3

    oklch(93.5% 0.009 78.3)

  3. Step 200

    200

    #E0D8CD

    oklch(88.6% 0.017 76.1)

  4. Step 300

    300

    #CCBEAB

    oklch(80.8% 0.031 75.6)

  5. Step 400

    400

    #B29D7E

    oklch(70.6% 0.05 77.4)

  6. Step 500

    500

    #9F855E

    oklch(63.1% 0.063 77.3)

  7. Step 600

    600

    #8A6E44

    oklch(55.6% 0.068 76.7)

  8. Step 700

    700

    #755C36

    oklch(49.1% 0.063 76.9)

  9. Step 800

    800

    #604B2D

    oklch(42.7% 0.053 75.4)

  10. Step 900

    900

    #4E3F28

    oklch(37.7% 0.041 77.7)

  11. Step 950

    950 (this color)

    #30271A

    oklch(27.9% 0.026 76.5)

Export this scale for Tailwind in the Tailwind colors tool

#30271A 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)#2B27190.010
Deuteranopia (no green cones)#2D291A0.009
Tritanopia (no blue cones)#3325240.022
Achromatopsia (no color)#2828280.026

Harmonies

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

Complementary

The opposite hue (180°).

  • #30271A

    #30271A

    oklch(27.9% 0.026 76.5)

  • #202935

    #202935

    oklch(27.8% 0.026 255.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #30271A

    #30271A

    oklch(27.9% 0.026 76.5)

  • #34251E

    #34251E

    oklch(28% 0.026 46.2)

  • #2A2A1A

    #2A2A1A

    oklch(28% 0.027 108.1)

Open the analogous palette in the generator

Split complementary

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

  • #30271A

    #30271A

    oklch(27.9% 0.026 76.5)

  • #1A2B33

    #1A2B33

    oklch(27.8% 0.027 229.1)

  • #272735

    #272735

    oklch(27.9% 0.026 284.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #30271A

    #30271A

    oklch(27.9% 0.026 76.5)

  • #192D2D

    #192D2D

    oklch(28% 0.026 195.8)

  • #2E2531

    #2E2531

    oklch(28% 0.025 317.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #30271A

    #30271A

    oklch(27.9% 0.026 76.5)

  • #1C2D26

    #1C2D26

    oklch(28% 0.026 166.9)

  • #202935

    #202935

    oklch(27.8% 0.026 255.7)

  • #32232B

    #32232B

    oklch(27.7% 0.027 345.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #30271A 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.