#2C5F1F

Closest named color: Pine (#2B5D34). oklch(43.5% 0.11 139.8), rgb(44, 95, 31).

Aa

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

About this color

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

Hue familyGreens
Lightnessdark (43%)
Chromamoderately saturated (0.110)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.76:1
White text7.59:1

Values

HEX#2C5F1F
RGBrgb(44, 95, 31)
HSLhsl(108, 51%, 25%)
OKLCHoklch(43.5% 0.11 139.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 #2C5F1F 7.59:1 AAA Lc -91.0 Preferred for body text
Black text on #2C5F1F 2.76:1 Fails Lc 17.8 Dividers and decoration only
#2C5F1F text on white 7.59:1 AAA Lc 86.2 Fine for body text
#2C5F1F text on black 2.76:1 Fails Lc -15.9 Dividers and decoration only

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

    #F2F7F1

    oklch(97.1% 0.01 140.5)

  2. Step 100

    100

    #E4EDE1

    oklch(93.6% 0.019 137.8)

  3. Step 200

    200

    #CDDFC9

    oklch(88.4% 0.035 140)

  4. Step 300

    300

    #ABCBA4

    oklch(80.8% 0.064 140)

  5. Step 400

    400

    #7EB072

    oklch(70.6% 0.102 139.6)

  6. Step 500

    500

    #5C9C4C

    oklch(63% 0.131 139.6)

  7. Step 600

    600

    #40862E

    oklch(55.5% 0.142 139.7)

  8. Step 700

    700

    #317220

    oklch(49.2% 0.133 139.8)

  9. Step 800

    800 (this color)

    #2C5F1F

    oklch(43.5% 0.11 139.8)

  10. Step 900

    900

    #274C1D

    oklch(37.7% 0.086 139.4)

  11. Step 950

    950

    #172D12

    oklch(27.1% 0.055 139.9)

Export this scale for Tailwind in the Tailwind colors tool

#2C5F1F 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)#6257170.074
Deuteranopia (no green cones)#5B52240.075
Tritanopia (no blue cones)#275C520.075
Achromatopsia (no color)#5454540.111

Harmonies

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

Complementary

The opposite hue (180°).

  • #2C5F1F

    #2C5F1F

    oklch(43.5% 0.11 139.8)

  • #6B3A76

    #6B3A76

    oklch(43.4% 0.11 320.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2C5F1F

    #2C5F1F

    oklch(43.5% 0.11 139.8)

  • #555500

    #555500

    oklch(43.5% 0.095 109.8)

  • #006049

    #006049

    oklch(43.5% 0.087 169.3)

Open the analogous palette in the generator

Split complementary

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

  • #2C5F1F

    #2C5F1F

    oklch(43.5% 0.11 139.8)

  • #514489

    #514489

    oklch(43.5% 0.111 289.7)

  • #7C345A

    #7C345A

    oklch(43.6% 0.11 349.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2C5F1F

    #2C5F1F

    oklch(43.5% 0.11 139.8)

  • #2A508D

    #2A508D

    oklch(43.6% 0.11 259.5)

  • #833337

    #833337

    oklch(43.5% 0.11 19.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2C5F1F

    #2C5F1F

    oklch(43.5% 0.11 139.8)

  • #005977

    #005977

    oklch(43.4% 0.086 229.8)

  • #6B3A76

    #6B3A76

    oklch(43.4% 0.11 320.1)

  • #7F3B09

    #7F3B09

    oklch(43.5% 0.11 49.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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