#2C5104

Closest named color: Navy Green (#35530A). oklch(39.2% 0.108 133.4), rgb(44, 81, 4).

Aa

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

About this color

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

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

Values

HEX#2C5104
RGBrgb(44, 81, 4)
HSLhsl(89, 91%, 17%)
OKLCHoklch(39.2% 0.108 133.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 #2C5104 9.18:1 AAA Lc -95.3 Preferred for body text
Black text on #2C5104 2.28:1 Fails Lc 13.0 Not readable
#2C5104 text on white 9.18:1 AAA Lc 90.9 Preferred for body text
#2C5104 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

    #F3F7F0

    oklch(97.1% 0.01 131.4)

  2. Step 100

    100

    #E4EEDE

    oklch(93.7% 0.024 133.5)

  3. Step 200

    200

    #CDE0C2

    oklch(88.4% 0.045 133.9)

  4. Step 300

    300

    #ACCD97

    oklch(81% 0.082 133.6)

  5. Step 400

    400

    #7FB25A

    oklch(70.7% 0.131 133.5)

  6. Step 500

    500

    #5E9E1F

    oklch(63.2% 0.167 133.4)

  7. Step 600

    600

    #4A8600

    oklch(55.7% 0.159 133.6)

  8. Step 700

    700

    #3E7000

    oklch(49% 0.139 133.3)

  9. Step 800

    800

    #325C00

    oklch(42.7% 0.121 133.3)

  10. Step 900

    900 (this color)

    #2C5104

    oklch(39.2% 0.108 133.4)

  11. Step 950

    950

    #182D05

    oklch(26.9% 0.069 133.2)

Export this scale for Tailwind in the Tailwind colors tool

#2C5104 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)#554A000.063
Deuteranopia (no green cones)#50470E0.062
Tritanopia (no blue cones)#2C4D440.082
Achromatopsia (no color)#4848480.109

Harmonies

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

Complementary

The opposite hue (180°).

  • #2C5104

    #2C5104

    oklch(39.2% 0.108 133.4)

  • #5A316E

    #5A316E

    oklch(39.3% 0.108 313.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2C5104

    #2C5104

    oklch(39.2% 0.108 133.4)

  • #4E4700

    #4E4700

    oklch(39.3% 0.083 103.1)

  • #005339

    #005339

    oklch(39.1% 0.084 163.9)

Open the analogous palette in the generator

Split complementary

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

  • #2C5104

    #2C5104

    oklch(39.2% 0.108 133.4)

  • #3F3B7D

    #3F3B7D

    oklch(39.2% 0.108 282.9)

  • #6B2954

    #6B2954

    oklch(39.1% 0.108 343.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2C5104

    #2C5104

    oklch(39.2% 0.108 133.4)

  • #11467D

    #11467D

    oklch(39.2% 0.107 253.2)

  • #742734

    #742734

    oklch(39.2% 0.108 13.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2C5104

    #2C5104

    oklch(39.2% 0.108 133.4)

  • #004D62

    #004D62

    oklch(39% 0.073 223.9)

  • #5A316E

    #5A316E

    oklch(39.3% 0.108 313.5)

  • #732D08

    #732D08

    oklch(39.2% 0.109 43.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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