#315D37

Closest named color: Pine (#2B5D34). oklch(43.6% 0.079 147.2), rgb(49, 93, 55).

Aa

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

About this color

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

Hue familyGreens
Lightnessdark (44%)
Chromamoderately saturated (0.079)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.75:1
White text7.63:1

Values

HEX#315D37
RGBrgb(49, 93, 55)
HSLhsl(128, 31%, 28%)
OKLCHoklch(43.6% 0.079 147.2)

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 #315D37 7.63:1 AAA Lc -91.2 Preferred for body text
Black text on #315D37 2.75:1 Fails Lc 17.6 Dividers and decoration only
#315D37 text on white 7.63:1 AAA Lc 86.4 Fine for body text
#315D37 text on black 2.75:1 Fails Lc -15.7 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

    #E4ECE5

    oklch(93.5% 0.013 149.2)

  3. Step 200

    200

    #CFDED0

    oklch(88.5% 0.025 147.3)

  4. Step 300

    300

    #AEC9B0

    oklch(80.9% 0.045 147.2)

  5. Step 400

    400

    #82AE86

    oklch(70.8% 0.075 147.1)

  6. Step 500

    500

    #619968

    oklch(63.1% 0.094 147.4)

  7. Step 600

    600

    #46834F

    oklch(55.5% 0.102 147.4)

  8. Step 700

    700

    #386F40

    oklch(49.1% 0.095 147.2)

  9. Step 800

    800 (this color)

    #315D37

    oklch(43.6% 0.079 147.2)

  10. Step 900

    900

    #2A4A2E

    oklch(37.6% 0.061 147.2)

  11. Step 950

    950

    #192C1B

    oklch(27.1% 0.04 146.9)

Export this scale for Tailwind in the Tailwind colors tool

#315D37 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)#5E56340.063
Deuteranopia (no green cones)#5852390.062
Tritanopia (no blue cones)#2A5B530.046
Achromatopsia (no color)#5454540.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #315D37

    #315D37

    oklch(43.6% 0.079 147.2)

  • #684168

    #684168

    oklch(43.5% 0.079 326.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #315D37

    #315D37

    oklch(43.6% 0.079 147.2)

  • #4E571F

    #4E571F

    oklch(43.6% 0.079 117.5)

  • #055F51

    #055F51

    oklch(43.5% 0.079 177.8)

Open the analogous palette in the generator

Split complementary

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

  • #315D37

    #315D37

    oklch(43.6% 0.079 147.2)

  • #564777

    #564777

    oklch(43.5% 0.079 297.4)

  • #733E52

    #733E52

    oklch(43.6% 0.078 356.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #315D37

    #315D37

    oklch(43.6% 0.079 147.2)

  • #3E4F7D

    #3E4F7D

    oklch(43.5% 0.079 267.7)

  • #773F39

    #773F39

    oklch(43.6% 0.079 27.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #315D37

    #315D37

    oklch(43.6% 0.079 147.2)

  • #1E5777

    #1E5777

    oklch(43.5% 0.079 237.3)

  • #684168

    #684168

    oklch(43.5% 0.079 326.8)

  • #724522

    #724522

    oklch(43.6% 0.079 56.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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