#2A4031

Closest named color: Onyx (#343A40). oklch(34.8% 0.038 154.2), rgb(42, 64, 49).

Aa

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

About this color

#2A4031 is a dark, muted green. In OKLCH its lightness is 35%, its chroma 0.038 and its hue 154°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Onyx (#343A40), ΔE 0.041 away. White text reads best on it, at 11.19:1.

Hue familyGreens
Lightnessdark (35%)
Chromamuted (0.038)
Temperaturein between
Nearest nameOnyx (#343A40)
Black text1.87:1
White text11.19:1

Values

HEX#2A4031
RGBrgb(42, 64, 49)
HSLhsl(139, 21%, 21%)
OKLCHoklch(34.8% 0.038 154.2)

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 #2A4031 11.19:1 AAA Lc -99.6 Preferred for body text
Black text on #2A4031 1.87:1 Fails Lc 8.1 Not readable
#2A4031 text on white 11.19:1 AAA Lc 95.8 Preferred for body text
#2A4031 text on black 1.87:1 Fails Lc 0.0 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

    #F3F6F4

    oklch(97% 0.004 157.2)

  2. Step 100

    100

    #E6EBE7

    oklch(93.5% 0.008 151.9)

  3. Step 200

    200

    #D1DCD4

    oklch(88.4% 0.016 154.4)

  4. Step 300

    300

    #B3C6B8

    oklch(80.8% 0.028 153.8)

  5. Step 400

    400

    #8BA994

    oklch(70.6% 0.045 154.6)

  6. Step 500

    500

    #6E947A

    oklch(63.1% 0.057 154.6)

  7. Step 600

    600

    #557F62

    oklch(55.7% 0.065 153.7)

  8. Step 700

    700

    #456B51

    oklch(49.1% 0.06 153.8)

  9. Step 800

    800

    #395743

    oklch(42.7% 0.049 154.6)

  10. Step 900

    900 (this color)

    #2A4031

    oklch(34.8% 0.038 154.2)

  11. Step 950

    950

    #1D2A21

    oklch(27% 0.024 154.3)

Export this scale for Tailwind in the Tailwind colors tool

#2A4031 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)#403D300.034
Deuteranopia (no green cones)#3C3A320.033
Tritanopia (no blue cones)#263F3C0.020
Achromatopsia (no color)#3B3B3B0.038

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A4031

    #2A4031

    oklch(34.8% 0.038 154.2)

  • #473342

    #473342

    oklch(34.9% 0.038 335.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A4031

    #2A4031

    oklch(34.8% 0.038 154.2)

  • #363E27

    #363E27

    oklch(35% 0.039 124)

  • #21413C

    #21413C

    oklch(34.9% 0.039 182.8)

Open the analogous palette in the generator

Split complementary

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

  • #2A4031

    #2A4031

    oklch(34.8% 0.038 154.2)

  • #3E354A

    #3E354A

    oklch(34.7% 0.038 304.1)

  • #4B3238

    #4B3238

    oklch(34.9% 0.037 3.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A4031

    #2A4031

    oklch(34.8% 0.038 154.2)

  • #34394E

    #34394E

    oklch(34.9% 0.037 274)

  • #4C332D

    #4C332D

    oklch(34.9% 0.038 34)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A4031

    #2A4031

    oklch(34.8% 0.038 154.2)

  • #293C4D

    #293C4D

    oklch(34.8% 0.039 246.2)

  • #473342

    #473342

    oklch(34.9% 0.038 335.6)

  • #483625

    #483625

    oklch(34.8% 0.038 64.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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