#2A831C

Closest named color: Dark Grass Green (#388004). oklch(53.7% 0.16 141.2), rgb(42, 131, 28).

Aa

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

About this color

#2A831C is a medium-dark, vivid green. In OKLCH its lightness is 54%, its chroma 0.160 and its hue 141°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Grass Green (#388004), ΔE 0.012 away. White text reads best on it, at 4.81:1.

Hue familyGreens
Lightnessmedium-dark (54%)
Chromavivid (0.160)
Temperaturein between
Nearest nameDark Grass Green (#388004)
Black text4.36:1
White text4.81:1

Values

HEX#2A831C
RGBrgb(42, 131, 28)
HSLhsl(112, 65%, 31%)
OKLCHoklch(53.7% 0.16 141.2)

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 #2A831C 4.81:1 AA Lc -78.4 Fine for body text
Black text on #2A831C 4.36:1 AA large text Lc 31.1 Non-text elements, placeholder text
#2A831C text on white 4.81:1 AA Lc 73.0 Content text, not long reading
#2A831C text on black 4.36:1 AA large text Lc -28.7 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 600.

  1. Step 50

    50

    #F2F7F1

    oklch(97.1% 0.01 140.5)

  2. Step 100

    100

    #E3EEE1

    oklch(93.7% 0.021 140.9)

  3. Step 200

    200

    #CBE0C8

    oklch(88.4% 0.039 141.7)

  4. Step 300

    300

    #A7CDA1

    oklch(80.9% 0.073 141.3)

  5. Step 400

    400

    #77B36E

    oklch(70.8% 0.116 141.2)

  6. Step 500

    500

    #519F45

    oklch(63.2% 0.148 141.1)

  7. Step 600

    600 (this color)

    #2A831C

    oklch(53.7% 0.16 141.2)

  8. Step 700

    700

    #227415

    oklch(49.1% 0.149 141.3)

  9. Step 800

    800

    #1F5E15

    oklch(42.6% 0.123 141.1)

  10. Step 900

    900

    #204E19

    oklch(37.8% 0.097 141.1)

  11. Step 950

    950

    #142E10

    oklch(27.2% 0.061 141.1)

Export this scale for Tailwind in the Tailwind colors tool

#2A831C 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)#8676040.110
Deuteranopia (no green cones)#7C6F270.111
Tritanopia (no blue cones)#197F700.106
Achromatopsia (no color)#7272720.161

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A831C

    #2A831C

    oklch(53.7% 0.16 141.2)

  • #9648A5

    #9648A5

    oklch(53.7% 0.16 320.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A831C

    #2A831C

    oklch(53.7% 0.16 141.2)

  • #717300

    #717300

    oklch(53.6% 0.118 111)

  • #008166

    #008166

    oklch(53.7% 0.105 171.4)

Open the analogous palette in the generator

Split complementary

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

  • #2A831C

    #2A831C

    oklch(53.7% 0.16 141.2)

  • #7157C2

    #7157C2

    oklch(53.7% 0.161 291.2)

  • #AE3D79

    #AE3D79

    oklch(53.7% 0.16 351)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A831C

    #2A831C

    oklch(53.7% 0.16 141.2)

  • #3469C9

    #3469C9

    oklch(53.7% 0.16 261.1)

  • #B83C43

    #B83C43

    oklch(53.7% 0.159 21.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A831C

    #2A831C

    oklch(53.7% 0.16 141.2)

  • #0078A1

    #0078A1

    oklch(53.7% 0.108 231.1)

  • #9648A5

    #9648A5

    oklch(53.7% 0.16 320.9)

  • #AB5100

    #AB5100

    oklch(53.8% 0.14 51.4)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #2A831C.

Similar named colors

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

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