#2A5E07

Closest named color: Dark Green (#006400). oklch(42.9% 0.125 136.8), rgb(42, 94, 7).

Aa

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

About this color

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

Hue familyGreens
Lightnessdark (43%)
Chromamoderately saturated (0.125)
Temperaturein between
Nearest nameDark Green (#006400)
Black text2.70:1
White text7.77:1

Values

HEX#2A5E07
RGBrgb(42, 94, 7)
HSLhsl(96, 86%, 20%)
OKLCHoklch(42.9% 0.125 136.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 #2A5E07 7.77:1 AAA Lc -91.4 Preferred for body text
Black text on #2A5E07 2.70:1 Fails Lc 17.3 Dividers and decoration only
#2A5E07 text on white 7.77:1 AAA Lc 86.7 Fine for body text
#2A5E07 text on black 2.70:1 Fails Lc -15.4 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

    #E3EDE0

    oklch(93.5% 0.02 138.4)

  3. Step 200

    200

    #CDE0C6

    oklch(88.5% 0.041 137.2)

  4. Step 300

    300

    #ABCC9E

    oklch(80.9% 0.072 136.9)

  5. Step 400

    400

    #7EB167

    oklch(70.6% 0.116 136.5)

  6. Step 500

    500

    #5B9D3B

    oklch(63% 0.148 136.8)

  7. Step 600

    600

    #3F870E

    oklch(55.5% 0.162 136.8)

  8. Step 700

    700

    #327200

    oklch(49% 0.148 136.7)

  9. Step 800

    800 (this color)

    #2A5E07

    oklch(42.9% 0.125 136.8)

  10. Step 900

    900

    #264D12

    oklch(37.8% 0.098 137)

  11. Step 950

    950

    #172D0C

    oklch(27% 0.062 136.6)

Export this scale for Tailwind in the Tailwind colors tool

#2A5E07 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)#6255000.079
Deuteranopia (no green cones)#5B51130.078
Tritanopia (no blue cones)#275A4F0.089
Achromatopsia (no color)#5252520.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A5E07

    #2A5E07

    oklch(42.9% 0.125 136.8)

  • #6A357C

    #6A357C

    oklch(42.9% 0.125 316.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A5E07

    #2A5E07

    oklch(42.9% 0.125 136.8)

  • #565200

    #565200

    oklch(42.9% 0.092 106.4)

  • #005E45

    #005E45

    oklch(42.8% 0.088 167.1)

Open the analogous palette in the generator

Split complementary

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

  • #2A5E07

    #2A5E07

    oklch(42.9% 0.125 136.8)

  • #4D418F

    #4D418F

    oklch(42.9% 0.124 287)

  • #7D2D5D

    #7D2D5D

    oklch(42.9% 0.124 346.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A5E07

    #2A5E07

    oklch(42.9% 0.125 136.8)

  • #1A4E92

    #1A4E92

    oklch(42.9% 0.125 256.8)

  • #862B36

    #862B36

    oklch(42.9% 0.124 17.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A5E07

    #2A5E07

    oklch(42.9% 0.125 136.8)

  • #005872

    #005872

    oklch(42.9% 0.082 226.4)

  • #6A357C

    #6A357C

    oklch(42.9% 0.125 316.8)

  • #823500

    #823500

    oklch(42.9% 0.12 46.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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