#31401C

Closest named color: Dark Olive (#373E02). oklch(34.9% 0.06 127.9), rgb(49, 64, 28).

Aa

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

About this color

#31401C is a dark, muted green. In OKLCH its lightness is 35%, its chroma 0.060 and its hue 128°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Olive (#373E02), ΔE 0.022 away. White text reads best on it, at 11.16:1.

Hue familyGreens
Lightnessdark (35%)
Chromamuted (0.060)
Temperaturein between
Nearest nameDark Olive (#373E02)
Black text1.88:1
White text11.16:1

Values

HEX#31401C
RGBrgb(49, 64, 28)
HSLhsl(85, 39%, 18%)
OKLCHoklch(34.9% 0.06 127.9)

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 #31401C 11.16:1 AAA Lc -99.5 Preferred for body text
Black text on #31401C 1.88:1 Fails Lc 8.1 Not readable
#31401C text on white 11.16:1 AAA Lc 95.8 Preferred for body text
#31401C text on black 1.88: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 900.

  1. Step 50

    50

    #F4F6F2

    oklch(97.1% 0.006 128.5)

  2. Step 100

    100

    #E7ECE2

    oklch(93.7% 0.014 128.6)

  3. Step 200

    200

    #D4DDCB

    oklch(88.6% 0.026 128.8)

  4. Step 300

    300

    #B8C7A8

    oklch(81% 0.046 128.5)

  5. Step 400

    400

    #94AA79

    oklch(70.8% 0.073 127.8)

  6. Step 500

    500

    #799456

    oklch(63% 0.092 128)

  7. Step 600

    600

    #627E3A

    oklch(55.5% 0.1 127.9)

  8. Step 700

    700

    #516A2C

    oklch(49% 0.093 127.8)

  9. Step 800

    800

    #435726

    oklch(42.8% 0.077 127.7)

  10. Step 900

    900 (this color)

    #31401C

    oklch(34.9% 0.06 127.9)

  11. Step 950

    950

    #212A15

    oklch(27% 0.039 127.7)

Export this scale for Tailwind in the Tailwind colors tool

#31401C 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)#433C190.031
Deuteranopia (no green cones)#413B1E0.031
Tritanopia (no blue cones)#333D380.048
Achromatopsia (no color)#3B3B3B0.060

Harmonies

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

Complementary

The opposite hue (180°).

  • #31401C

    #31401C

    oklch(34.9% 0.06 127.9)

  • #433152

    #433152

    oklch(34.8% 0.06 308.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31401C

    #31401C

    oklch(34.9% 0.06 127.9)

  • #433A10

    #433A10

    oklch(34.9% 0.06 97)

  • #1A442E

    #1A442E

    oklch(35% 0.061 158)

Open the analogous palette in the generator

Split complementary

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

  • #31401C

    #31401C

    oklch(34.9% 0.06 127.9)

  • #333759

    #333759

    oklch(34.9% 0.059 277.7)

  • #4E2D45

    #4E2D45

    oklch(34.8% 0.061 337.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31401C

    #31401C

    oklch(34.9% 0.06 127.9)

  • #1E3D58

    #1E3D58

    oklch(35% 0.06 246.8)

  • #552C34

    #552C34

    oklch(34.9% 0.061 8.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31401C

    #31401C

    oklch(34.9% 0.06 127.9)

  • #05414F

    #05414F

    oklch(34.8% 0.06 218.9)

  • #433152

    #433152

    oklch(34.8% 0.06 308.6)

  • #552E22

    #552E22

    oklch(34.8% 0.061 37.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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