#2F170B

Closest named color: Dark Brown (#341C02). oklch(23.6% 0.044 46.4), rgb(47, 23, 11).

Aa

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

About this color

#2F170B is a very dark, muted brown. In OKLCH its lightness is 24%, its chroma 0.044 and its hue 46°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Brown (#341C02), ΔE 0.026 away. White text reads best on it, at 16.82:1.

Hue familyBrowns
Lightnessvery dark (24%)
Chromamuted (0.044)
Temperaturewarm
Nearest nameDark Brown (#341C02)
Black text1.24:1
White text16.82:1

Values

HEX#2F170B
RGBrgb(47, 23, 11)
HSLhsl(20, 62%, 11%)
OKLCHoklch(23.6% 0.044 46.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 #2F170B 16.82:1 AAA Lc -106.0 Preferred for body text
Black text on #2F170B 1.24:1 Fails Lc 0.0 Not readable
#2F170B text on white 16.82:1 AAA Lc 103.6 Preferred for body text
#2F170B text on black 1.24: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

    #FAF4F2

    oklch(97.1% 0.007 39.5)

  2. Step 100

    100

    #F3E7E2

    oklch(93.6% 0.015 44.2)

  3. Step 200

    200

    #EAD4C9

    oklch(88.5% 0.029 48.4)

  4. Step 300

    300

    #DEB7A5

    oklch(80.9% 0.052 46.1)

  5. Step 400

    400

    #CD9074

    oklch(70.7% 0.084 45.6)

  6. Step 500

    500

    #BE744F

    oklch(63.1% 0.107 46.8)

  7. Step 600

    600

    #A95B33

    oklch(55.5% 0.115 46.3)

  8. Step 700

    700

    #914A25

    oklch(49% 0.108 46.2)

  9. Step 800

    800

    #763D20

    oklch(42.6% 0.09 46.1)

  10. Step 900

    900

    #5F3520

    oklch(37.7% 0.069 46.5)

  11. Step 950

    950 (this color)

    #2F170B

    oklch(23.6% 0.044 46.4)

Export this scale for Tailwind in the Tailwind colors tool

#2F170B 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)#1E1A0A0.038
Deuteranopia (no green cones)#231F0B0.035
Tritanopia (no blue cones)#3412140.026
Achromatopsia (no color)#1D1D1D0.044

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F170B

    #2F170B

    oklch(23.6% 0.044 46.4)

  • #01222E

    #01222E

    oklch(23.5% 0.044 226.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F170B

    #2F170B

    oklch(23.6% 0.044 46.4)

  • #301517

    #301517

    oklch(23.6% 0.044 16.3)

  • #2A1B03

    #2A1B03

    oklch(23.6% 0.045 76.7)

Open the analogous palette in the generator

Split complementary

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

  • #2F170B

    #2F170B

    oklch(23.6% 0.044 46.4)

  • #002424

    #002424

    oklch(23.6% 0.04 194.8)

  • #101F33

    #101F33

    oklch(23.7% 0.044 256)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F170B

    #2F170B

    oklch(23.6% 0.044 46.4)

  • #042519

    #042519

    oklch(23.7% 0.045 164.9)

  • #1D1B32

    #1D1B32

    oklch(23.7% 0.044 286.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F170B

    #2F170B

    oklch(23.6% 0.044 46.4)

  • #14230D

    #14230D

    oklch(23.6% 0.045 136.5)

  • #01222E

    #01222E

    oklch(23.5% 0.044 226.6)

  • #26172C

    #26172C

    oklch(23.4% 0.044 315.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2F170B 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.