#004212

Closest named color: Hunter Green (#0B4008). oklch(33% 0.099 146.7), rgb(0, 66, 18).

Aa

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

About this color

#004212 is a dark, moderately saturated green. In OKLCH its lightness is 33%, its chroma 0.099 and its hue 147°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Hunter Green (#0B4008), ΔE 0.009 away. White text reads best on it, at 11.74:1.

Hue familyGreens
Lightnessdark (33%)
Chromamoderately saturated (0.099)
Temperaturein between
Nearest nameHunter Green (#0B4008)
Black text1.78:1
White text11.74:1

Values

HEX#004212
RGBrgb(0, 66, 18)
HSLhsl(136, 100%, 13%)
OKLCHoklch(33% 0.099 146.7)

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 #004212 11.74:1 AAA Lc -100.1 Preferred for body text
Black text on #004212 1.78:1 Fails Lc 7.4 Not readable
#004212 text on white 11.74:1 AAA Lc 96.4 Preferred for body text
#004212 text on black 1.78: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

    #F1F7F2

    oklch(97% 0.009 150.7)

  2. Step 100

    100

    #E1EEE2

    oklch(93.6% 0.021 147.6)

  3. Step 200

    200

    #C8E1CA

    oklch(88.5% 0.041 147.5)

  4. Step 300

    300

    #A2CEA5

    oklch(80.9% 0.074 146.6)

  5. Step 400

    400

    #6CB474

    oklch(70.6% 0.118 146.8)

  6. Step 500

    500

    #3DA14E

    oklch(63.1% 0.152 146.7)

  7. Step 600

    600

    #058B30

    oklch(55.5% 0.165 146.7)

  8. Step 700

    700

    #007527

    oklch(49% 0.146 146.9)

  9. Step 800

    800

    #02601F

    oklch(42.6% 0.126 146.8)

  10. Step 900

    900 (this color)

    #004212

    oklch(33% 0.099 146.7)

  11. Step 950

    950

    #0E2E13

    oklch(26.9% 0.062 146.7)

Export this scale for Tailwind in the Tailwind colors tool

#004212 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)#433B0C0.076
Deuteranopia (no green cones)#3C36160.075
Tritanopia (no blue cones)#0040380.060
Achromatopsia (no color)#3838380.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #004212

    #004212

    oklch(33% 0.099 146.7)

  • #4E1F4F

    #4E1F4F

    oklch(32.9% 0.098 326.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #004212

    #004212

    oklch(33% 0.099 146.7)

  • #333A00

    #333A00

    oklch(33% 0.076 117)

  • #003F35

    #003F35

    oklch(32.9% 0.061 177.9)

Open the analogous palette in the generator

Split complementary

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

  • #004212

    #004212

    oklch(33% 0.099 146.7)

  • #3C2761

    #3C2761

    oklch(33% 0.099 297.4)

  • #5A1A36

    #5A1A36

    oklch(33% 0.098 356.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #004212

    #004212

    oklch(33% 0.099 146.7)

  • #1E3168

    #1E3168

    oklch(33.1% 0.099 266.6)

  • #5E1B18

    #5E1B18

    oklch(33% 0.098 26.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #004212

    #004212

    oklch(33% 0.099 146.7)

  • #003A55

    #003A55

    oklch(33% 0.072 236.5)

  • #4E1F4F

    #4E1F4F

    oklch(32.9% 0.098 326.7)

  • #532800

    #532800

    oklch(32.9% 0.08 56.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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