#2B4012

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

Aa

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

About this color

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

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

Values

HEX#2B4012
RGBrgb(43, 64, 18)
HSLhsl(87, 56%, 16%)
OKLCHoklch(34.2% 0.075 130.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 #2B4012 11.38:1 AAA Lc -99.9 Preferred for body text
Black text on #2B4012 1.84:1 Fails Lc 7.7 Not readable
#2B4012 text on white 11.38:1 AAA Lc 96.1 Preferred for body text
#2B4012 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

    #F4F6F1

    oklch(97% 0.007 124.4)

  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

    #B4C8A3

    oklch(80.8% 0.055 130.8)

  5. Step 400

    400

    #8EAC70

    oklch(70.7% 0.09 130)

  6. Step 500

    500

    #729749

    oklch(63.1% 0.114 130.1)

  7. Step 600

    600

    #5A812A

    oklch(55.5% 0.124 130.3)

  8. Step 700

    700

    #4A6D1C

    oklch(49.1% 0.115 130.2)

  9. Step 800

    800

    #3D591A

    oklch(42.7% 0.096 130.1)

  10. Step 900

    900 (this color)

    #2B4012

    oklch(34.2% 0.075 130.4)

  11. Step 950

    950

    #1E2B11

    oklch(27% 0.048 130.8)

Export this scale for Tailwind in the Tailwind colors tool

#2B4012 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.040
Deuteranopia (no green cones)#4039160.041
Tritanopia (no blue cones)#2C3D360.057
Achromatopsia (no color)#3A3A3A0.075

Harmonies

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

Complementary

The opposite hue (180°).

  • #2B4012

    #2B4012

    oklch(34.2% 0.075 130.4)

  • #452C55

    #452C55

    oklch(34.2% 0.076 311.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2B4012

    #2B4012

    oklch(34.2% 0.075 130.4)

  • #413900

    #413900

    oklch(34.2% 0.071 100.6)

  • #04442B

    #04442B

    oklch(34.2% 0.075 160.3)

Open the analogous palette in the generator

Split complementary

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

  • #2B4012

    #2B4012

    oklch(34.2% 0.075 130.4)

  • #32335E

    #32335E

    oklch(34.2% 0.074 280.7)

  • #522844

    #522844

    oklch(34.4% 0.074 341.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2B4012

    #2B4012

    oklch(34.2% 0.075 130.4)

  • #163A5E

    #163A5E

    oklch(34.2% 0.076 251)

  • #58262F

    #58262F

    oklch(34.2% 0.074 10.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2B4012

    #2B4012

    oklch(34.2% 0.075 130.4)

  • #00404F

    #00404F

    oklch(34.4% 0.062 219.7)

  • #452C55

    #452C55

    oklch(34.2% 0.076 311.1)

  • #582918

    #582918

    oklch(34.2% 0.075 40.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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