#045E34

Closest named color: Spruce (#0A5F38). oklch(42.4% 0.103 155), rgb(4, 94, 52).

Aa

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

About this color

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

Hue familyGreens
Lightnessdark (42%)
Chromamoderately saturated (0.103)
Temperaturein between
Nearest nameSpruce (#0A5F38)
Black text2.65:1
White text7.90:1

Values

HEX#045E34
RGBrgb(4, 94, 52)
HSLhsl(152, 92%, 19%)
OKLCHoklch(42.4% 0.103 155)

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 #045E34 7.90:1 AAA Lc -91.7 Preferred for body text
Black text on #045E34 2.65:1 Fails Lc 17.1 Dividers and decoration only
#045E34 text on white 7.90:1 AAA Lc 86.9 Fine for body text
#045E34 text on black 2.65:1 Fails Lc -15.2 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

    #A2CDB0

    oklch(80.9% 0.061 155.3)

  5. Step 400

    400

    #6DB386

    oklch(70.8% 0.097 154.9)

  6. Step 500

    500

    #409F68

    oklch(63.1% 0.123 155)

  7. Step 600

    600

    #0E894F

    oklch(55.5% 0.133 155.1)

  8. Step 700

    700

    #007441

    oklch(49.1% 0.121 155.2)

  9. Step 800

    800 (this color)

    #045E34

    oklch(42.4% 0.103 155)

  10. Step 900

    900

    #144E2E

    oklch(37.8% 0.081 154.9)

  11. Step 950

    950

    #0E2E1B

    oklch(27.1% 0.052 154.7)

Export this scale for Tailwind in the Tailwind colors tool

#045E34 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)#5E55310.092
Deuteranopia (no green cones)#544F370.088
Tritanopia (no blue cones)#005D540.051
Achromatopsia (no color)#5151510.104

Harmonies

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

Complementary

The opposite hue (180°).

  • #045E34

    #045E34

    oklch(42.4% 0.103 155)

  • #6F3664

    #6F3664

    oklch(42.4% 0.102 335)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #045E34

    #045E34

    oklch(42.4% 0.103 155)

  • #415706

    #415706

    oklch(42.3% 0.103 125.1)

  • #005B53

    #005B53

    oklch(42.4% 0.075 184.6)

Open the analogous palette in the generator

Split complementary

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

  • #045E34

    #045E34

    oklch(42.4% 0.103 155)

  • #5B3D7B

    #5B3D7B

    oklch(42.3% 0.104 304.7)

  • #7B3246

    #7B3246

    oklch(42.4% 0.103 5.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #045E34

    #045E34

    oklch(42.4% 0.103 155)

  • #3F4786

    #3F4786

    oklch(42.4% 0.104 275.6)

  • #7C3624

    #7C3624

    oklch(42.4% 0.102 35.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #045E34

    #045E34

    oklch(42.4% 0.103 155)

  • #085282

    #085282

    oklch(42.4% 0.103 245.1)

  • #6F3664

    #6F3664

    oklch(42.4% 0.102 335)

  • #714100

    #714100

    oklch(42.4% 0.095 64.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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