#031C12

Closest named color: Rich Navy (#001219). oklch(20.3% 0.038 164.3), rgb(3, 28, 18).

Aa

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

About this color

#031C12 is a very dark, muted green. In OKLCH its lightness is 20%, its chroma 0.038 and its hue 164°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rich Navy (#001219), ΔE 0.048 away. White text reads best on it, at 17.81:1.

Hue familyGreens
Lightnessvery dark (20%)
Chromamuted (0.038)
Temperaturein between
Nearest nameRich Navy (#001219)
Black text1.17:1
White text17.81:1

Values

HEX#031C12
RGBrgb(3, 28, 18)
HSLhsl(156, 81%, 6%)
OKLCHoklch(20.3% 0.038 164.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 #031C12 17.81:1 AAA Lc -106.7 Preferred for body text
Black text on #031C12 1.17:1 Fails Lc 0.0 Not readable
#031C12 text on white 17.81:1 AAA Lc 104.5 Preferred for body text
#031C12 text on black 1.17: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

    #F2F7F4

    oklch(97.2% 0.007 160.1)

  2. Step 100

    100

    #E2EDE7

    oklch(93.6% 0.014 162.5)

  3. Step 200

    200

    #CBDFD5

    oklch(88.6% 0.025 164.4)

  4. Step 300

    300

    #A7CAB9

    oklch(80.9% 0.044 164.3)

  5. Step 400

    400

    #75AF95

    oklch(70.6% 0.072 164.7)

  6. Step 500

    500

    #4E9B7B

    oklch(63.1% 0.092 164.5)

  7. Step 600

    600

    #2B8664

    oklch(55.7% 0.101 164.4)

  8. Step 700

    700

    #1C7153

    oklch(49.1% 0.093 164.7)

  9. Step 800

    800

    #1B5C44

    oklch(42.7% 0.077 164.7)

  10. Step 900

    900

    #1E4C39

    oklch(37.8% 0.061 163.8)

  11. Step 950

    950 (this color)

    #031C12

    oklch(20.3% 0.038 164.3)

Export this scale for Tailwind in the Tailwind colors tool

#031C12 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)#1B19110.037
Deuteranopia (no green cones)#1817130.036
Tritanopia (no blue cones)#001C190.014
Achromatopsia (no color)#1818180.039

Harmonies

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

Complementary

The opposite hue (180°).

  • #031C12

    #031C12

    oklch(20.3% 0.038 164.3)

  • #230F1B

    #230F1B

    oklch(20.3% 0.039 344.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #031C12

    #031C12

    oklch(20.3% 0.038 164.3)

  • #0F1A08

    #0F1A08

    oklch(20.1% 0.037 134.3)

  • #001B1B

    #001B1B

    oklch(20.1% 0.034 194.8)

Open the analogous palette in the generator

Split complementary

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

  • #031C12

    #031C12

    oklch(20.3% 0.038 164.3)

  • #1D1123

    #1D1123

    oklch(20.3% 0.039 313.8)

  • #250F11

    #250F11

    oklch(20.3% 0.037 15.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #031C12

    #031C12

    oklch(20.3% 0.038 164.3)

  • #151427

    #151427

    oklch(20.3% 0.037 284.9)

  • #251008

    #251008

    oklch(20.2% 0.039 41.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #031C12

    #031C12

    oklch(20.3% 0.038 164.3)

  • #0A1728

    #0A1728

    oklch(20.3% 0.039 255.7)

  • #230F1B

    #230F1B

    oklch(20.3% 0.039 344.3)

  • #211402

    #211402

    oklch(20.4% 0.039 75.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #031C12 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.