#072012

Closest named color: Rich Black (#0D1B2A). oklch(21.9% 0.042 156.1), rgb(7, 32, 18).

Aa

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

About this color

#072012 is a very dark, muted green. In OKLCH its lightness is 22%, its chroma 0.042 and its hue 156°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.057 away. White text reads best on it, at 17.15:1.

Hue familyGreens
Lightnessvery dark (22%)
Chromamuted (0.042)
Temperaturein between
Nearest nameRich Black (#0D1B2A)
Black text1.22:1
White text17.15:1

Values

HEX#072012
RGBrgb(7, 32, 18)
HSLhsl(146, 64%, 8%)
OKLCHoklch(21.9% 0.042 156.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 #072012 17.15:1 AAA Lc -106.3 Preferred for body text
Black text on #072012 1.22:1 Fails Lc 0.0 Not readable
#072012 text on white 17.15:1 AAA Lc 103.9 Preferred for body text
#072012 text on black 1.22: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

    #E3EDE6

    oklch(93.7% 0.014 155.6)

  3. Step 200

    200

    #CBDFD2

    oklch(88.5% 0.028 157.3)

  4. Step 300

    300

    #A8CBB3

    oklch(81% 0.05 155.2)

  5. Step 400

    400

    #77B08C

    oklch(70.8% 0.08 156)

  6. Step 500

    500

    #519C70

    oklch(63.2% 0.101 156.2)

  7. Step 600

    600

    #308658

    oklch(55.6% 0.11 156.4)

  8. Step 700

    700

    #227148

    oklch(49% 0.101 156.5)

  9. Step 800

    800

    #1F5C3B

    oklch(42.6% 0.084 156.3)

  10. Step 900

    900

    #204C33

    oklch(37.8% 0.065 156.4)

  11. Step 950

    950 (this color)

    #072012

    oklch(21.9% 0.042 156.1)

Export this scale for Tailwind in the Tailwind colors tool

#072012 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)#201D110.038
Deuteranopia (no green cones)#1C1A130.037
Tritanopia (no blue cones)#02201C0.019
Achromatopsia (no color)#1B1B1B0.042

Harmonies

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

Complementary

The opposite hue (180°).

  • #072012

    #072012

    oklch(21.9% 0.042 156.1)

  • #261222

    #261222

    oklch(21.8% 0.043 334.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #072012

    #072012

    oklch(21.9% 0.042 156.1)

  • #151E07

    #151E07

    oklch(21.9% 0.042 127.2)

  • #00201D

    #00201D

    oklch(21.9% 0.038 186)

Open the analogous palette in the generator

Split complementary

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

  • #072012

    #072012

    oklch(21.9% 0.042 156.1)

  • #1F152A

    #1F152A

    oklch(21.9% 0.042 305.1)

  • #2A1117

    #2A1117

    oklch(21.8% 0.042 5.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #072012

    #072012

    oklch(21.9% 0.042 156.1)

  • #15182E

    #15182E

    oklch(21.8% 0.043 276.3)

  • #2B130C

    #2B130C

    oklch(22% 0.042 37.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #072012

    #072012

    oklch(21.9% 0.042 156.1)

  • #081C2C

    #081C2C

    oklch(21.9% 0.041 245.3)

  • #261222

    #261222

    oklch(21.8% 0.043 334.7)

  • #271604

    #271604

    oklch(21.9% 0.041 66.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #072012 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.