#045B1E

Closest named color: Deep Green (#02590F). oklch(41.1% 0.12 146.9), rgb(4, 91, 30).

Aa

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

About this color

#045B1E is a dark, moderately saturated green. In OKLCH its lightness is 41%, its chroma 0.120 and its hue 147°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Green (#02590F), ΔE 0.013 away. White text reads best on it, at 8.33:1.

Hue familyGreens
Lightnessdark (41%)
Chromamoderately saturated (0.120)
Temperaturein between
Nearest nameDeep Green (#02590F)
Black text2.52:1
White text8.33:1

Values

HEX#045B1E
RGBrgb(4, 91, 30)
HSLhsl(138, 92%, 19%)
OKLCHoklch(41.1% 0.12 146.9)

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 #045B1E 8.33:1 AAA Lc -92.8 Preferred for body text
Black text on #045B1E 2.52:1 Fails Lc 15.8 Dividers and decoration only
#045B1E text on white 8.33:1 AAA Lc 88.2 Fine for body text
#045B1E text on black 2.52:1 Fails Lc -14.0 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

    #F2F7F2

    oklch(97.1% 0.008 145.5)

  2. Step 100

    100

    #E1EEE2

    oklch(93.6% 0.021 147.6)

  3. Step 200

    200

    #C9E1CA

    oklch(88.6% 0.04 146.4)

  4. Step 300

    300

    #A3CDA7

    oklch(80.8% 0.069 147.5)

  5. Step 400

    400

    #6FB477

    oklch(70.8% 0.113 147)

  6. Step 500

    500

    #43A053

    oklch(63.1% 0.143 147.1)

  7. Step 600

    600

    #188A36

    oklch(55.5% 0.156 147)

  8. Step 700

    700

    #037528

    oklch(49% 0.145 146.9)

  9. Step 800

    800 (this color)

    #045B1E

    oklch(41.1% 0.12 146.9)

  10. Step 900

    900

    #174E21

    oklch(37.6% 0.093 146.7)

  11. Step 950

    950

    #0F2E14

    oklch(27% 0.06 146.9)

Export this scale for Tailwind in the Tailwind colors tool

#045B1E 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)#5C52170.092
Deuteranopia (no green cones)#534B230.093
Tritanopia (no blue cones)#00594E0.071
Achromatopsia (no color)#4E4E4E0.121

Harmonies

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

Complementary

The opposite hue (180°).

  • #045B1E

    #045B1E

    oklch(41.1% 0.12 146.9)

  • #6B2E6C

    #6B2E6C

    oklch(41% 0.121 326.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #045B1E

    #045B1E

    oklch(41.1% 0.12 146.9)

  • #485100

    #485100

    oklch(41.3% 0.095 116.9)

  • #00584A

    #00584A

    oklch(41.2% 0.076 177)

Open the analogous palette in the generator

Split complementary

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

  • #045B1E

    #045B1E

    oklch(41.1% 0.12 146.9)

  • #533983

    #533983

    oklch(41.2% 0.12 297)

  • #7A284C

    #7A284C

    oklch(41.1% 0.12 356.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #045B1E

    #045B1E

    oklch(41.1% 0.12 146.9)

  • #2D458B

    #2D458B

    oklch(41.1% 0.12 266.8)

  • #7F2924

    #7F2924

    oklch(41% 0.12 27)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #045B1E

    #045B1E

    oklch(41.1% 0.12 146.9)

  • #005175

    #005175

    oklch(41.2% 0.09 236.8)

  • #6B2E6C

    #6B2E6C

    oklch(41% 0.121 326.9)

  • #723A00

    #723A00

    oklch(41.2% 0.1 57.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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