#262F12

Closest named color: Pakistan Green (#283618). oklch(28.9% 0.049 123.7), rgb(38, 47, 18).

Aa

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

About this color

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

Hue familyBrowns
Lightnessdark (29%)
Chromamuted (0.049)
Temperaturein between
Nearest namePakistan Green (#283618)
Black text1.49:1
White text14.02:1

Values

HEX#262F12
RGBrgb(38, 47, 18)
HSLhsl(79, 45%, 13%)
OKLCHoklch(28.9% 0.049 123.7)

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 #262F12 14.02:1 AAA Lc -103.7 Preferred for body text
Black text on #262F12 1.49:1 Fails Lc 0.0 Not readable
#262F12 text on white 14.02:1 AAA Lc 100.6 Preferred for body text
#262F12 text on black 1.49: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

    #F4F6F1

    oklch(97% 0.007 124.4)

  2. Step 100

    100

    #E7ECE0

    oklch(93.6% 0.017 125.3)

  3. Step 200

    200

    #D5DDC6

    oklch(88.5% 0.032 122.7)

  4. Step 300

    300

    #B9C79E

    oklch(80.8% 0.058 123)

  5. Step 400

    400

    #95AB69

    oklch(70.8% 0.093 123.8)

  6. Step 500

    500

    #7B953D

    oklch(63.1% 0.119 123.6)

  7. Step 600

    600

    #647F15

    oklch(55.6% 0.129 123.8)

  8. Step 700

    700

    #536B03

    oklch(49.1% 0.12 123.7)

  9. Step 800

    800

    #44570B

    oklch(42.6% 0.099 123.5)

  10. Step 900

    900

    #394814

    oklch(37.6% 0.077 123.9)

  11. Step 950

    950 (this color)

    #262F12

    oklch(28.9% 0.049 123.7)

Export this scale for Tailwind in the Tailwind colors tool

#262F12 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)#322C0F0.022
Deuteranopia (no green cones)#312C140.022
Tritanopia (no blue cones)#282D280.039
Achromatopsia (no color)#2C2C2C0.049

Harmonies

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

Complementary

The opposite hue (180°).

  • #262F12

    #262F12

    oklch(28.9% 0.049 123.7)

  • #30253F

    #30253F

    oklch(28.9% 0.048 303)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #262F12

    #262F12

    oklch(28.9% 0.049 123.7)

  • #332A0A

    #332A0A

    oklch(28.8% 0.049 93.2)

  • #15321F

    #15321F

    oklch(28.8% 0.05 153.3)

Open the analogous palette in the generator

Split complementary

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

  • #262F12

    #262F12

    oklch(28.9% 0.049 123.7)

  • #232943

    #232943

    oklch(28.8% 0.048 273.1)

  • #3A2135

    #3A2135

    oklch(28.8% 0.05 334.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #262F12

    #262F12

    oklch(28.9% 0.049 123.7)

  • #132D42

    #132D42

    oklch(28.8% 0.05 245.2)

  • #3F2028

    #3F2028

    oklch(28.8% 0.049 4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #262F12

    #262F12

    oklch(28.9% 0.049 123.7)

  • #02313A

    #02313A

    oklch(28.9% 0.049 214.4)

  • #30253F

    #30253F

    oklch(28.9% 0.048 303)

  • #40211A

    #40211A

    oklch(28.8% 0.05 33.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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