#045929

Closest named color: Spruce (#0A5F38). oklch(40.7% 0.107 151.1), rgb(4, 89, 41).

Aa

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

About this color

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

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

Values

HEX#045929
RGBrgb(4, 89, 41)
HSLhsl(146, 91%, 18%)
OKLCHoklch(40.7% 0.107 151.1)

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 #045929 8.51:1 AAA Lc -93.4 Preferred for body text
Black text on #045929 2.46:1 Fails Lc 15.2 Dividers and decoration only
#045929 text on white 8.51:1 AAA Lc 88.8 Fine for body text
#045929 text on black 2.46:1 Fails Lc -13.4 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

    #E2EEE4

    oklch(93.7% 0.018 150.5)

  3. Step 200

    200

    #C9E0CE

    oklch(88.5% 0.035 152)

  4. Step 300

    300

    #A4CDAC

    oklch(81% 0.063 150.6)

  5. Step 400

    400

    #70B380

    oklch(70.8% 0.101 150.7)

  6. Step 500

    500

    #449F60

    oklch(63.1% 0.128 151.1)

  7. Step 600

    600

    #1B8946

    oklch(55.5% 0.139 151.1)

  8. Step 700

    700

    #077438

    oklch(49% 0.129 151.3)

  9. Step 800

    800 (this color)

    #045929

    oklch(40.7% 0.107 151.1)

  10. Step 900

    900

    #184E2A

    oklch(37.8% 0.083 151.2)

  11. Step 950

    950

    #102E19

    oklch(27.1% 0.053 151.2)

Export this scale for Tailwind in the Tailwind colors tool

#045929 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)#5950250.089
Deuteranopia (no green cones)#514A2D0.089
Tritanopia (no blue cones)#00574E0.059
Achromatopsia (no color)#4D4D4D0.108

Harmonies

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

Complementary

The opposite hue (180°).

  • #045929

    #045929

    oklch(40.7% 0.107 151.1)

  • #693064

    #693064

    oklch(40.6% 0.108 330.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #045929

    #045929

    oklch(40.7% 0.107 151.1)

  • #425100

    #425100

    oklch(40.7% 0.098 121.1)

  • #00564C

    #00564C

    oklch(40.6% 0.073 181.5)

Open the analogous palette in the generator

Split complementary

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

  • #045929

    #045929

    oklch(40.7% 0.107 151.1)

  • #54397A

    #54397A

    oklch(40.7% 0.108 300.9)

  • #762C46

    #762C46

    oklch(40.7% 0.107 1.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #045929

    #045929

    oklch(40.7% 0.107 151.1)

  • #354483

    #354483

    oklch(40.8% 0.107 270.9)

  • #792E23

    #792E23

    oklch(40.7% 0.108 30.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #045929

    #045929

    oklch(40.7% 0.107 151.1)

  • #004E78

    #004E78

    oklch(40.6% 0.096 241.7)

  • #693064

    #693064

    oklch(40.6% 0.108 330.8)

  • #6D3B00

    #6D3B00

    oklch(40.6% 0.094 61)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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