#2A5E18

Closest named color: Deep Green (#02590F). oklch(43% 0.115 138.9), rgb(42, 94, 24).

Aa

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

About this color

#2A5E18 is a dark, moderately saturated green. In OKLCH its lightness is 43%, its chroma 0.115 and its hue 139°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Green (#02590F), ΔE 0.032 away. White text reads best on it, at 7.74:1.

Hue familyGreens
Lightnessdark (43%)
Chromamoderately saturated (0.115)
Temperaturein between
Nearest nameDeep Green (#02590F)
Black text2.71:1
White text7.74:1

Values

HEX#2A5E18
RGBrgb(42, 94, 24)
HSLhsl(105, 59%, 23%)
OKLCHoklch(43% 0.115 138.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 #2A5E18 7.74:1 AAA Lc -91.4 Preferred for body text
Black text on #2A5E18 2.71:1 Fails Lc 17.4 Dividers and decoration only
#2A5E18 text on white 7.74:1 AAA Lc 86.6 Fine for body text
#2A5E18 text on black 2.71:1 Fails Lc -15.5 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

    #E4EDE1

    oklch(93.6% 0.019 137.8)

  3. Step 200

    200

    #CDE0C8

    oklch(88.6% 0.038 139.2)

  4. Step 300

    300

    #ABCCA2

    oklch(81% 0.068 139)

  5. Step 400

    400

    #7DB16F

    oklch(70.7% 0.108 139.2)

  6. Step 500

    500

    #5B9D47

    oklch(63.2% 0.138 138.9)

  7. Step 600

    600

    #3F8726

    oklch(55.6% 0.15 138.9)

  8. Step 700

    700

    #307218

    oklch(49% 0.139 139)

  9. Step 800

    800 (this color)

    #2A5E18

    oklch(43% 0.115 138.9)

  10. Step 900

    900

    #264C1A

    oklch(37.6% 0.089 138.9)

  11. Step 950

    950

    #172D10

    oklch(27% 0.058 138.6)

Export this scale for Tailwind in the Tailwind colors tool

#2A5E18 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)#61550D0.076
Deuteranopia (no green cones)#5A511F0.076
Tritanopia (no blue cones)#255B500.078
Achromatopsia (no color)#5353530.116

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A5E18

    #2A5E18

    oklch(43% 0.115 138.9)

  • #6A3877

    #6A3877

    oklch(43% 0.114 319.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A5E18

    #2A5E18

    oklch(43% 0.115 138.9)

  • #545300

    #545300

    oklch(42.9% 0.093 109)

  • #005F47

    #005F47

    oklch(43.1% 0.087 168.2)

Open the analogous palette in the generator

Split complementary

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

  • #2A5E18

    #2A5E18

    oklch(43% 0.115 138.9)

  • #4F428A

    #4F428A

    oklch(43% 0.115 288.9)

  • #7C315A

    #7C315A

    oklch(43.1% 0.115 349.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A5E18

    #2A5E18

    oklch(43% 0.115 138.9)

  • #254E8E

    #254E8E

    oklch(43% 0.116 259.1)

  • #833036

    #833036

    oklch(43% 0.114 19)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A5E18

    #2A5E18

    oklch(43% 0.115 138.9)

  • #005875

    #005875

    oklch(43.1% 0.085 229.2)

  • #6A3877

    #6A3877

    oklch(43% 0.114 319.1)

  • #803801

    #803801

    oklch(43.1% 0.115 49)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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