#004228

Closest named color: Evergreen (#05472A). oklch(33.4% 0.076 159.5), rgb(0, 66, 40).

Aa

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

About this color

#004228 is a dark, moderately saturated green. In OKLCH its lightness is 33%, its chroma 0.076 and its hue 159°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Evergreen (#05472A), ΔE 0.018 away. White text reads best on it, at 11.60:1.

Hue familyGreens
Lightnessdark (33%)
Chromamoderately saturated (0.076)
Temperaturein between
Nearest nameEvergreen (#05472A)
Black text1.80:1
White text11.60:1

Values

HEX#004228
RGBrgb(0, 66, 40)
HSLhsl(156, 100%, 13%)
OKLCHoklch(33.4% 0.076 159.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 #004228 11.60:1 AAA Lc -100.0 Preferred for body text
Black text on #004228 1.80:1 Fails Lc 7.7 Not readable
#004228 text on white 11.60:1 AAA Lc 96.2 Preferred for body text
#004228 text on black 1.80: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

    #F1F7F4

    oklch(97.1% 0.007 164.9)

  2. Step 100

    100

    #E1EDE6

    oklch(93.5% 0.016 160.6)

  3. Step 200

    200

    #C8E0D2

    oklch(88.5% 0.032 160.1)

  4. Step 300

    300

    #A2CCB4

    oklch(80.8% 0.056 159.8)

  5. Step 400

    400

    #6BB28C

    oklch(70.6% 0.092 159.5)

  6. Step 500

    500

    #3C9F70

    oklch(63.2% 0.117 159.4)

  7. Step 600

    600

    #008958

    oklch(55.6% 0.127 159.5)

  8. Step 700

    700

    #007349

    oklch(49% 0.112 159.4)

  9. Step 800

    800

    #005F3B

    oklch(42.8% 0.098 159.1)

  10. Step 900

    900 (this color)

    #004228

    oklch(33.4% 0.076 159.5)

  11. Step 950

    950

    #0D2E1E

    oklch(27.1% 0.049 159.3)

Export this scale for Tailwind in the Tailwind colors tool

#004228 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)#413C260.071
Deuteranopia (no green cones)#3A372A0.069
Tritanopia (no blue cones)#00423B0.033
Achromatopsia (no color)#3939390.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #004228

    #004228

    oklch(33.4% 0.076 159.5)

  • #4F2543

    #4F2543

    oklch(33.3% 0.076 339.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #004228

    #004228

    oklch(33.4% 0.076 159.5)

  • #2A3E0D

    #2A3E0D

    oklch(33.5% 0.077 129.1)

  • #00403D

    #00403D

    oklch(33.5% 0.058 189.5)

Open the analogous palette in the generator

Split complementary

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

  • #004228

    #004228

    oklch(33.4% 0.076 159.5)

  • #422A54

    #422A54

    oklch(33.4% 0.077 309.2)

  • #56232E

    #56232E

    oklch(33.3% 0.076 8.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #004228

    #004228

    oklch(33.4% 0.076 159.5)

  • #2F315D

    #2F315D

    oklch(33.5% 0.077 279.4)

  • #562716

    #562716

    oklch(33.4% 0.075 40.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #004228

    #004228

    oklch(33.4% 0.076 159.5)

  • #11385C

    #11385C

    oklch(33.3% 0.077 249.9)

  • #4F2543

    #4F2543

    oklch(33.3% 0.076 339.1)

  • #4E2E00

    #4E2E00

    oklch(33.3% 0.073 68.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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