#045417

Closest named color: Forest (#0B5509). oklch(38.9% 0.117 145.7), rgb(4, 84, 23).

Aa

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

About this color

#045417 is a dark, moderately saturated green. In OKLCH its lightness is 39%, its chroma 0.117 and its hue 146°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Forest (#0B5509), ΔE 0.011 away. White text reads best on it, at 9.18:1.

Hue familyGreens
Lightnessdark (39%)
Chromamoderately saturated (0.117)
Temperaturein between
Nearest nameForest (#0B5509)
Black text2.28:1
White text9.18:1

Values

HEX#045417
RGBrgb(4, 84, 23)
HSLhsl(134, 91%, 17%)
OKLCHoklch(38.9% 0.117 145.7)

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 #045417 9.18:1 AAA Lc -95.0 Preferred for body text
Black text on #045417 2.28:1 Fails Lc 13.3 Not readable
#045417 text on white 9.18:1 AAA Lc 90.6 Preferred for body text
#045417 text on black 2.28:1 Fails Lc -11.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 900.

  1. Step 50

    50

    #F1F8F1

    oklch(97.2% 0.012 145.5)

  2. Step 100

    100

    #E0EFE0

    oklch(93.7% 0.026 145.4)

  3. Step 200

    200

    #C6E2C6

    oklch(88.5% 0.048 145.2)

  4. Step 300

    300

    #9CD09F

    oklch(80.8% 0.087 146.2)

  5. Step 400

    400

    #61B769

    oklch(70.6% 0.14 145.9)

  6. Step 500

    500

    #24A43D

    oklch(63% 0.179 145.8)

  7. Step 600

    600

    #008C29

    oklch(55.7% 0.172 145.7)

  8. Step 700

    700

    #007621

    oklch(49.2% 0.152 145.7)

  9. Step 800

    800

    #00611A

    oklch(42.9% 0.132 145.8)

  10. Step 900

    900 (this color)

    #045417

    oklch(38.9% 0.117 145.7)

  11. Step 950

    950

    #072F0D

    oklch(26.9% 0.073 145.6)

Export this scale for Tailwind in the Tailwind colors tool

#045417 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)#554B0F0.088
Deuteranopia (no green cones)#4D451D0.089
Tritanopia (no blue cones)#0052480.072
Achromatopsia (no color)#4848480.118

Harmonies

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

Complementary

The opposite hue (180°).

  • #045417

    #045417

    oklch(38.9% 0.117 145.7)

  • #632A66

    #632A66

    oklch(39% 0.117 325.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #045417

    #045417

    oklch(38.9% 0.117 145.7)

  • #434A00

    #434A00

    oklch(38.9% 0.089 115.8)

  • #005143

    #005143

    oklch(38.9% 0.073 175.9)

Open the analogous palette in the generator

Split complementary

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

  • #045417

    #045417

    oklch(38.9% 0.117 145.7)

  • #4B347B

    #4B347B

    oklch(38.9% 0.116 295.4)

  • #722347

    #722347

    oklch(38.9% 0.117 355.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #045417

    #045417

    oklch(38.9% 0.117 145.7)

  • #263F82

    #263F82

    oklch(38.7% 0.117 265.8)

  • #772421

    #772421

    oklch(38.9% 0.117 26.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #045417

    #045417

    oklch(38.9% 0.117 145.7)

  • #004B6B

    #004B6B

    oklch(39% 0.083 235.4)

  • #632A66

    #632A66

    oklch(39% 0.117 325.6)

  • #6A3400

    #6A3400

    oklch(38.9% 0.096 55.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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