#045D2B

Closest named color: Spruce (#0A5F38). oklch(41.9% 0.111 151), rgb(4, 93, 43).

Aa

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

About this color

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

Hue familyGreens
Lightnessdark (42%)
Chromamoderately saturated (0.111)
Temperaturein between
Nearest nameSpruce (#0A5F38)
Black text2.60:1
White text8.05:1

Values

HEX#045D2B
RGBrgb(4, 93, 43)
HSLhsl(146, 92%, 19%)
OKLCHoklch(41.9% 0.111 151)

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 #045D2B 8.05:1 AAA Lc -92.1 Preferred for body text
Black text on #045D2B 2.60:1 Fails Lc 16.6 Dividers and decoration only
#045D2B text on white 8.05:1 AAA Lc 87.4 Fine for body text
#045D2B text on black 2.60: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

    #F1F7F2

    oklch(97% 0.009 150.7)

  2. Step 100

    100

    #E1EEE4

    oklch(93.7% 0.019 152.8)

  3. Step 200

    200

    #C9E0CD

    oklch(88.4% 0.036 150.5)

  4. Step 300

    300

    #A3CDAC

    oklch(80.9% 0.064 151.2)

  5. Step 400

    400

    #6EB37F

    oklch(70.7% 0.104 150.9)

  6. Step 500

    500

    #41A05E

    oklch(63.2% 0.133 150.8)

  7. Step 600

    600

    #128A44

    oklch(55.6% 0.144 150.9)

  8. Step 700

    700

    #007537

    oklch(49.2% 0.132 151.1)

  9. Step 800

    800 (this color)

    #045D2B

    oklch(41.9% 0.111 151)

  10. Step 900

    900

    #154E29

    oklch(37.7% 0.086 151.3)

  11. Step 950

    950

    #0F2E18

    oklch(27.1% 0.055 150.7)

Export this scale for Tailwind in the Tailwind colors tool

#045D2B 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)#5D54270.092
Deuteranopia (no green cones)#544D2F0.092
Tritanopia (no blue cones)#005B510.060
Achromatopsia (no color)#5050500.111

Harmonies

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

Complementary

The opposite hue (180°).

  • #045D2B

    #045D2B

    oklch(41.9% 0.111 151)

  • #6E3368

    #6E3368

    oklch(42% 0.11 331.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #045D2B

    #045D2B

    oklch(41.9% 0.111 151)

  • #455400

    #455400

    oklch(41.8% 0.1 120.8)

  • #005A4F

    #005A4F

    oklch(41.9% 0.076 180.8)

Open the analogous palette in the generator

Split complementary

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

  • #045D2B

    #045D2B

    oklch(41.9% 0.111 151)

  • #583C7F

    #583C7F

    oklch(42% 0.11 301.1)

  • #7B2E49

    #7B2E49

    oklch(41.9% 0.111 1.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #045D2B

    #045D2B

    oklch(41.9% 0.111 151)

  • #374789

    #374789

    oklch(42% 0.111 270.7)

  • #7E3024

    #7E3024

    oklch(41.8% 0.111 31)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #045D2B

    #045D2B

    oklch(41.9% 0.111 151)

  • #00527D

    #00527D

    oklch(41.9% 0.098 241.2)

  • #6E3368

    #6E3368

    oklch(42% 0.11 331.3)

  • #723E00

    #723E00

    oklch(41.9% 0.097 61)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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