#051702

Closest named color: Almost Black (#070D0D). oklch(18.2% 0.05 139.5), rgb(5, 23, 2).

Aa

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

About this color

#051702 is a very dark, muted green. In OKLCH its lightness is 18%, its chroma 0.050 and its hue 139°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Almost Black (#070D0D), ΔE 0.054 away. White text reads best on it, at 18.58:1.

Hue familyGreens
Lightnessvery dark (18%)
Chromamuted (0.050)
Temperaturein between
Nearest nameAlmost Black (#070D0D)
Black text1.12:1
White text18.58:1

Values

HEX#051702
RGBrgb(5, 23, 2)
HSLhsl(111, 84%, 5%)
OKLCHoklch(18.2% 0.05 139.5)

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 #051702 18.58:1 AAA Lc -107.1 Preferred for body text
Black text on #051702 1.12:1 Fails Lc 0.0 Not readable
#051702 text on white 18.58:1 AAA Lc 105.1 Preferred for body text
#051702 text on black 1.12:1 Fails Lc 0.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 950.

  1. Step 50

    50

    #F3F7F2

    oklch(97.2% 0.008 139.4)

  2. Step 100

    100

    #E4EDE2

    oklch(93.6% 0.017 140)

  3. Step 200

    200

    #CEDFCA

    oklch(88.5% 0.034 139.7)

  4. Step 300

    300

    #ADCBA6

    oklch(81% 0.06 139.8)

  5. Step 400

    400

    #81AF76

    oklch(70.6% 0.095 139.6)

  6. Step 500

    500

    #609B51

    oklch(63.1% 0.122 139.5)

  7. Step 600

    600

    #458534

    oklch(55.5% 0.133 139.5)

  8. Step 700

    700

    #377126

    oklch(49.2% 0.124 139.3)

  9. Step 800

    800

    #2E5C21

    oklch(42.7% 0.103 139.3)

  10. Step 900

    900

    #294B21

    oklch(37.5% 0.079 139.8)

  11. Step 950

    950 (this color)

    #051702

    oklch(18.2% 0.05 139.5)

Export this scale for Tailwind in the Tailwind colors tool

#051702 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)#1814010.034
Deuteranopia (no green cones)#1612030.035
Tritanopia (no blue cones)#0416120.034
Achromatopsia (no color)#1313130.051

Harmonies

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

Complementary

The opposite hue (180°).

  • #051702

    #051702

    oklch(18.2% 0.05 139.5)

  • #1B0920

    #1B0920

    oklch(18.1% 0.051 318.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #051702

    #051702

    oklch(18.2% 0.05 139.5)

  • #131300

    #131300

    oklch(18.1% 0.039 109.8)

  • #00170F

    #00170F

    oklch(18.2% 0.037 168.6)

Open the analogous palette in the generator

Split complementary

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

  • #051702

    #051702

    oklch(18.2% 0.05 139.5)

  • #120D26

    #120D26

    oklch(18.2% 0.05 289.7)

  • #210715

    #210715

    oklch(18.1% 0.05 349.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #051702

    #051702

    oklch(18.2% 0.05 139.5)

  • #041128

    #041128

    oklch(18.1% 0.051 259.2)

  • #240709

    #240709

    oklch(18.2% 0.05 19)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #051702

    #051702

    oklch(18.2% 0.05 139.5)

  • #00151F

    #00151F

    oklch(18.3% 0.036 229.3)

  • #1B0920

    #1B0920

    oklch(18.1% 0.051 318.5)

  • #220A00

    #220A00

    oklch(18.2% 0.048 50)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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