#2D5F2F

Closest named color: Pine (#2B5D34). oklch(43.8% 0.094 144.5), rgb(45, 95, 47).

Aa

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

About this color

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

Hue familyGreens
Lightnessdark (44%)
Chromamoderately saturated (0.094)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.78:1
White text7.52:1

Values

HEX#2D5F2F
RGBrgb(45, 95, 47)
HSLhsl(122, 36%, 27%)
OKLCHoklch(43.8% 0.094 144.5)

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 #2D5F2F 7.52:1 AAA Lc -90.8 Preferred for body text
Black text on #2D5F2F 2.78:1 Fails Lc 18.0 Dividers and decoration only
#2D5F2F text on white 7.52:1 AAA Lc 86.0 Fine for body text
#2D5F2F text on black 2.78:1 Fails Lc -16.1 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

    #F3F7F2

    oklch(97.2% 0.008 139.4)

  2. Step 100

    100

    #E4EDE3

    oklch(93.7% 0.016 142.6)

  3. Step 200

    200

    #CDDFCD

    oklch(88.5% 0.031 145.3)

  4. Step 300

    300

    #ACCAAB

    oklch(80.8% 0.054 144.2)

  5. Step 400

    400

    #7EAF7E

    oklch(70.6% 0.088 144.6)

  6. Step 500

    500

    #5C9B5D

    oklch(63.1% 0.112 144.4)

  7. Step 600

    600

    #408543

    oklch(55.5% 0.121 144.6)

  8. Step 700

    700

    #317135

    oklch(49.1% 0.113 144.8)

  9. Step 800

    800 (this color)

    #2D5F2F

    oklch(43.8% 0.094 144.5)

  10. Step 900

    900

    #274C28

    oklch(37.8% 0.073 144.5)

  11. Step 950

    950

    #172C18

    oklch(26.9% 0.045 145.2)

Export this scale for Tailwind in the Tailwind colors tool

#2D5F2F 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)#61572B0.072
Deuteranopia (no green cones)#5A53320.070
Tritanopia (no blue cones)#265D540.058
Achromatopsia (no color)#5454540.094

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D5F2F

    #2D5F2F

    oklch(43.8% 0.094 144.5)

  • #6B3E6E

    #6B3E6E

    oklch(43.7% 0.094 324.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D5F2F

    #2D5F2F

    oklch(43.8% 0.094 144.5)

  • #51570B

    #51570B

    oklch(43.7% 0.093 114.4)

  • #00604F

    #00604F

    oklch(43.7% 0.082 175.1)

Open the analogous palette in the generator

Split complementary

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

  • #2D5F2F

    #2D5F2F

    oklch(43.8% 0.094 144.5)

  • #564680

    #564680

    oklch(43.8% 0.094 294.9)

  • #793A55

    #793A55

    oklch(43.8% 0.094 354.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D5F2F

    #2D5F2F

    oklch(43.8% 0.094 144.5)

  • #385085

    #385085

    oklch(43.8% 0.093 264.5)

  • #7E3B37

    #7E3B37

    oklch(43.9% 0.094 25.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D5F2F

    #2D5F2F

    oklch(43.8% 0.094 144.5)

  • #00597D

    #00597D

    oklch(43.8% 0.092 234.7)

  • #6B3E6E

    #6B3E6E

    oklch(43.7% 0.094 324.8)

  • #794217

    #794217

    oklch(43.9% 0.094 54.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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