#315A32

Closest named color: Pine (#2B5D34). oklch(42.6% 0.08 144.5), rgb(49, 90, 50).

Aa

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

About this color

#315A32 is a dark, moderately saturated green. In OKLCH its lightness is 43%, its chroma 0.080 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.010 away. White text reads best on it, at 7.95:1.

Hue familyGreens
Lightnessdark (43%)
Chromamoderately saturated (0.080)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.63:1
White text7.95:1

Values

HEX#315A32
RGBrgb(49, 90, 50)
HSLhsl(121, 29%, 27%)
OKLCHoklch(42.6% 0.08 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 #315A32 7.95:1 AAA Lc -92.2 Preferred for body text
Black text on #315A32 2.63:1 Fails Lc 16.5 Dividers and decoration only
#315A32 text on white 7.95:1 AAA Lc 87.5 Fine for body text
#315A32 text on black 2.63:1 Fails Lc -14.7 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

    #F3F7F3

    oklch(97.2% 0.007 145.5)

  2. Step 100

    100

    #E5ECE4

    oklch(93.6% 0.013 141.8)

  3. Step 200

    200

    #CFDECF

    oklch(88.5% 0.026 145.4)

  4. Step 300

    300

    #AFC9AE

    oklch(80.9% 0.047 144.1)

  5. Step 400

    400

    #84AD84

    oklch(70.7% 0.074 144.7)

  6. Step 500

    500

    #649965

    oklch(63.2% 0.095 144.8)

  7. Step 600

    600

    #4A834B

    oklch(55.6% 0.104 144.4)

  8. Step 700

    700

    #3B6F3C

    oklch(49.2% 0.097 144.3)

  9. Step 800

    800 (this color)

    #315A32

    oklch(42.6% 0.08 144.5)

  10. Step 900

    900

    #2C4A2C

    oklch(37.7% 0.062 144.2)

  11. Step 950

    950

    #1A2C1A

    oklch(27.1% 0.04 144.4)

Export this scale for Tailwind in the Tailwind colors tool

#315A32 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)#5B532F0.060
Deuteranopia (no green cones)#564F340.061
Tritanopia (no blue cones)#2C58500.049
Achromatopsia (no color)#5151510.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #315A32

    #315A32

    oklch(42.6% 0.08 144.5)

  • #643F67

    #643F67

    oklch(42.6% 0.079 324.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #315A32

    #315A32

    oklch(42.6% 0.08 144.5)

  • #4E531A

    #4E531A

    oklch(42.5% 0.079 114)

  • #035D4C

    #035D4C

    oklch(42.7% 0.08 174.4)

Open the analogous palette in the generator

Split complementary

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

  • #315A32

    #315A32

    oklch(42.6% 0.08 144.5)

  • #524576

    #524576

    oklch(42.6% 0.081 295)

  • #703B51

    #703B51

    oklch(42.6% 0.079 354.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #315A32

    #315A32

    oklch(42.6% 0.08 144.5)

  • #394D7A

    #394D7A

    oklch(42.5% 0.079 265)

  • #743C39

    #743C39

    oklch(42.6% 0.079 24.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #315A32

    #315A32

    oklch(42.6% 0.08 144.5)

  • #165574

    #165574

    oklch(42.6% 0.08 235.1)

  • #643F67

    #643F67

    oklch(42.6% 0.079 324.2)

  • #704220

    #704220

    oklch(42.7% 0.08 55)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #315A32 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.