#045912

Closest named color: Deep Green (#02590F). oklch(40.4% 0.127 144.4), rgb(4, 89, 18).

Aa

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

About this color

#045912 is a dark, moderately saturated green. In OKLCH its lightness is 40%, its chroma 0.127 and its hue 144°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Green (#02590F), ΔE 0.002 away. White text reads best on it, at 8.59:1.

Hue familyGreens
Lightnessdark (40%)
Chromamoderately saturated (0.127)
Temperaturein between
Nearest nameDeep Green (#02590F)
Black text2.44:1
White text8.59:1

Values

HEX#045912
RGBrgb(4, 89, 18)
HSLhsl(130, 91%, 18%)
OKLCHoklch(40.4% 0.127 144.4)

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 #045912 8.59:1 AAA Lc -93.5 Preferred for body text
Black text on #045912 2.44:1 Fails Lc 15.0 Dividers and decoration only
#045912 text on white 8.59:1 AAA Lc 89.0 Fine for body text
#045912 text on black 2.44:1 Fails Lc -13.3 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

    #F2F7F1

    oklch(97.1% 0.01 140.5)

  2. Step 100

    100

    #E2EEE1

    oklch(93.7% 0.021 143.2)

  3. Step 200

    200

    #C9E1C9

    oklch(88.5% 0.041 145.2)

  4. Step 300

    300

    #A4CEA3

    oklch(81% 0.074 144.3)

  5. Step 400

    400

    #70B471

    oklch(70.7% 0.118 144.5)

  6. Step 500

    500

    #45A04A

    oklch(63% 0.151 144.5)

  7. Step 600

    600

    #1D8B2A

    oklch(55.7% 0.165 144.4)

  8. Step 700

    700

    #0A751C

    oklch(49% 0.152 144.4)

  9. Step 800

    800 (this color)

    #045912

    oklch(40.4% 0.127 144.4)

  10. Step 900

    900

    #184E1C

    oklch(37.6% 0.098 144.5)

  11. Step 950

    950

    #102E11

    oklch(27% 0.063 144.2)

Export this scale for Tailwind in the Tailwind colors tool

#045912 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)#5B50050.093
Deuteranopia (no green cones)#524A1A0.092
Tritanopia (no blue cones)#00564B0.080
Achromatopsia (no color)#4C4C4C0.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #045912

    #045912

    oklch(40.4% 0.127 144.4)

  • #692B6E

    #692B6E

    oklch(40.4% 0.127 324.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #045912

    #045912

    oklch(40.4% 0.127 144.4)

  • #484E00

    #484E00

    oklch(40.5% 0.091 114.7)

  • #005646

    #005646

    oklch(40.4% 0.077 174.5)

Open the analogous palette in the generator

Split complementary

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

  • #045912

    #045912

    oklch(40.4% 0.127 144.4)

  • #4F3685

    #4F3685

    oklch(40.4% 0.127 294.6)

  • #79234D

    #79234D

    oklch(40.4% 0.126 354.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #045912

    #045912

    oklch(40.4% 0.127 144.4)

  • #25438C

    #25438C

    oklch(40.3% 0.127 264.6)

  • #7F2324

    #7F2324

    oklch(40.3% 0.126 24.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #045912

    #045912

    oklch(40.4% 0.127 144.4)

  • #004F6F

    #004F6F

    oklch(40.3% 0.085 234.2)

  • #692B6E

    #692B6E

    oklch(40.4% 0.127 324.6)

  • #713600

    #713600

    oklch(40.3% 0.101 53.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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