#1F270C

Closest named color: Very Dark Green (#062E03). oklch(25.7% 0.046 123.4), rgb(31, 39, 12).

Aa

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

About this color

#1F270C is a dark, muted brown. In OKLCH its lightness is 26%, its chroma 0.046 and its hue 123°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Very Dark Green (#062E03), ΔE 0.042 away. White text reads best on it, at 15.51:1.

Hue familyBrowns
Lightnessdark (26%)
Chromamuted (0.046)
Temperaturein between
Nearest nameVery Dark Green (#062E03)
Black text1.35:1
White text15.51:1

Values

HEX#1F270C
RGBrgb(31, 39, 12)
HSLhsl(78, 53%, 10%)
OKLCHoklch(25.7% 0.046 123.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 #1F270C 15.51:1 AAA Lc -105.1 Preferred for body text
Black text on #1F270C 1.35:1 Fails Lc 0.0 Not readable
#1F270C text on white 15.51:1 AAA Lc 102.4 Preferred for body text
#1F270C text on black 1.35: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

    #E8ECE0

    oklch(93.7% 0.017 121.8)

  3. Step 200

    200

    #D5DDC7

    oklch(88.5% 0.031 123.3)

  4. Step 300

    300

    #B9C7A0

    oklch(80.9% 0.055 123.7)

  5. Step 400

    400

    #96AA6C

    oklch(70.7% 0.088 123.2)

  6. Step 500

    500

    #7C9443

    oklch(63% 0.111 123.3)

  7. Step 600

    600

    #667E20

    oklch(55.5% 0.121 123)

  8. Step 700

    700

    #546B11

    oklch(49.2% 0.114 123.7)

  9. Step 800

    800

    #455713

    oklch(42.7% 0.094 123.4)

  10. Step 900

    900

    #3A4818

    oklch(37.8% 0.073 123.6)

  11. Step 950

    950 (this color)

    #1F270C

    oklch(25.7% 0.046 123.4)

Export this scale for Tailwind in the Tailwind colors tool

#1F270C 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)#2A24090.021
Deuteranopia (no green cones)#28240E0.020
Tritanopia (no blue cones)#2125210.038
Achromatopsia (no color)#2424240.046

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F270C

    #1F270C

    oklch(25.7% 0.046 123.4)

  • #281E36

    #281E36

    oklch(25.9% 0.046 302.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F270C

    #1F270C

    oklch(25.7% 0.046 123.4)

  • #2B2305

    #2B2305

    oklch(25.8% 0.047 94.1)

  • #0F2A19

    #0F2A19

    oklch(25.8% 0.046 153.9)

Open the analogous palette in the generator

Split complementary

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

  • #1F270C

    #1F270C

    oklch(25.7% 0.046 123.4)

  • #1C213A

    #1C213A

    oklch(25.6% 0.048 274)

  • #311B2D

    #311B2D

    oklch(25.9% 0.046 333.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F270C

    #1F270C

    oklch(25.7% 0.046 123.4)

  • #0D2638

    #0D2638

    oklch(25.9% 0.046 242.7)

  • #361921

    #361921

    oklch(25.7% 0.047 3.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F270C

    #1F270C

    oklch(25.7% 0.046 123.4)

  • #002930

    #002930

    oklch(25.8% 0.045 211.9)

  • #281E36

    #281E36

    oklch(25.9% 0.046 302.5)

  • #371A14

    #371A14

    oklch(25.7% 0.048 32.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #1F270C 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.