#045932

Closest named color: Spruce (#0A5F38). oklch(40.9% 0.098 155.6), rgb(4, 89, 50).

Aa

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

About this color

#045932 is a dark, moderately saturated green. In OKLCH its lightness is 41%, its chroma 0.098 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.020 away. White text reads best on it, at 8.46:1.

Hue familyGreens
Lightnessdark (41%)
Chromamoderately saturated (0.098)
Temperaturein between
Nearest nameSpruce (#0A5F38)
Black text2.48:1
White text8.46:1

Values

HEX#045932
RGBrgb(4, 89, 50)
HSLhsl(152, 91%, 18%)
OKLCHoklch(40.9% 0.098 155.6)

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 #045932 8.46:1 AAA Lc -93.3 Preferred for body text
Black text on #045932 2.48:1 Fails Lc 15.3 Dividers and decoration only
#045932 text on white 8.46:1 AAA Lc 88.7 Fine for body text
#045932 text on black 2.48:1 Fails Lc -13.5 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

    #F2F7F3

    oklch(97.1% 0.007 151.9)

  2. Step 100

    100

    #E2EDE5

    oklch(93.6% 0.016 154.5)

  3. Step 200

    200

    #C9E0D0

    oklch(88.5% 0.033 155.3)

  4. Step 300

    300

    #A4CCB1

    oklch(80.9% 0.057 155.4)

  5. Step 400

    400

    #70B288

    oklch(70.8% 0.092 155.4)

  6. Step 500

    500

    #449E6A

    oklch(63% 0.117 155.5)

  7. Step 600

    600

    #1A8952

    oklch(55.7% 0.128 155.5)

  8. Step 700

    700

    #057442

    oklch(49.2% 0.119 155.4)

  9. Step 800

    800 (this color)

    #045932

    oklch(40.9% 0.098 155.6)

  10. Step 900

    900

    #174D30

    oklch(37.6% 0.076 156.1)

  11. Step 950

    950

    #102D1C

    oklch(26.9% 0.048 155.6)

Export this scale for Tailwind in the Tailwind colors tool

#045932 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)#59512F0.088
Deuteranopia (no green cones)#4F4A350.086
Tritanopia (no blue cones)#00584F0.047
Achromatopsia (no color)#4D4D4D0.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #045932

    #045932

    oklch(40.9% 0.098 155.6)

  • #6A335E

    #6A335E

    oklch(40.9% 0.098 336.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #045932

    #045932

    oklch(40.9% 0.098 155.6)

  • #3D5309

    #3D5309

    oklch(40.9% 0.098 125.9)

  • #00564F

    #00564F

    oklch(40.8% 0.072 185.4)

Open the analogous palette in the generator

Split complementary

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

  • #045932

    #045932

    oklch(40.9% 0.098 155.6)

  • #573A74

    #573A74

    oklch(40.9% 0.099 305.6)

  • #743042

    #743042

    oklch(40.9% 0.097 5.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #045932

    #045932

    oklch(40.9% 0.098 155.6)

  • #3C447E

    #3C447E

    oklch(41% 0.097 275.4)

  • #753322

    #753322

    oklch(40.8% 0.097 35.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #045932

    #045932

    oklch(40.9% 0.098 155.6)

  • #0B4E7B

    #0B4E7B

    oklch(41% 0.097 245.1)

  • #6A335E

    #6A335E

    oklch(40.9% 0.098 336.1)

  • #6B3E00

    #6B3E00

    oklch(40.9% 0.091 65.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #045932 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.