#042012

Closest named color: Dark Forest Green (#002D04). oklch(21.7% 0.044 158.3), rgb(4, 32, 18).

Aa

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

About this color

#042012 is a very dark, muted green. In OKLCH its lightness is 22%, its chroma 0.044 and its hue 158°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Forest Green (#002D04), ΔE 0.058 away. White text reads best on it, at 17.20:1.

Hue familyGreens
Lightnessvery dark (22%)
Chromamuted (0.044)
Temperaturein between
Nearest nameDark Forest Green (#002D04)
Black text1.22:1
White text17.20:1

Values

HEX#042012
RGBrgb(4, 32, 18)
HSLhsl(150, 78%, 7%)
OKLCHoklch(21.7% 0.044 158.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 #042012 17.20:1 AAA Lc -106.3 Preferred for body text
Black text on #042012 1.22:1 Fails Lc 0.0 Not readable
#042012 text on white 17.20:1 AAA Lc 103.9 Preferred for body text
#042012 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

    #E2EDE6

    oklch(93.6% 0.015 158.2)

  3. Step 200

    200

    #CADFD2

    oklch(88.4% 0.029 158.6)

  4. Step 300

    300

    #A5CBB4

    oklch(80.8% 0.052 158.4)

  5. Step 400

    400

    #72B18D

    oklch(70.7% 0.084 158.3)

  6. Step 500

    500

    #489D71

    oklch(63.1% 0.107 158.5)

  7. Step 600

    600

    #228759

    oklch(55.5% 0.116 158.6)

  8. Step 700

    700

    #117349

    oklch(49.2% 0.109 158.4)

  9. Step 800

    800

    #145D3C

    oklch(42.6% 0.089 158.7)

  10. Step 900

    900

    #1A4D33

    oklch(37.8% 0.071 157.9)

  11. Step 950

    950 (this color)

    #042012

    oklch(21.7% 0.044 158.3)

Export this scale for Tailwind in the Tailwind colors tool

#042012 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.041
Deuteranopia (no green cones)#1C1A130.040
Tritanopia (no blue cones)#00201C0.019
Achromatopsia (no color)#1B1B1B0.045

Harmonies

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

Complementary

The opposite hue (180°).

  • #042012

    #042012

    oklch(21.7% 0.044 158.3)

  • #271121

    #271121

    oklch(21.7% 0.045 338.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #042012

    #042012

    oklch(21.7% 0.044 158.3)

  • #141E06

    #141E06

    oklch(21.8% 0.045 128.3)

  • #001F1D

    #001F1D

    oklch(21.6% 0.037 188.7)

Open the analogous palette in the generator

Split complementary

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

  • #042012

    #042012

    oklch(21.7% 0.044 158.3)

  • #20142A

    #20142A

    oklch(21.8% 0.045 308.2)

  • #2B1016

    #2B1016

    oklch(21.7% 0.045 7.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #042012

    #042012

    oklch(21.7% 0.044 158.3)

  • #15172E

    #15172E

    oklch(21.6% 0.045 278.2)

  • #2B120A

    #2B120A

    oklch(21.8% 0.044 38.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #042012

    #042012

    oklch(21.7% 0.044 158.3)

  • #071B2D

    #071B2D

    oklch(21.6% 0.044 248.2)

  • #271121

    #271121

    oklch(21.7% 0.045 338.2)

  • #271602

    #271602

    oklch(21.8% 0.044 69.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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