#045820

Closest named color: Deep Green (#02590F). oklch(40.2% 0.115 147.9), rgb(4, 88, 32).

Aa

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

About this color

#045820 is a dark, moderately saturated green. In OKLCH its lightness is 40%, its chroma 0.115 and its hue 148°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Green (#02590F), ΔE 0.017 away. White text reads best on it, at 8.67:1.

Hue familyGreens
Lightnessdark (40%)
Chromamoderately saturated (0.115)
Temperaturein between
Nearest nameDeep Green (#02590F)
Black text2.42:1
White text8.67:1

Values

HEX#045820
RGBrgb(4, 88, 32)
HSLhsl(140, 91%, 18%)
OKLCHoklch(40.2% 0.115 147.9)

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 #045820 8.67:1 AAA Lc -93.8 Preferred for body text
Black text on #045820 2.42:1 Fails Lc 14.8 Not readable
#045820 text on white 8.67:1 AAA Lc 89.2 Fine for body text
#045820 text on black 2.42:1 Fails Lc -13.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 800.

  1. Step 50

    50

    #F2F7F2

    oklch(97.1% 0.008 145.5)

  2. Step 100

    100

    #E2EEE3

    oklch(93.7% 0.019 147.8)

  3. Step 200

    200

    #C9E0CC

    oklch(88.4% 0.037 149.1)

  4. Step 300

    300

    #A4CDA8

    oklch(80.9% 0.067 147.5)

  5. Step 400

    400

    #70B37A

    oklch(70.7% 0.107 148)

  6. Step 500

    500

    #469F57

    oklch(63% 0.136 147.7)

  7. Step 600

    600

    #1E8A3C

    oklch(55.7% 0.149 147.9)

  8. Step 700

    700

    #0B752E

    oklch(49.2% 0.138 147.9)

  9. Step 800

    800 (this color)

    #045820

    oklch(40.2% 0.115 147.9)

  10. Step 900

    900

    #184E24

    oklch(37.7% 0.09 147.8)

  11. Step 950

    950

    #102E16

    oklch(27.1% 0.057 148.1)

Export this scale for Tailwind in the Tailwind colors tool

#045820 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)#594F1A0.090
Deuteranopia (no green cones)#5049250.089
Tritanopia (no blue cones)#00564C0.067
Achromatopsia (no color)#4B4B4B0.115

Harmonies

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

Complementary

The opposite hue (180°).

  • #045820

    #045820

    oklch(40.2% 0.115 147.9)

  • #682E67

    #682E67

    oklch(40.3% 0.114 328.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #045820

    #045820

    oklch(40.2% 0.115 147.9)

  • #444E00

    #444E00

    oklch(40.1% 0.093 117.8)

  • #005548

    #005548

    oklch(40.2% 0.074 177.7)

Open the analogous palette in the generator

Split complementary

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

  • #045820

    #045820

    oklch(40.2% 0.115 147.9)

  • #51377D

    #51377D

    oklch(40.2% 0.115 298.2)

  • #762848

    #762848

    oklch(40.3% 0.114 358.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #045820

    #045820

    oklch(40.2% 0.115 147.9)

  • #2E4385

    #2E4385

    oklch(40.3% 0.113 267.8)

  • #7A2923

    #7A2923

    oklch(40.1% 0.114 27.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #045820

    #045820

    oklch(40.2% 0.115 147.9)

  • #004E72

    #004E72

    oklch(40.2% 0.089 237.7)

  • #682E67

    #682E67

    oklch(40.3% 0.114 328.1)

  • #6E3800

    #6E3800

    oklch(40.2% 0.097 57.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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