#2A6017

Closest named color: Dark Green (#006400). oklch(43.6% 0.119 138.9), rgb(42, 96, 23).

Aa

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

About this color

#2A6017 is a dark, moderately saturated green. In OKLCH its lightness is 44%, its chroma 0.119 and its hue 139°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Green (#006400), ΔE 0.031 away. White text reads best on it, at 7.54:1.

Hue familyGreens
Lightnessdark (44%)
Chromamoderately saturated (0.119)
Temperaturein between
Nearest nameDark Green (#006400)
Black text2.78:1
White text7.54:1

Values

HEX#2A6017
RGBrgb(42, 96, 23)
HSLhsl(104, 61%, 23%)
OKLCHoklch(43.6% 0.119 138.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 #2A6017 7.54:1 AAA Lc -90.8 Preferred for body text
Black text on #2A6017 2.78:1 Fails Lc 18.1 Dividers and decoration only
#2A6017 text on white 7.54:1 AAA Lc 85.9 Fine for body text
#2A6017 text on black 2.78:1 Fails Lc -16.1 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 800.

  1. Step 50

    50

    #F2F7F1

    oklch(97.1% 0.01 140.5)

  2. Step 100

    100

    #E3EDE1

    oklch(93.5% 0.019 140.5)

  3. Step 200

    200

    #CDE0C7

    oklch(88.6% 0.039 138.2)

  4. Step 300

    300

    #AACCA1

    oklch(80.9% 0.07 139.2)

  5. Step 400

    400

    #7CB16D

    oklch(70.6% 0.111 138.9)

  6. Step 500

    500

    #599D44

    oklch(63% 0.142 138.9)

  7. Step 600

    600

    #3C8721

    oklch(55.5% 0.154 138.9)

  8. Step 700

    700

    #2E7313

    oklch(49.2% 0.144 138.9)

  9. Step 800

    800 (this color)

    #2A6017

    oklch(43.6% 0.119 138.9)

  10. Step 900

    900

    #254D18

    oklch(37.8% 0.093 138.8)

  11. Step 950

    950

    #162D0F

    oklch(27% 0.059 138.9)

Export this scale for Tailwind in the Tailwind colors tool

#2A6017 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)#63570B0.078
Deuteranopia (no green cones)#5C531E0.078
Tritanopia (no blue cones)#255D520.081
Achromatopsia (no color)#5454540.119

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A6017

    #2A6017

    oklch(43.6% 0.119 138.9)

  • #6C387A

    #6C387A

    oklch(43.5% 0.119 318.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A6017

    #2A6017

    oklch(43.6% 0.119 138.9)

  • #565500

    #565500

    oklch(43.6% 0.095 109)

  • #006049

    #006049

    oklch(43.5% 0.087 169.3)

Open the analogous palette in the generator

Split complementary

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

  • #2A6017

    #2A6017

    oklch(43.6% 0.119 138.9)

  • #51438E

    #51438E

    oklch(43.6% 0.119 289.1)

  • #7F315C

    #7F315C

    oklch(43.7% 0.119 349)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A6017

    #2A6017

    oklch(43.6% 0.119 138.9)

  • #255092

    #255092

    oklch(43.7% 0.119 258.8)

  • #873037

    #873037

    oklch(43.7% 0.119 18.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A6017

    #2A6017

    oklch(43.6% 0.119 138.9)

  • #005A77

    #005A77

    oklch(43.7% 0.086 228.7)

  • #6C387A

    #6C387A

    oklch(43.5% 0.119 318.8)

  • #823900

    #823900

    oklch(43.6% 0.116 49.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2A6017 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.