#2A6828

Closest named color: Camouflage Green (#4B6113). oklch(46.1% 0.116 142.9), rgb(42, 104, 40).

Aa

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

About this color

#2A6828 is a medium-dark, moderately saturated green. In OKLCH its lightness is 46%, its chroma 0.116 and its hue 143°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Camouflage Green (#4B6113), ΔE 0.037 away. White text reads best on it, at 6.75:1.

Hue familyGreens
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.116)
Temperaturein between
Nearest nameCamouflage Green (#4B6113)
Black text3.10:1
White text6.75:1

Values

HEX#2A6828
RGBrgb(42, 104, 40)
HSLhsl(118, 44%, 28%)
OKLCHoklch(46.1% 0.116 142.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 #2A6828 6.75:1 AA Lc -88.0 Fine for body text
Black text on #2A6828 3.10:1 AA large text Lc 21.0 Dividers and decoration only
#2A6828 text on white 6.75:1 AA Lc 83.0 Fine for body text
#2A6828 text on black 3.10:1 AA large text Lc -18.9 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

    #F3F7F2

    oklch(97.2% 0.008 139.4)

  2. Step 100

    100

    #E4EDE3

    oklch(93.7% 0.016 142.6)

  3. Step 200

    200

    #CEDFCC

    oklch(88.6% 0.031 142.3)

  4. Step 300

    300

    #ACCAA9

    oklch(80.8% 0.056 142.6)

  5. Step 400

    400

    #7FAF7C

    oklch(70.6% 0.089 143.1)

  6. Step 500

    500

    #5D9B5A

    oklch(63.1% 0.115 143.1)

  7. Step 600

    600

    #42853F

    oklch(55.5% 0.124 142.9)

  8. Step 700

    700 (this color)

    #2A6828

    oklch(46.1% 0.116 142.9)

  9. Step 800

    800

    #2B5C29

    oklch(42.7% 0.096 142.9)

  10. Step 900

    900

    #284C26

    oklch(37.9% 0.075 142.8)

  11. Step 950

    950

    #182C17

    oklch(26.9% 0.046 143.1)

Export this scale for Tailwind in the Tailwind colors tool

#2A6828 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)#6A5F210.083
Deuteranopia (no green cones)#62592D0.084
Tritanopia (no blue cones)#20655A0.074
Achromatopsia (no color)#5B5B5B0.116

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A6828

    #2A6828

    oklch(46.1% 0.116 142.9)

  • #763F7D

    #763F7D

    oklch(46% 0.115 322.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A6828

    #2A6828

    oklch(46.1% 0.116 142.9)

  • #595E00

    #595E00

    oklch(46.2% 0.103 113.3)

  • #006853

    #006853

    oklch(46.1% 0.089 172.5)

Open the analogous palette in the generator

Split complementary

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

  • #2A6828

    #2A6828

    oklch(46.1% 0.116 142.9)

  • #5C4992

    #5C4992

    oklch(46% 0.116 293.3)

  • #87395E

    #87395E

    oklch(46.1% 0.115 352.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A6828

    #2A6828

    oklch(46.1% 0.116 142.9)

  • #345598

    #345598

    oklch(46% 0.116 262.9)

  • #8E3939

    #8E3939

    oklch(46.2% 0.116 22.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A6828

    #2A6828

    oklch(46.1% 0.116 142.9)

  • #006084

    #006084

    oklch(46% 0.095 232.9)

  • #763F7D

    #763F7D

    oklch(46% 0.115 322.9)

  • #894202

    #894202

    oklch(46.2% 0.116 52.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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