#25271C

Closest named color: Jet (#212529). oklch(26.7% 0.02 116.1), rgb(37, 39, 28).

Aa

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

About this color

#25271C is a dark close to neutral grey. In OKLCH its lightness is 27%, its chroma 0.020. It has too little chroma to lean warm or cool. The nearest named color is Jet (#212529), ΔE 0.028 away. White text reads best on it, at 15.15:1.

Hue familyNeutrals
Lightnessdark (27%)
Chromaclose to neutral grey (0.020)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.38:1
White text15.15:1

Values

HEX#25271C
RGBrgb(37, 39, 28)
HSLhsl(71, 16%, 13%)
OKLCHoklch(26.7% 0.02 116.1)

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 #25271C 15.15:1 AAA Lc -104.8 Preferred for body text
Black text on #25271C 1.38:1 Fails Lc 0.0 Not readable
#25271C text on white 15.15:1 AAA Lc 102.1 Preferred for body text
#25271C text on black 1.38: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

    #F5F6F3

    oklch(97.2% 0.004 121.6)

  2. Step 100

    100

    #E9EAE5

    oklch(93.5% 0.007 115.7)

  3. Step 200

    200

    #D8DAD1

    oklch(88.4% 0.012 116.8)

  4. Step 300

    300

    #BFC3B2

    oklch(80.9% 0.024 117.7)

  5. Step 400

    400

    #9FA48A

    oklch(70.7% 0.037 116.2)

  6. Step 500

    500

    #878D6C

    oklch(62.9% 0.048 116.2)

  7. Step 600

    600

    #717754

    oklch(55.5% 0.052 116)

  8. Step 700

    700

    #5F6445

    oklch(49% 0.047 115.6)

  9. Step 800

    800

    #4E5239

    oklch(42.8% 0.039 115.5)

  10. Step 900

    900

    #404431

    oklch(37.7% 0.031 117.6)

  11. Step 950

    950 (this color)

    #25271C

    oklch(26.7% 0.02 116.1)

Export this scale for Tailwind in the Tailwind colors tool

#25271C 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)#29261B0.008
Deuteranopia (no green cones)#28261C0.006
Tritanopia (no blue cones)#2626240.016
Achromatopsia (no color)#2626260.020

Harmonies

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

Complementary

The opposite hue (180°).

  • #25271C

    #25271C

    oklch(26.7% 0.02 116.1)

  • #26242E

    #26242E

    oklch(26.7% 0.019 294.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #25271C

    #25271C

    oklch(26.7% 0.02 116.1)

  • #2A251B

    #2A251B

    oklch(26.7% 0.019 84.5)

  • #202820

    #202820

    oklch(26.6% 0.019 145)

Open the analogous palette in the generator

Split complementary

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

  • #25271C

    #25271C

    oklch(26.7% 0.02 116.1)

  • #212630

    #212630

    oklch(26.8% 0.02 264.2)

  • #2B222B

    #2B222B

    oklch(26.6% 0.021 326.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #25271C

    #25271C

    oklch(26.7% 0.02 116.1)

  • #1C272E

    #1C272E

    oklch(26.6% 0.02 236.5)

  • #2E2226

    #2E2226

    oklch(26.8% 0.02 356.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #25271C

    #25271C

    oklch(26.7% 0.02 116.1)

  • #1A292A

    #1A292A

    oklch(26.8% 0.02 201.2)

  • #26242E

    #26242E

    oklch(26.7% 0.019 294.3)

  • #2F2221

    #2F2221

    oklch(26.7% 0.02 23.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #25271C 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.