#045A0E

Closest named color: Deep Green (#02590F). oklch(40.7% 0.13 143.7), rgb(4, 90, 14).

Aa

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

About this color

#045A0E is a dark, moderately saturated green. In OKLCH its lightness is 41%, its chroma 0.130 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.004 away. White text reads best on it, at 8.48:1.

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

Values

HEX#045A0E
RGBrgb(4, 90, 14)
HSLhsl(127, 91%, 18%)
OKLCHoklch(40.7% 0.13 143.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 #045A0E 8.48:1 AAA Lc -93.2 Preferred for body text
Black text on #045A0E 2.47:1 Fails Lc 15.4 Dividers and decoration only
#045A0E text on white 8.48:1 AAA Lc 88.6 Fine for body text
#045A0E text on black 2.47:1 Fails Lc -13.6 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

    #C9E1C8

    oklch(88.5% 0.042 144.1)

  4. Step 300

    300

    #A3CEA2

    oklch(80.9% 0.076 144.3)

  5. Step 400

    400

    #6FB46E

    oklch(70.6% 0.122 143.8)

  6. Step 500

    500

    #44A146

    oklch(63.2% 0.156 143.8)

  7. Step 600

    600

    #1B8B24

    oklch(55.7% 0.169 143.7)

  8. Step 700

    700

    #077615

    oklch(49.2% 0.158 143.7)

  9. Step 800

    800 (this color)

    #045A0E

    oklch(40.7% 0.13 143.7)

  10. Step 900

    900

    #184F19

    oklch(37.8% 0.102 143.5)

  11. Step 950

    950

    #102E10

    oklch(27% 0.064 143.6)

Export this scale for Tailwind in the Tailwind colors tool

#045A0E 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)#5C50000.094
Deuteranopia (no green cones)#534A170.094
Tritanopia (no blue cones)#00574C0.084
Achromatopsia (no color)#4D4D4D0.131

Harmonies

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

Complementary

The opposite hue (180°).

  • #045A0E

    #045A0E

    oklch(40.7% 0.13 143.7)

  • #6A2B71

    #6A2B71

    oklch(40.8% 0.13 323.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #045A0E

    #045A0E

    oklch(40.7% 0.13 143.7)

  • #494E00

    #494E00

    oklch(40.5% 0.091 113.9)

  • #005746

    #005746

    oklch(40.7% 0.078 173.5)

Open the analogous palette in the generator

Split complementary

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

  • #045A0E

    #045A0E

    oklch(40.7% 0.13 143.7)

  • #4F3688

    #4F3688

    oklch(40.6% 0.131 293.8)

  • #7B224F

    #7B224F

    oklch(40.7% 0.13 353.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #045A0E

    #045A0E

    oklch(40.7% 0.13 143.7)

  • #23448F

    #23448F

    oklch(40.7% 0.13 263.7)

  • #822224

    #822224

    oklch(40.8% 0.131 24.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #045A0E

    #045A0E

    oklch(40.7% 0.13 143.7)

  • #005070

    #005070

    oklch(40.6% 0.085 233.9)

  • #6A2B71

    #6A2B71

    oklch(40.8% 0.13 323.6)

  • #723700

    #723700

    oklch(40.7% 0.102 54.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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