#2A7108

Closest named color: Tree Green (#2A7E19). oklch(48.4% 0.148 138.8), rgb(42, 113, 8).

Aa

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

About this color

#2A7108 is a medium-dark, vivid green. In OKLCH its lightness is 48%, its chroma 0.148 and its hue 139°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Tree Green (#2A7E19), ΔE 0.039 away. White text reads best on it, at 6.06:1.

Hue familyGreens
Lightnessmedium-dark (48%)
Chromavivid (0.148)
Temperaturein between
Nearest nameTree Green (#2A7E19)
Black text3.46:1
White text6.06:1

Values

HEX#2A7108
RGBrgb(42, 113, 8)
HSLhsl(101, 87%, 24%)
OKLCHoklch(48.4% 0.148 138.8)

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 #2A7108 6.06:1 AA Lc -85.1 Fine for body text
Black text on #2A7108 3.46:1 AA large text Lc 24.2 Dividers and decoration only
#2A7108 text on white 6.06:1 AA Lc 79.9 Fine for body text
#2A7108 text on black 3.46:1 AA large text Lc -21.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

    #F2F7F1

    oklch(97.1% 0.01 140.5)

  2. Step 100

    100

    #E3EDE0

    oklch(93.5% 0.02 138.4)

  3. Step 200

    200

    #CCE0C7

    oklch(88.5% 0.04 139.4)

  4. Step 300

    300

    #AACCA0

    oklch(80.9% 0.071 138.6)

  5. Step 400

    400

    #7BB26B

    oklch(70.8% 0.115 138.8)

  6. Step 500

    500

    #589E41

    oklch(63.2% 0.146 138.7)

  7. Step 600

    600

    #3B881C

    oklch(55.7% 0.159 138.7)

  8. Step 700

    700 (this color)

    #2A7108

    oklch(48.4% 0.148 138.8)

  9. Step 800

    800

    #265E10

    oklch(42.8% 0.123 138.8)

  10. Step 900

    900

    #244D16

    oklch(37.7% 0.096 138.7)

  11. Step 950

    950

    #162D0F

    oklch(27% 0.059 138.9)

Export this scale for Tailwind in the Tailwind colors tool

#2A7108 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)#7566000.098
Deuteranopia (no green cones)#6C60180.097
Tritanopia (no blue cones)#226D5F0.101
Achromatopsia (no color)#6262620.148

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A7108

    #2A7108

    oklch(48.4% 0.148 138.8)

  • #813D93

    #813D93

    oklch(48.4% 0.148 318.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A7108

    #2A7108

    oklch(48.4% 0.148 138.8)

  • #646300

    #646300

    oklch(48.5% 0.105 109.1)

  • #007055

    #007055

    oklch(48.4% 0.097 168.8)

Open the analogous palette in the generator

Split complementary

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

  • #2A7108

    #2A7108

    oklch(48.4% 0.148 138.8)

  • #5E4BAC

    #5E4BAC

    oklch(48.4% 0.149 288.6)

  • #97336C

    #97336C

    oklch(48.4% 0.147 348.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A7108

    #2A7108

    oklch(48.4% 0.148 138.8)

  • #235CB0

    #235CB0

    oklch(48.5% 0.147 258.5)

  • #A1313D

    #A1313D

    oklch(48.4% 0.147 18.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A7108

    #2A7108

    oklch(48.4% 0.148 138.8)

  • #006889

    #006889

    oklch(48.4% 0.095 228.8)

  • #813D93

    #813D93

    oklch(48.4% 0.148 318.8)

  • #974300

    #974300

    oklch(48.5% 0.13 49)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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