#045216

Closest named color: Forest (#0B5509). oklch(38.2% 0.115 145.7), rgb(4, 82, 22).

Aa

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

About this color

#045216 is a dark, moderately saturated green. In OKLCH its lightness is 38%, its chroma 0.115 and its hue 146°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Forest (#0B5509), ΔE 0.015 away. White text reads best on it, at 9.44:1.

Hue familyGreens
Lightnessdark (38%)
Chromamoderately saturated (0.115)
Temperaturein between
Nearest nameForest (#0B5509)
Black text2.22:1
White text9.44:1

Values

HEX#045216
RGBrgb(4, 82, 22)
HSLhsl(134, 91%, 17%)
OKLCHoklch(38.2% 0.115 145.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 #045216 9.44:1 AAA Lc -95.6 Preferred for body text
Black text on #045216 2.22:1 Fails Lc 12.7 Not readable
#045216 text on white 9.44:1 AAA Lc 91.3 Preferred for body text
#045216 text on black 2.22:1 Fails Lc -11.1 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

    #F1F8F1

    oklch(97.2% 0.012 145.5)

  2. Step 100

    100

    #E0EFE0

    oklch(93.7% 0.026 145.4)

  3. Step 200

    200

    #C6E2C6

    oklch(88.5% 0.048 145.2)

  4. Step 300

    300

    #9DD09F

    oklch(80.9% 0.086 145.7)

  5. Step 400

    400

    #63B769

    oklch(70.7% 0.138 145.4)

  6. Step 500

    500

    #29A43E

    oklch(63.1% 0.177 145.6)

  7. Step 600

    600

    #008C29

    oklch(55.7% 0.172 145.7)

  8. Step 700

    700

    #007621

    oklch(49.2% 0.152 145.7)

  9. Step 800

    800

    #006119

    oklch(42.8% 0.133 145.6)

  10. Step 900

    900 (this color)

    #045216

    oklch(38.2% 0.115 145.7)

  11. Step 950

    950

    #082F0E

    oklch(26.9% 0.072 145.8)

Export this scale for Tailwind in the Tailwind colors tool

#045216 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)#53490E0.086
Deuteranopia (no green cones)#4B441C0.086
Tritanopia (no blue cones)#0050460.071
Achromatopsia (no color)#4646460.116

Harmonies

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

Complementary

The opposite hue (180°).

  • #045216

    #045216

    oklch(38.2% 0.115 145.7)

  • #612863

    #612863

    oklch(38.2% 0.116 326.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #045216

    #045216

    oklch(38.2% 0.115 145.7)

  • #414800

    #414800

    oklch(38.2% 0.087 115.9)

  • #004F41

    #004F41

    oklch(38.2% 0.072 175.5)

Open the analogous palette in the generator

Split complementary

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

  • #045216

    #045216

    oklch(38.2% 0.115 145.7)

  • #493278

    #493278

    oklch(38.1% 0.115 295.6)

  • #6F2245

    #6F2245

    oklch(38.2% 0.114 355.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #045216

    #045216

    oklch(38.2% 0.115 145.7)

  • #253E80

    #253E80

    oklch(38.3% 0.116 265.6)

  • #742220

    #742220

    oklch(38.1% 0.115 25.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #045216

    #045216

    oklch(38.2% 0.115 145.7)

  • #004968

    #004968

    oklch(38.3% 0.081 235.2)

  • #612863

    #612863

    oklch(38.2% 0.116 326.2)

  • #683300

    #683300

    oklch(38.4% 0.094 55.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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