#315D34

Closest named color: Pine (#2B5D34). oklch(43.5% 0.082 145.4), rgb(49, 93, 52).

Aa

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

About this color

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

Hue familyGreens
Lightnessdark (43%)
Chromamoderately saturated (0.082)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.74:1
White text7.64:1

Values

HEX#315D34
RGBrgb(49, 93, 52)
HSLhsl(124, 31%, 28%)
OKLCHoklch(43.5% 0.082 145.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 #315D34 7.64:1 AAA Lc -91.2 Preferred for body text
Black text on #315D34 2.74:1 Fails Lc 17.6 Dividers and decoration only
#315D34 text on white 7.64:1 AAA Lc 86.4 Fine for body text
#315D34 text on black 2.74:1 Fails Lc -15.6 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

    #F3F7F3

    oklch(97.2% 0.007 145.5)

  2. Step 100

    100

    #E4ECE4

    oklch(93.5% 0.014 145.5)

  3. Step 200

    200

    #CFDECF

    oklch(88.5% 0.026 145.4)

  4. Step 300

    300

    #AEC9AE

    oklch(80.8% 0.047 145.1)

  5. Step 400

    400

    #82AE83

    oklch(70.7% 0.078 145.3)

  6. Step 500

    500

    #619964

    oklch(63% 0.098 145.5)

  7. Step 600

    600

    #47844B

    oklch(55.7% 0.107 145.3)

  8. Step 700

    700

    #386F3C

    oklch(49% 0.099 145.4)

  9. Step 800

    800 (this color)

    #315D34

    oklch(43.5% 0.082 145.4)

  10. Step 900

    900

    #2A4B2C

    oklch(37.8% 0.065 145.5)

  11. Step 950

    950

    #192C1A

    oklch(27.1% 0.041 145.5)

Export this scale for Tailwind in the Tailwind colors tool

#315D34 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)#5E56310.063
Deuteranopia (no green cones)#5852370.063
Tritanopia (no blue cones)#2B5B530.050
Achromatopsia (no color)#5353530.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #315D34

    #315D34

    oklch(43.5% 0.082 145.4)

  • #68406A

    #68406A

    oklch(43.5% 0.083 325.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #315D34

    #315D34

    oklch(43.5% 0.082 145.4)

  • #4F561A

    #4F561A

    oklch(43.4% 0.082 115.6)

  • #005F4F

    #005F4F

    oklch(43.4% 0.081 175.9)

Open the analogous palette in the generator

Split complementary

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

  • #315D34

    #315D34

    oklch(43.5% 0.082 145.4)

  • #554779

    #554779

    oklch(43.5% 0.082 295.7)

  • #743D53

    #743D53

    oklch(43.6% 0.081 355.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #315D34

    #315D34

    oklch(43.5% 0.082 145.4)

  • #3B4F7F

    #3B4F7F

    oklch(43.4% 0.084 265.9)

  • #783E39

    #783E39

    oklch(43.5% 0.082 26.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #315D34

    #315D34

    oklch(43.5% 0.082 145.4)

  • #165878

    #165878

    oklch(43.6% 0.082 234.9)

  • #68406A

    #68406A

    oklch(43.5% 0.083 325.2)

  • #734420

    #734420

    oklch(43.5% 0.082 55.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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