#045C41

Closest named color: Spruce (#0A5F38). oklch(42.1% 0.087 164.7), rgb(4, 92, 65).

Aa

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

About this color

#045C41 is a dark, moderately saturated green. In OKLCH its lightness is 42%, its chroma 0.087 and its hue 165°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Spruce (#0A5F38), ΔE 0.019 away. White text reads best on it, at 8.03:1.

Hue familyGreens
Lightnessdark (42%)
Chromamoderately saturated (0.087)
Temperaturein between
Nearest nameSpruce (#0A5F38)
Black text2.61:1
White text8.03:1

Values

HEX#045C41
RGBrgb(4, 92, 65)
HSLhsl(162, 92%, 19%)
OKLCHoklch(42.1% 0.087 164.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 #045C41 8.03:1 AAA Lc -92.1 Preferred for body text
Black text on #045C41 2.61:1 Fails Lc 16.6 Dividers and decoration only
#045C41 text on white 8.03:1 AAA Lc 87.4 Fine for body text
#045C41 text on black 2.61:1 Fails Lc -14.7 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

    #F1F7F4

    oklch(97.1% 0.007 164.9)

  2. Step 100

    100

    #E1EDE7

    oklch(93.5% 0.015 164.7)

  3. Step 200

    200

    #C9DFD4

    oklch(88.4% 0.028 164.3)

  4. Step 300

    300

    #A3CCB8

    oklch(81% 0.052 164)

  5. Step 400

    400

    #6EB194

    oklch(70.7% 0.081 165)

  6. Step 500

    500

    #409D79

    oklch(63% 0.104 164.8)

  7. Step 600

    600

    #108862

    oklch(55.7% 0.114 164.6)

  8. Step 700

    700

    #007351

    oklch(49.2% 0.104 164.3)

  9. Step 800

    800 (this color)

    #045C41

    oklch(42.1% 0.087 164.7)

  10. Step 900

    900

    #154D38

    oklch(37.8% 0.068 164.3)

  11. Step 950

    950

    #0F2D21

    oklch(27% 0.043 164.6)

Export this scale for Tailwind in the Tailwind colors tool

#045C41 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)#5A543F0.086
Deuteranopia (no green cones)#504D430.084
Tritanopia (no blue cones)#005C550.033
Achromatopsia (no color)#5050500.088

Harmonies

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

Complementary

The opposite hue (180°).

  • #045C41

    #045C41

    oklch(42.1% 0.087 164.7)

  • #6E3858

    #6E3858

    oklch(42% 0.087 345)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #045C41

    #045C41

    oklch(42.1% 0.087 164.7)

  • #385824

    #385824

    oklch(42.2% 0.087 134.9)

  • #005959

    #005959

    oklch(42% 0.072 194.8)

Open the analogous palette in the generator

Split complementary

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

  • #045C41

    #045C41

    oklch(42.1% 0.087 164.7)

  • #5F3E6E

    #5F3E6E

    oklch(42.2% 0.086 314.7)

  • #75373E

    #75373E

    oklch(42% 0.087 14.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #045C41

    #045C41

    oklch(42.1% 0.087 164.7)

  • #49467B

    #49467B

    oklch(42.3% 0.087 284.6)

  • #743C22

    #743C22

    oklch(42.2% 0.087 44.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #045C41

    #045C41

    oklch(42.1% 0.087 164.7)

  • #2A4E7C

    #2A4E7C

    oklch(42% 0.088 255.4)

  • #6E3858

    #6E3858

    oklch(42% 0.087 345)

  • #694503

    #694503

    oklch(42.1% 0.087 74.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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