#262C18

Closest named color: Pakistan Green (#283618). oklch(28.1% 0.035 122.3), rgb(38, 44, 24).

Aa

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

About this color

#262C18 is a dark, muted brown. In OKLCH its lightness is 28%, its chroma 0.035 and its hue 122°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pakistan Green (#283618), ΔE 0.036 away. White text reads best on it, at 14.42:1.

Hue familyBrowns
Lightnessdark (28%)
Chromamuted (0.035)
Temperaturein between
Nearest namePakistan Green (#283618)
Black text1.45:1
White text14.42:1

Values

HEX#262C18
RGBrgb(38, 44, 24)
HSLhsl(78, 29%, 13%)
OKLCHoklch(28.1% 0.035 122.3)

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 #262C18 14.42:1 AAA Lc -104.1 Preferred for body text
Black text on #262C18 1.45:1 Fails Lc 0.0 Not readable
#262C18 text on white 14.42:1 AAA Lc 101.2 Preferred for body text
#262C18 text on black 1.45: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

    #F5F6F2

    oklch(97.1% 0.005 117.9)

  2. Step 100

    100

    #E8EBE2

    oklch(93.5% 0.012 121.7)

  3. Step 200

    200

    #D6DCCB

    oklch(88.5% 0.024 122.8)

  4. Step 300

    300

    #BCC5A8

    oklch(80.9% 0.041 121.3)

  5. Step 400

    400

    #99A879

    oklch(70.8% 0.067 122.5)

  6. Step 500

    500

    #809256

    oklch(63.1% 0.086 122.5)

  7. Step 600

    600

    #6A7C3B

    oklch(55.6% 0.093 122.2)

  8. Step 700

    700

    #58682D

    oklch(49% 0.086 122.2)

  9. Step 800

    800

    #485526

    oklch(42.6% 0.072 122.3)

  10. Step 900

    900

    #3C4624

    oklch(37.6% 0.055 122.5)

  11. Step 950

    950 (this color)

    #262C18

    oklch(28.1% 0.035 122.3)

Export this scale for Tailwind in the Tailwind colors tool

#262C18 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)#2E2A170.015
Deuteranopia (no green cones)#2D2A190.014
Tritanopia (no blue cones)#282A270.029
Achromatopsia (no color)#2A2A2A0.036

Harmonies

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

Complementary

The opposite hue (180°).

  • #262C18

    #262C18

    oklch(28.1% 0.035 122.3)

  • #2C2538

    #2C2538

    oklch(28.1% 0.036 301)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #262C18

    #262C18

    oklch(28.1% 0.035 122.3)

  • #2F2914

    #2F2914

    oklch(28.2% 0.036 93.9)

  • #1B2E21

    #1B2E21

    oklch(28% 0.035 153.8)

Open the analogous palette in the generator

Split complementary

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

  • #262C18

    #262C18

    oklch(28.1% 0.035 122.3)

  • #23283B

    #23283B

    oklch(28.1% 0.036 272.6)

  • #342331

    #342331

    oklch(28.3% 0.035 332.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #262C18

    #262C18

    oklch(28.1% 0.035 122.3)

  • #192B39

    #192B39

    oklch(28% 0.035 242.9)

  • #382228

    #382228

    oklch(28.2% 0.035 1.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #262C18

    #262C18

    oklch(28.1% 0.035 122.3)

  • #122E33

    #122E33

    oklch(28.2% 0.035 210.7)

  • #2C2538

    #2C2538

    oklch(28.1% 0.036 301)

  • #39231E

    #39231E

    oklch(28.2% 0.035 33.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #262C18 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.