#017D1C

Closest named color: Tree Green (#2A7E19). oklch(51.2% 0.163 144.6), rgb(1, 125, 28).

Aa

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

About this color

#017D1C is a medium-dark, vivid green. In OKLCH its lightness is 51%, its chroma 0.163 and its hue 145°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Tree Green (#2A7E19), ΔE 0.016 away. White text reads best on it, at 5.31:1.

Hue familyGreens
Lightnessmedium-dark (51%)
Chromavivid (0.163)
Temperaturein between
Nearest nameTree Green (#2A7E19)
Black text3.95:1
White text5.31:1

Values

HEX#017D1C
RGBrgb(1, 125, 28)
HSLhsl(133, 98%, 25%)
OKLCHoklch(51.2% 0.163 144.6)

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 #017D1C 5.31:1 AA Lc -81.1 Fine for body text
Black text on #017D1C 3.95:1 AA large text Lc 28.3 Dividers and decoration only
#017D1C text on white 5.31:1 AA Lc 75.7 Fine for body text
#017D1C text on black 3.95:1 AA large text Lc -26.0 Dividers and decoration only

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 700.

  1. Step 50

    50

    #F1F7F1

    oklch(97% 0.01 145.5)

  2. Step 100

    100

    #E1EEE1

    oklch(93.6% 0.022 145.4)

  3. Step 200

    200

    #C8E1C8

    oklch(88.4% 0.043 145.2)

  4. Step 300

    300

    #A2CFA1

    oklch(81% 0.079 144.3)

  5. Step 400

    400

    #6CB56D

    oklch(70.7% 0.126 144.4)

  6. Step 500

    500

    #3DA245

    oklch(63.2% 0.161 144.7)

  7. Step 600

    600

    #068C22

    oklch(55.7% 0.175 144.6)

  8. Step 700

    700 (this color)

    #017D1C

    oklch(51.2% 0.163 144.6)

  9. Step 800

    800

    #026114

    oklch(42.8% 0.135 144.5)

  10. Step 900

    900

    #134F19

    oklch(37.7% 0.104 144.6)

  11. Step 950

    950

    #0E2F10

    oklch(27.2% 0.067 144.5)

Export this scale for Tailwind in the Tailwind colors tool

#017D1C 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)#7F70080.119
Deuteranopia (no green cones)#7468270.120
Tritanopia (no blue cones)#00796A0.103
Achromatopsia (no color)#6B6B6B0.164

Harmonies

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

Complementary

The opposite hue (180°).

  • #017D1C

    #017D1C

    oklch(51.2% 0.163 144.6)

  • #933E9A

    #933E9A

    oklch(51.4% 0.163 324.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #017D1C

    #017D1C

    oklch(51.2% 0.163 144.6)

  • #666E00

    #666E00

    oklch(51.4% 0.116 114.7)

  • #007863

    #007863

    oklch(51.1% 0.097 174.8)

Open the analogous palette in the generator

Split complementary

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

  • #017D1C

    #017D1C

    oklch(51.2% 0.163 144.6)

  • #6F4DB9

    #6F4DB9

    oklch(51.2% 0.163 294.4)

  • #A9336C

    #A9336C

    oklch(51.3% 0.162 354.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #017D1C

    #017D1C

    oklch(51.2% 0.163 144.6)

  • #365FC3

    #365FC3

    oklch(51.3% 0.163 264.5)

  • #B13334

    #B13334

    oklch(51.2% 0.163 24.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #017D1C

    #017D1C

    oklch(51.2% 0.163 144.6)

  • #006F9B

    #006F9B

    oklch(51.1% 0.108 234.8)

  • #933E9A

    #933E9A

    oklch(51.4% 0.163 324.6)

  • #9D4E00

    #9D4E00

    oklch(51.2% 0.128 54.1)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #017D1C.

Similar named colors

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

Use #017D1C 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.