#045F37

Closest named color: Spruce (#0A5F38). oklch(42.8% 0.101 156.4), rgb(4, 95, 55).

Aa

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

About this color

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

Hue familyGreens
Lightnessdark (43%)
Chromamoderately saturated (0.101)
Temperaturein between
Nearest nameSpruce (#0A5F38)
Black text2.69:1
White text7.78:1

Values

HEX#045F37
RGBrgb(4, 95, 55)
HSLhsl(154, 92%, 19%)
OKLCHoklch(42.8% 0.101 156.4)

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 #045F37 7.78:1 AAA Lc -91.3 Preferred for body text
Black text on #045F37 2.69:1 Fails Lc 17.5 Dividers and decoration only
#045F37 text on white 7.78:1 AAA Lc 86.5 Fine for body text
#045F37 text on black 2.69:1 Fails Lc -15.6 Dividers and decoration only

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

    #E1EDE5

    oklch(93.5% 0.017 156.9)

  3. Step 200

    200

    #C9E0D0

    oklch(88.5% 0.033 155.3)

  4. Step 300

    300

    #A2CDB1

    oklch(81% 0.06 156.3)

  5. Step 400

    400

    #6DB288

    oklch(70.6% 0.094 156.3)

  6. Step 500

    500

    #3E9F6A

    oklch(63.1% 0.122 156.2)

  7. Step 600

    600

    #098952

    oklch(55.5% 0.131 156.5)

  8. Step 700

    700

    #007443

    oklch(49.1% 0.119 156.1)

  9. Step 800

    800 (this color)

    #045F37

    oklch(42.8% 0.101 156.4)

  10. Step 900

    900

    #134E30

    oklch(37.8% 0.079 156.6)

  11. Step 950

    950

    #0E2E1C

    oklch(27.1% 0.051 156)

Export this scale for Tailwind in the Tailwind colors tool

#045F37 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)#5E56340.091
Deuteranopia (no green cones)#554F3A0.091
Tritanopia (no blue cones)#005E550.049
Achromatopsia (no color)#5252520.102

Harmonies

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

Complementary

The opposite hue (180°).

  • #045F37

    #045F37

    oklch(42.8% 0.101 156.4)

  • #713764

    #713764

    oklch(42.8% 0.102 336.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #045F37

    #045F37

    oklch(42.8% 0.101 156.4)

  • #41590E

    #41590E

    oklch(42.9% 0.102 126.5)

  • #005C56

    #005C56

    oklch(42.8% 0.075 187.1)

Open the analogous palette in the generator

Split complementary

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

  • #045F37

    #045F37

    oklch(42.8% 0.101 156.4)

  • #5D3E7A

    #5D3E7A

    oklch(42.6% 0.101 306.4)

  • #7C3446

    #7C3446

    oklch(42.9% 0.102 6.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #045F37

    #045F37

    oklch(42.8% 0.101 156.4)

  • #414886

    #414886

    oklch(42.7% 0.102 276.3)

  • #7D3824

    #7D3824

    oklch(42.9% 0.101 37)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #045F37

    #045F37

    oklch(42.8% 0.101 156.4)

  • #115383

    #115383

    oklch(42.8% 0.101 246.1)

  • #713764

    #713764

    oklch(42.8% 0.102 336.4)

  • #714300

    #714300

    oklch(42.8% 0.095 66.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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