#045C15

Closest named color: Deep Green (#02590F). oklch(41.3% 0.128 144.8), rgb(4, 92, 21).

Aa

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

About this color

#045C15 is a dark, moderately saturated green. In OKLCH its lightness is 41%, its chroma 0.128 and its hue 145°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Green (#02590F), ΔE 0.010 away. White text reads best on it, at 8.24:1.

Hue familyGreens
Lightnessdark (41%)
Chromamoderately saturated (0.128)
Temperaturein between
Nearest nameDeep Green (#02590F)
Black text2.54:1
White text8.24:1

Values

HEX#045C15
RGBrgb(4, 92, 21)
HSLhsl(132, 92%, 19%)
OKLCHoklch(41.3% 0.128 144.8)

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 #045C15 8.24:1 AAA Lc -92.6 Preferred for body text
Black text on #045C15 2.54:1 Fails Lc 16.1 Dividers and decoration only
#045C15 text on white 8.24:1 AAA Lc 87.9 Fine for body text
#045C15 text on black 2.54:1 Fails Lc -14.2 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

    #F1F7F1

    oklch(97% 0.01 145.5)

  2. Step 100

    100

    #E1EEE1

    oklch(93.6% 0.022 145.4)

  3. Step 200

    200

    #C9E1C9

    oklch(88.5% 0.041 145.2)

  4. Step 300

    300

    #A3CEA3

    oklch(80.9% 0.075 144.8)

  5. Step 400

    400

    #6EB470

    oklch(70.6% 0.12 144.8)

  6. Step 500

    500

    #42A149

    oklch(63.2% 0.154 144.8)

  7. Step 600

    600

    #178B29

    oklch(55.6% 0.167 144.7)

  8. Step 700

    700

    #01761B

    oklch(49.2% 0.156 144.7)

  9. Step 800

    800 (this color)

    #045C15

    oklch(41.3% 0.128 144.8)

  10. Step 900

    900

    #164F1C

    oklch(37.8% 0.1 144.9)

  11. Step 950

    950

    #0F2E11

    oklch(26.9% 0.063 144.7)

Export this scale for Tailwind in the Tailwind colors tool

#045C15 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)#5E52090.095
Deuteranopia (no green cones)#554C1C0.095
Tritanopia (no blue cones)#00594E0.081
Achromatopsia (no color)#4F4F4F0.129

Harmonies

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

Complementary

The opposite hue (180°).

  • #045C15

    #045C15

    oklch(41.3% 0.128 144.8)

  • #6C2D71

    #6C2D71

    oklch(41.3% 0.128 324.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #045C15

    #045C15

    oklch(41.3% 0.128 144.8)

  • #4A5100

    #4A5100

    oklch(41.4% 0.094 115.4)

  • #005949

    #005949

    oklch(41.4% 0.078 175)

Open the analogous palette in the generator

Split complementary

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

  • #045C15

    #045C15

    oklch(41.3% 0.128 144.8)

  • #523888

    #523888

    oklch(41.3% 0.128 295.2)

  • #7D254F

    #7D254F

    oklch(41.4% 0.128 354.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #045C15

    #045C15

    oklch(41.3% 0.128 144.8)

  • #274690

    #274690

    oklch(41.4% 0.128 264.4)

  • #832525

    #832525

    oklch(41.3% 0.129 24.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #045C15

    #045C15

    oklch(41.3% 0.128 144.8)

  • #005274

    #005274

    oklch(41.4% 0.088 235)

  • #6C2D71

    #6C2D71

    oklch(41.3% 0.128 324.7)

  • #743900

    #743900

    oklch(41.3% 0.102 55.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #045C15 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.