#2A5227

Closest named color: Navy Green (#35530A). oklch(39.7% 0.083 142.4), rgb(42, 82, 39).

Aa

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

About this color

#2A5227 is a dark, moderately saturated green. In OKLCH its lightness is 40%, its chroma 0.083 and its hue 142°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Navy Green (#35530A), ΔE 0.028 away. White text reads best on it, at 8.99:1.

Hue familyGreens
Lightnessdark (40%)
Chromamoderately saturated (0.083)
Temperaturein between
Nearest nameNavy Green (#35530A)
Black text2.33:1
White text8.99:1

Values

HEX#2A5227
RGBrgb(42, 82, 39)
HSLhsl(116, 36%, 24%)
OKLCHoklch(39.7% 0.083 142.4)

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 #2A5227 8.99:1 AAA Lc -94.9 Preferred for body text
Black text on #2A5227 2.33:1 Fails Lc 13.5 Not readable
#2A5227 text on white 8.99:1 AAA Lc 90.5 Preferred for body text
#2A5227 text on black 2.33:1 Fails Lc -11.8 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 900.

  1. Step 50

    50

    #F2F7F2

    oklch(97.1% 0.008 145.5)

  2. Step 100

    100

    #E3EDE2

    oklch(93.6% 0.018 142.8)

  3. Step 200

    200

    #CDDFCB

    oklch(88.5% 0.033 142.5)

  4. Step 300

    300

    #AACBA7

    oklch(80.8% 0.061 142.8)

  5. Step 400

    400

    #7CB177

    oklch(70.8% 0.1 142.4)

  6. Step 500

    500

    #589D53

    oklch(63.2% 0.128 142.5)

  7. Step 600

    600

    #3B8736

    oklch(55.6% 0.139 142.4)

  8. Step 700

    700

    #2D7229

    oklch(49.1% 0.128 142.4)

  9. Step 800

    800

    #265D23

    oklch(42.7% 0.107 142.6)

  10. Step 900

    900 (this color)

    #2A5227

    oklch(39.7% 0.083 142.4)

  11. Step 950

    950

    #162D14

    oklch(27% 0.053 142.3)

Export this scale for Tailwind in the Tailwind colors tool

#2A5227 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)#544B230.061
Deuteranopia (no green cones)#4E482A0.059
Tritanopia (no blue cones)#2650480.053
Achromatopsia (no color)#4949490.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A5227

    #2A5227

    oklch(39.7% 0.083 142.4)

  • #5C3761

    #5C3761

    oklch(39.8% 0.082 322.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A5227

    #2A5227

    oklch(39.7% 0.083 142.4)

  • #484B09

    #484B09

    oklch(39.7% 0.083 112.4)

  • #005443

    #005443

    oklch(39.7% 0.076 173)

Open the analogous palette in the generator

Split complementary

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

  • #2A5227

    #2A5227

    oklch(39.7% 0.083 142.4)

  • #493E6F

    #493E6F

    oklch(39.8% 0.081 292.6)

  • #68324B

    #68324B

    oklch(39.6% 0.083 352.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A5227

    #2A5227

    oklch(39.7% 0.083 142.4)

  • #2E4673

    #2E4673

    oklch(39.8% 0.082 262)

  • #6D3332

    #6D3332

    oklch(39.8% 0.083 22.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A5227

    #2A5227

    oklch(39.7% 0.083 142.4)

  • #004E6B

    #004E6B

    oklch(39.8% 0.081 231.9)

  • #5C3761

    #5C3761

    oklch(39.8% 0.082 322.6)

  • #693917

    #693917

    oklch(39.8% 0.082 53)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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