#2A5A2A

Closest named color: Pine (#2B5D34). oklch(42.1% 0.093 143.7), rgb(42, 90, 42).

Aa

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

About this color

#2A5A2A is a dark, moderately saturated green. In OKLCH its lightness is 42%, its chroma 0.093 and its hue 144°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pine (#2B5D34), ΔE 0.014 away. White text reads best on it, at 8.09:1.

Hue familyGreens
Lightnessdark (42%)
Chromamoderately saturated (0.093)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.59:1
White text8.09:1

Values

HEX#2A5A2A
RGBrgb(42, 90, 42)
HSLhsl(120, 36%, 26%)
OKLCHoklch(42.1% 0.093 143.7)

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 #2A5A2A 8.09:1 AAA Lc -92.5 Preferred for body text
Black text on #2A5A2A 2.59:1 Fails Lc 16.2 Dividers and decoration only
#2A5A2A text on white 8.09:1 AAA Lc 87.8 Fine for body text
#2A5A2A text on black 2.59:1 Fails Lc -14.3 Not readable

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

    #F3F7F2

    oklch(97.2% 0.008 139.4)

  2. Step 100

    100

    #E4EDE3

    oklch(93.7% 0.016 142.6)

  3. Step 200

    200

    #CEDFCD

    oklch(88.6% 0.03 143.8)

  4. Step 300

    300

    #ACCAAB

    oklch(80.8% 0.054 144.2)

  5. Step 400

    400

    #80AF7E

    oklch(70.7% 0.086 143.6)

  6. Step 500

    500

    #5E9B5D

    oklch(63.2% 0.111 143.8)

  7. Step 600

    600

    #428542

    oklch(55.6% 0.121 143.7)

  8. Step 700

    700

    #347134

    oklch(49.3% 0.113 143.6)

  9. Step 800

    800 (this color)

    #2A5A2A

    oklch(42.1% 0.093 143.7)

  10. Step 900

    900

    #284B28

    oklch(37.6% 0.071 144)

  11. Step 950

    950

    #182C18

    oklch(27% 0.045 144.2)

Export this scale for Tailwind in the Tailwind colors tool

#2A5A2A 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)#5C52260.070
Deuteranopia (no green cones)#554E2D0.068
Tritanopia (no blue cones)#23584F0.058
Achromatopsia (no color)#5050500.093

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A5A2A

    #2A5A2A

    oklch(42.1% 0.093 143.7)

  • #663A6A

    #663A6A

    oklch(42.1% 0.094 324)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A5A2A

    #2A5A2A

    oklch(42.1% 0.093 143.7)

  • #4D5203

    #4D5203

    oklch(42% 0.093 113.8)

  • #005B4A

    #005B4A

    oklch(42% 0.08 174.2)

Open the analogous palette in the generator

Split complementary

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

  • #2A5A2A

    #2A5A2A

    oklch(42.1% 0.093 143.7)

  • #50427B

    #50427B

    oklch(42.1% 0.093 293.3)

  • #733651

    #733651

    oklch(42.2% 0.092 353.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A5A2A

    #2A5A2A

    oklch(42.1% 0.093 143.7)

  • #334B80

    #334B80

    oklch(42.1% 0.093 264.4)

  • #783634

    #783634

    oklch(42.1% 0.093 23.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A5A2A

    #2A5A2A

    oklch(42.1% 0.093 143.7)

  • #005475

    #005475

    oklch(42% 0.087 233.7)

  • #663A6A

    #663A6A

    oklch(42.1% 0.094 324)

  • #733D13

    #733D13

    oklch(42% 0.092 54)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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