#2A5112

Closest named color: Navy Green (#35530A). oklch(39.2% 0.101 136), rgb(42, 81, 18).

Aa

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

About this color

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

Hue familyGreens
Lightnessdark (39%)
Chromamoderately saturated (0.101)
Temperaturein between
Nearest nameNavy Green (#35530A)
Black text2.28:1
White text9.19:1

Values

HEX#2A5112
RGBrgb(42, 81, 18)
HSLhsl(97, 64%, 19%)
OKLCHoklch(39.2% 0.101 136)

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 #2A5112 9.19:1 AAA Lc -95.3 Preferred for body text
Black text on #2A5112 2.28:1 Fails Lc 13.0 Not readable
#2A5112 text on white 9.19:1 AAA Lc 91.0 Preferred for body text
#2A5112 text on black 2.28:1 Fails Lc -11.4 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

    #F2F7F0

    oklch(97% 0.011 136.6)

  2. Step 100

    100

    #E3EDDF

    oklch(93.5% 0.021 136.6)

  3. Step 200

    200

    #CDE0C5

    oklch(88.5% 0.042 136.3)

  4. Step 300

    300

    #ABCC9C

    oklch(80.8% 0.075 136)

  5. Step 400

    400

    #7DB263

    oklch(70.7% 0.122 136)

  6. Step 500

    500

    #5B9E34

    oklch(63.2% 0.155 136)

  7. Step 600

    600

    #408700

    oklch(55.5% 0.165 136)

  8. Step 700

    700

    #357200

    oklch(49.1% 0.146 136)

  9. Step 800

    800

    #2A5D00

    oklch(42.6% 0.127 136)

  10. Step 900

    900 (this color)

    #2A5112

    oklch(39.2% 0.101 136)

  11. Step 950

    950

    #172D0A

    oklch(26.9% 0.064 135.8)

Export this scale for Tailwind in the Tailwind colors tool

#2A5112 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)#544A080.062
Deuteranopia (no green cones)#4F46180.064
Tritanopia (no blue cones)#284E450.073
Achromatopsia (no color)#4848480.102

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A5112

    #2A5112

    oklch(39.2% 0.101 136)

  • #5A3269

    #5A3269

    oklch(39.2% 0.1 316.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A5112

    #2A5112

    oklch(39.2% 0.101 136)

  • #4C4800

    #4C4800

    oklch(39.3% 0.084 106)

  • #00533B

    #00533B

    oklch(39.2% 0.082 165.7)

Open the analogous palette in the generator

Split complementary

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

  • #2A5112

    #2A5112

    oklch(39.2% 0.101 136)

  • #423B79

    #423B79

    oklch(39.2% 0.102 285.8)

  • #6A2B51

    #6A2B51

    oklch(39.1% 0.102 345.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A5112

    #2A5112

    oklch(39.2% 0.101 136)

  • #1C457A

    #1C457A

    oklch(39.1% 0.101 256.1)

  • #722A32

    #722A32

    oklch(39.2% 0.102 16.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A5112

    #2A5112

    oklch(39.2% 0.101 136)

  • #004D64

    #004D64

    oklch(39.1% 0.075 226.2)

  • #5A3269

    #5A3269

    oklch(39.2% 0.1 316.2)

  • #70300B

    #70300B

    oklch(39.2% 0.102 45.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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