#04220F

Closest named color: Dark Forest Green (#002D04). oklch(22.3% 0.051 152.5), rgb(4, 34, 15).

Aa

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

About this color

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

Hue familyGreens
Lightnessvery dark (22%)
Chromamuted (0.051)
Temperaturein between
Nearest nameDark Forest Green (#002D04)
Black text1.24:1
White text16.92:1

Values

HEX#04220F
RGBrgb(4, 34, 15)
HSLhsl(142, 79%, 7%)
OKLCHoklch(22.3% 0.051 152.5)

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 #04220F 16.92:1 AAA Lc -106.1 Preferred for body text
Black text on #04220F 1.24:1 Fails Lc 0.0 Not readable
#04220F text on white 16.92:1 AAA Lc 103.7 Preferred for body text
#04220F text on black 1.24: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

    #F2F7F3

    oklch(97.1% 0.007 151.9)

  2. Step 100

    100

    #E2EDE4

    oklch(93.5% 0.017 151.1)

  3. Step 200

    200

    #C9E0CF

    oklch(88.5% 0.034 153.6)

  4. Step 300

    300

    #A4CDAE

    oklch(81% 0.061 152.3)

  5. Step 400

    400

    #70B283

    oklch(70.6% 0.097 152.5)

  6. Step 500

    500

    #449F63

    oklch(63.2% 0.126 152.3)

  7. Step 600

    600

    #1A894A

    oklch(55.6% 0.135 152.5)

  8. Step 700

    700

    #05743B

    oklch(49% 0.126 152.5)

  9. Step 800

    800

    #0E5F31

    oklch(42.8% 0.105 152.3)

  10. Step 900

    900

    #174E2C

    oklch(37.8% 0.082 152.8)

  11. Step 950

    950 (this color)

    #04220F

    oklch(22.3% 0.051 152.5)

Export this scale for Tailwind in the Tailwind colors tool

#04220F 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)#221E0E0.045
Deuteranopia (no green cones)#1E1C100.042
Tritanopia (no blue cones)#00211D0.027
Achromatopsia (no color)#1D1D1D0.052

Harmonies

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

Complementary

The opposite hue (180°).

  • #04220F

    #04220F

    oklch(22.3% 0.051 152.5)

  • #291126

    #291126

    oklch(22.3% 0.052 332)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #04220F

    #04220F

    oklch(22.3% 0.051 152.5)

  • #171F01

    #171F01

    oklch(22.3% 0.053 122.7)

  • #00211D

    #00211D

    oklch(22.3% 0.04 183.4)

Open the analogous palette in the generator

Split complementary

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

  • #04220F

    #04220F

    oklch(22.3% 0.051 152.5)

  • #20152F

    #20152F

    oklch(22.4% 0.051 302)

  • #2E1019

    #2E1019

    oklch(22.4% 0.05 3.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #04220F

    #04220F

    oklch(22.3% 0.051 152.5)

  • #131933

    #131933

    oklch(22.3% 0.051 271.9)

  • #2F110B

    #2F110B

    oklch(22.3% 0.051 32.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #04220F

    #04220F

    oklch(22.3% 0.051 152.5)

  • #011D31

    #011D31

    oklch(22.2% 0.052 243.1)

  • #291126

    #291126

    oklch(22.3% 0.052 332)

  • #2C1500

    #2C1500

    oklch(22.4% 0.051 62.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #04220F 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.