#2A6842

Closest named color: Pine (#2B5D34). oklch(46.6% 0.089 154), rgb(42, 104, 66).

Aa

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

About this color

#2A6842 is a medium-dark, moderately saturated green. In OKLCH its lightness is 47%, its chroma 0.089 and its hue 154°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pine (#2B5D34), ΔE 0.035 away. White text reads best on it, at 6.65:1.

Hue familyGreens
Lightnessmedium-dark (47%)
Chromamoderately saturated (0.089)
Temperaturein between
Nearest namePine (#2B5D34)
Black text3.15:1
White text6.65:1

Values

HEX#2A6842
RGBrgb(42, 104, 66)
HSLhsl(143, 42%, 29%)
OKLCHoklch(46.6% 0.089 154)

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 #2A6842 6.65:1 AA Lc -87.7 Fine for body text
Black text on #2A6842 3.15:1 AA large text Lc 21.4 Dividers and decoration only
#2A6842 text on white 6.65:1 AA Lc 82.6 Fine for body text
#2A6842 text on black 3.15:1 AA large text Lc -19.3 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

    #F3F7F4

    oklch(97.2% 0.006 153.8)

  2. Step 100

    100

    #E4ECE6

    oklch(93.5% 0.012 153.7)

  3. Step 200

    200

    #CEDED2

    oklch(88.5% 0.024 153.4)

  4. Step 300

    300

    #ACC9B4

    oklch(80.8% 0.043 153.9)

  5. Step 400

    400

    #7FAE8D

    oklch(70.8% 0.07 153.7)

  6. Step 500

    500

    #5C9971

    oklch(63% 0.088 154.3)

  7. Step 600

    600

    #408459

    oklch(55.7% 0.097 154)

  8. Step 700

    700 (this color)

    #2A6842

    oklch(46.6% 0.089 154)

  9. Step 800

    800

    #2A5B3C

    oklch(42.8% 0.075 154)

  10. Step 900

    900

    #274B33

    oklch(37.8% 0.059 153.5)

  11. Step 950

    950

    #182C1E

    oklch(27.1% 0.037 152.9)

Export this scale for Tailwind in the Tailwind colors tool

#2A6842 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)#6860400.079
Deuteranopia (no green cones)#5F5A440.076
Tritanopia (no blue cones)#17675E0.044
Achromatopsia (no color)#5C5C5C0.090

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A6842

    #2A6842

    oklch(46.6% 0.089 154)

  • #77456E

    #77456E

    oklch(46.4% 0.089 333.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A6842

    #2A6842

    oklch(46.6% 0.089 154)

  • #4F6224

    #4F6224

    oklch(46.6% 0.09 124.2)

  • #00685F

    #00685F

    oklch(46.5% 0.082 184.6)

Open the analogous palette in the generator

Split complementary

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

  • #2A6842

    #2A6842

    oklch(46.6% 0.089 154)

  • #654C82

    #654C82

    oklch(46.6% 0.089 304.5)

  • #824354

    #824354

    oklch(46.6% 0.088 3.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A6842

    #2A6842

    oklch(46.6% 0.089 154)

  • #4A558B

    #4A558B

    oklch(46.5% 0.089 273.7)

  • #844537

    #844537

    oklch(46.5% 0.09 33.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A6842

    #2A6842

    oklch(46.6% 0.089 154)

  • #265E88

    #265E88

    oklch(46.5% 0.09 244.3)

  • #77456E

    #77456E

    oklch(46.4% 0.089 333.8)

  • #7C4E1C

    #7C4E1C

    oklch(46.7% 0.089 64.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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