#045C37

Closest named color: Spruce (#0A5F38). oklch(41.9% 0.097 157.5), rgb(4, 92, 55).

Aa

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

About this color

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

Hue familyGreens
Lightnessdark (42%)
Chromamoderately saturated (0.097)
Temperaturein between
Nearest nameSpruce (#0A5F38)
Black text2.59:1
White text8.10:1

Values

HEX#045C37
RGBrgb(4, 92, 55)
HSLhsl(155, 92%, 19%)
OKLCHoklch(41.9% 0.097 157.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 #045C37 8.10:1 AAA Lc -92.3 Preferred for body text
Black text on #045C37 2.59:1 Fails Lc 16.4 Dividers and decoration only
#045C37 text on white 8.10:1 AAA Lc 87.6 Fine for body text
#045C37 text on black 2.59:1 Fails Lc -14.6 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

    #F1F7F3

    oklch(97.1% 0.008 157.1)

  2. Step 100

    100

    #E1EDE6

    oklch(93.5% 0.016 160.6)

  3. Step 200

    200

    #C9E0D1

    oklch(88.5% 0.032 157.1)

  4. Step 300

    300

    #A3CCB2

    oklch(80.8% 0.057 157.1)

  5. Step 400

    400

    #6EB28A

    oklch(70.7% 0.091 157.3)

  6. Step 500

    500

    #419E6D

    oklch(63% 0.116 157.4)

  7. Step 600

    600

    #138955

    oklch(55.7% 0.127 157.3)

  8. Step 700

    700

    #007446

    oklch(49.2% 0.116 157.5)

  9. Step 800

    800 (this color)

    #045C37

    oklch(41.9% 0.097 157.5)

  10. Step 900

    900

    #154D31

    oklch(37.6% 0.076 157.5)

  11. Step 950

    950

    #0F2D1D

    oklch(26.9% 0.047 157.6)

Export this scale for Tailwind in the Tailwind colors tool

#045C37 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)#5B54350.088
Deuteranopia (no green cones)#524D390.087
Tritanopia (no blue cones)#005B530.046
Achromatopsia (no color)#5050500.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #045C37

    #045C37

    oklch(41.9% 0.097 157.5)

  • #6D365F

    #6D365F

    oklch(41.9% 0.096 337.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #045C37

    #045C37

    oklch(41.9% 0.097 157.5)

  • #3E5612

    #3E5612

    oklch(41.9% 0.097 127.3)

  • #005954

    #005954

    oklch(41.8% 0.073 188.2)

Open the analogous palette in the generator

Split complementary

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

  • #045C37

    #045C37

    oklch(41.9% 0.097 157.5)

  • #5B3D75

    #5B3D75

    oklch(41.9% 0.096 307.5)

  • #773343

    #773343

    oklch(41.8% 0.096 7.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #045C37

    #045C37

    oklch(41.9% 0.097 157.5)

  • #414681

    #414681

    oklch(42% 0.097 277.7)

  • #783723

    #783723

    oklch(41.9% 0.097 37.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #045C37

    #045C37

    oklch(41.9% 0.097 157.5)

  • #16507E

    #16507E

    oklch(41.9% 0.096 247.2)

  • #6D365F

    #6D365F

    oklch(41.9% 0.096 337.6)

  • #6D4100

    #6D4100

    oklch(41.8% 0.092 67.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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