#2C5A27

Closest named color: Pine (#2B5D34). oklch(42.2% 0.095 141.8), rgb(44, 90, 39).

Aa

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

About this color

#2C5A27 is a dark, moderately saturated green. In OKLCH its lightness is 42%, its chroma 0.095 and its hue 142°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pine (#2B5D34), ΔE 0.017 away. White text reads best on it, at 8.08:1.

Hue familyGreens
Lightnessdark (42%)
Chromamoderately saturated (0.095)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.59:1
White text8.08:1

Values

HEX#2C5A27
RGBrgb(44, 90, 39)
HSLhsl(114, 40%, 25%)
OKLCHoklch(42.2% 0.095 141.8)

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 #2C5A27 8.08:1 AAA Lc -92.5 Preferred for body text
Black text on #2C5A27 2.59:1 Fails Lc 16.2 Dividers and decoration only
#2C5A27 text on white 8.08:1 AAA Lc 87.8 Fine for body text
#2C5A27 text on black 2.59:1 Fails Lc -14.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 800.

  1. Step 50

    50

    #F3F7F2

    oklch(97.2% 0.008 139.4)

  2. Step 100

    100

    #E4EDE3

    oklch(93.7% 0.016 142.6)

  3. Step 200

    200

    #CEDFCC

    oklch(88.6% 0.031 142.3)

  4. Step 300

    300

    #ADCAA9

    oklch(80.8% 0.055 141.7)

  5. Step 400

    400

    #81AF7B

    oklch(70.7% 0.089 141.7)

  6. Step 500

    500

    #609B59

    oklch(63.2% 0.114 141.8)

  7. Step 600

    600

    #45853E

    oklch(55.7% 0.123 141.8)

  8. Step 700

    700

    #367030

    oklch(49% 0.114 141.9)

  9. Step 800

    800 (this color)

    #2C5A27

    oklch(42.2% 0.095 141.8)

  10. Step 900

    900

    #294B25

    oklch(37.6% 0.074 141.7)

  11. Step 950

    950

    #192C16

    oklch(27% 0.047 141.1)

Export this scale for Tailwind in the Tailwind colors tool

#2C5A27 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)#5C52220.068
Deuteranopia (no green cones)#564E2B0.068
Tritanopia (no blue cones)#27574E0.061
Achromatopsia (no color)#5050500.095

Harmonies

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

Complementary

The opposite hue (180°).

  • #2C5A27

    #2C5A27

    oklch(42.2% 0.095 141.8)

  • #653A6C

    #653A6C

    oklch(42.1% 0.095 321.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2C5A27

    #2C5A27

    oklch(42.2% 0.095 141.8)

  • #4F5200

    #4F5200

    oklch(42.2% 0.093 112.2)

  • #005C48

    #005C48

    oklch(42.3% 0.082 171.4)

Open the analogous palette in the generator

Split complementary

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

  • #2C5A27

    #2C5A27

    oklch(42.2% 0.095 141.8)

  • #4F427D

    #4F427D

    oklch(42.1% 0.096 291.9)

  • #733553

    #733553

    oklch(42.1% 0.095 351.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2C5A27

    #2C5A27

    oklch(42.2% 0.095 141.8)

  • #304C81

    #304C81

    oklch(42.2% 0.095 262.1)

  • #793536

    #793536

    oklch(42.1% 0.095 21.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2C5A27

    #2C5A27

    oklch(42.2% 0.095 141.8)

  • #005574

    #005574

    oklch(42.2% 0.086 231.7)

  • #653A6C

    #653A6C

    oklch(42.1% 0.095 321.8)

  • #753C14

    #753C14

    oklch(42.2% 0.095 51.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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