#2B540F

Closest named color: Navy Green (#35530A). oklch(40.1% 0.107 135.7), rgb(43, 84, 15).

Aa

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

About this color

#2B540F is a dark, moderately saturated green. In OKLCH its lightness is 40%, its chroma 0.107 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.011 away. White text reads best on it, at 8.83:1.

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

Values

HEX#2B540F
RGBrgb(43, 84, 15)
HSLhsl(96, 70%, 19%)
OKLCHoklch(40.1% 0.107 135.7)

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 #2B540F 8.83:1 AAA Lc -94.4 Preferred for body text
Black text on #2B540F 2.37:1 Fails Lc 14.0 Not readable
#2B540F text on white 8.83:1 AAA Lc 90.0 Fine for body text
#2B540F text on black 2.37:1 Fails Lc -12.3 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

    #E3EEDE

    oklch(93.6% 0.024 135.7)

  3. Step 200

    200

    #CCE0C3

    oklch(88.4% 0.045 135.9)

  4. Step 300

    300

    #AACD99

    oklch(80.9% 0.08 135.6)

  5. Step 400

    400

    #7BB25F

    oklch(70.6% 0.128 135.9)

  6. Step 500

    500

    #589E2A

    oklch(63% 0.164 135.7)

  7. Step 600

    600

    #428700

    oklch(55.6% 0.164 135.6)

  8. Step 700

    700

    #367200

    oklch(49.2% 0.146 135.8)

  9. Step 800

    800

    #2B5D00

    oklch(42.6% 0.126 135.7)

  10. Step 900

    900 (this color)

    #2B540F

    oklch(40.1% 0.107 135.7)

  11. Step 950

    950

    #162D08

    oklch(26.9% 0.067 135.8)

Export this scale for Tailwind in the Tailwind colors tool

#2B540F 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)#574C020.065
Deuteranopia (no green cones)#5249160.066
Tritanopia (no blue cones)#2A51470.076
Achromatopsia (no color)#4A4A4A0.107

Harmonies

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

Complementary

The opposite hue (180°).

  • #2B540F

    #2B540F

    oklch(40.1% 0.107 135.7)

  • #5E336E

    #5E336E

    oklch(40.1% 0.107 316.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2B540F

    #2B540F

    oklch(40.1% 0.107 135.7)

  • #4E4A00

    #4E4A00

    oklch(40% 0.085 106.1)

  • #00563D

    #00563D

    oklch(40.2% 0.084 165.5)

Open the analogous palette in the generator

Split complementary

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

  • #2B540F

    #2B540F

    oklch(40.1% 0.107 135.7)

  • #443D7E

    #443D7E

    oklch(40.1% 0.106 285.5)

  • #6F2C54

    #6F2C54

    oklch(40.2% 0.107 346.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2B540F

    #2B540F

    oklch(40.1% 0.107 135.7)

  • #1A4880

    #1A4880

    oklch(40.2% 0.107 255.3)

  • #772A34

    #772A34

    oklch(40.1% 0.108 15.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2B540F

    #2B540F

    oklch(40.1% 0.107 135.7)

  • #005067

    #005067

    oklch(40.1% 0.076 225.4)

  • #5E336E

    #5E336E

    oklch(40.1% 0.107 316.2)

  • #753108

    #753108

    oklch(40.2% 0.107 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 #2B540F, closest first.

Similar named colors

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

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