#2A4012

Closest named color: Dark Olive (#373E02). oklch(34.2% 0.075 131.1), rgb(42, 64, 18).

Aa

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

About this color

#2A4012 is a dark, moderately saturated green. In OKLCH its lightness is 34%, its chroma 0.075 and its hue 131°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Olive (#373E02), ΔE 0.020 away. White text reads best on it, at 11.40:1.

Hue familyGreens
Lightnessdark (34%)
Chromamoderately saturated (0.075)
Temperaturein between
Nearest nameDark Olive (#373E02)
Black text1.84:1
White text11.40:1

Values

HEX#2A4012
RGBrgb(42, 64, 18)
HSLhsl(89, 56%, 16%)
OKLCHoklch(34.2% 0.075 131.1)

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 #2A4012 11.40:1 AAA Lc -99.9 Preferred for body text
Black text on #2A4012 1.84:1 Fails Lc 7.7 Not readable
#2A4012 text on white 11.40:1 AAA Lc 96.2 Preferred for body text
#2A4012 text on black 1.84: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

    #F4F7F1

    oklch(97.2% 0.009 128.6)

  2. Step 100

    100

    #E6ECE1

    oklch(93.5% 0.016 130.4)

  3. Step 200

    200

    #D2DEC8

    oklch(88.5% 0.032 130.6)

  4. Step 300

    300

    #B4C9A3

    oklch(81% 0.057 131.2)

  5. Step 400

    400

    #8DAC70

    oklch(70.6% 0.09 130.6)

  6. Step 500

    500

    #70984A

    oklch(63.2% 0.116 131.4)

  7. Step 600

    600

    #58822A

    oklch(55.7% 0.126 131.3)

  8. Step 700

    700

    #486E1C

    oklch(49.2% 0.118 131.3)

  9. Step 800

    800

    #3B591A

    oklch(42.6% 0.097 131.3)

  10. Step 900

    900 (this color)

    #2A4012

    oklch(34.2% 0.075 131.1)

  11. Step 950

    950

    #1E2B11

    oklch(27% 0.048 130.8)

Export this scale for Tailwind in the Tailwind colors tool

#2A4012 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)#433B0C0.041
Deuteranopia (no green cones)#4039160.042
Tritanopia (no blue cones)#2B3D360.057
Achromatopsia (no color)#3A3A3A0.076

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A4012

    #2A4012

    oklch(34.2% 0.075 131.1)

  • #452C55

    #452C55

    oklch(34.2% 0.076 311.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A4012

    #2A4012

    oklch(34.2% 0.075 131.1)

  • #403900

    #403900

    oklch(34.1% 0.071 101.7)

  • #01442B

    #01442B

    oklch(34.2% 0.076 160.8)

Open the analogous palette in the generator

Split complementary

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

  • #2A4012

    #2A4012

    oklch(34.2% 0.075 131.1)

  • #32335E

    #32335E

    oklch(34.2% 0.074 280.7)

  • #522744

    #522744

    oklch(34.2% 0.076 341)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A4012

    #2A4012

    oklch(34.2% 0.075 131.1)

  • #163A5E

    #163A5E

    oklch(34.2% 0.076 251)

  • #58262E

    #58262E

    oklch(34.1% 0.074 11.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A4012

    #2A4012

    oklch(34.2% 0.075 131.1)

  • #003F4F

    #003F4F

    oklch(34.1% 0.063 221.5)

  • #452C55

    #452C55

    oklch(34.2% 0.076 311.1)

  • #582917

    #582917

    oklch(34.1% 0.075 41)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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